- Debian 4.0
- Ubuntu 6.10
How can I fetch mail immediate, and don't wait for the fetchmail-deamon-10-minute-interval to pass?
sudo /etc/init.d/fetchmail awaken
rcfetchmail stop fetchmail -f /etc/fetchmailrc rcfetchmail start
- Local mail should be delivered
mail -s 'Test' me
- Remote mail should be delivered
/usr/sbin/sendmail -bv me@myisp
- Single user email in Debian
- Concise page describing how to setup fetchmail, mutt, vim, etc.
Switched to Debian.
Problem: local e-mail was routed to my ISP, e.g. email@example.com.
dpkg-reconfigure exim4-config - step "System mail name", specified local domain instead of ISP domain.
I configured fetchmail as a cron job with a ~/.fetchmailrc, but I see there is a ./init.d/fetchmail script as well which requires an /etc/fetchmailrc.
Mail gets returned:
SMTP error from remote mailer after RCPT TO:<firstname.lastname@example.org>: host smtp.isp.nl [184.108.40.206]: 553 <email@example.com_domain>: Sender address rejected: Domain not found
Hide local name in outgoing mail? Visible domain name for local users: isp.nl
Problem: From-address in sent mail is `firstname.lastname@example.org', but should be `email@example.com'.
Solution: Specify translation in /etc/email-addresses. Example:
Installed mutt on workstation. Selected `no configuration' for postfix:
Postfix was not set up. Start with cp /usr/share/postfix/main.cf.debian /etc/postfix/main.cf . If you need to make changes, edit /etc/postfix/main.cf (and others) as needed. To view Postfix configuration values, see postconf(1). After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.
Mail wasn't send via my ISP's relayhost. Configuration in /etc/exim4/update-exim4.conf.conf was:
< dc_readhost='example.com' < dc_smarthost='mail.example.com'
Changing this resulted in:
> dc_readhost='isp.com' > dc_smarthost='mail.isp.com' # update-exim4.conf # less /var/log/exim4/mainlog lookup of host "mail.ziggo.nl" failed in smarthost router > dc_smarthost='smtp.isp.com' # update-exim4.conf # less /var/log/exim4/mainlog host lookup for smtp.ziggo.nl did not complete (DNS timeout?) > dc_smarthost='[smtp.isp.com]' # update-exim4.conf # less /var/log/exim4/mainloglookup of host "[smtp.ziggo.nl]" failed in smarthost router > dc_smarthost='xxx.xxx.xxx.xxx' # update-exim4.conf # less /var/log/exim4/mainlog Completed