Exim4

From FVue
Jump to: navigation, search

Environment

  • Debian 4.0
  • Ubuntu 6.10

Procedures

Fetchmail now

How can I fetch mail immediate, and don't wait for the fetchmail-deamon-10-minute-interval to pass?

Ubuntu

sudo /etc/init.d/fetchmail awaken

SuSE

rcfetchmail stop
fetchmail -f /etc/fetchmailrc
rcfetchmail start

Test

  • Local mail should be delivered
mail -s 'Test' me
  • Remote mail should be delivered
/usr/sbin/sendmail -bv me@myisp

See also

Single user email in Debian
Concise page describing how to setup fetchmail, mutt, vim, etc.

Journal

Archive

Mail Journal Archive (SuSE)

20070214

Switched to Debian.

20070216

Problem: local e-mail was routed to my ISP, e.g. root@isp.com.
Solution: during dpkg-reconfigure exim4-config - step "System mail name", specified local domain instead of ISP domain.

20070218

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.

20070228

Mail gets returned:

SMTP error from remote mailer after RCPT TO:<me@isp.nl>:
host smtp.isp.nl [193.252.22.234]: 553 <local_user@hostname.local_domain>:
Sender address rejected: Domain not found

Hide local name in outgoing mail? Visible domain name for local users: isp.nl

20070511

Problem: From-address in sent mail is `local_user@isp.nl', but should be `isp_user@isp.nl'.

Solution: Specify translation in /etc/email-addresses. Example: #user: someone@isp.com

20070603

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'.

20090604

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

Comments

blog comments powered by Disqus