[Pkg-exim4-users] Bounces, errors and how to configure it

Andreas Metzler ametzler at downhill.at.eu.org
Mon Sep 22 18:23:37 UTC 2008


Leopold Palomo Avellaneda <leo at alaxarxa.net> wrote:
[...]
> I have a problem with my exim configuration and I really don't know
> how to solve it. I have a little network at home with a old box
> acting as a mail server. This box is running a etch.

> My mail server, use another box (from a friend) as a smtp, because
> my ISP doesn't have a good smtp server and in many places doesn't
> accept mails from dynamic IPs.

> The mail server recollect the mail from me and my wife using
> fetchmail and delivers it to exim who pass it to spanassassin. My
> configuration works in general, but some times I got some troubles
> and I don't know how to solve it.

> For example, if spamassassin is too busy, then, fetchmail couldn't
> delivery the mail, so, generate a bounce that is sent to the smtp of
> my friend, and I don't want it.

I assume you are running spamassassin at SMTP time (using the spam
=... ACLs)? This looks like the wrong thing to do in your use case
since you *never* want to reject mail at SMTP time because this would
only upset fetchmail.

Running spamassassin when delivering or as a transport filter should
work better, in that case fetchmail does not need to wait (timeout)
for spamassassin to run.

> I would like that the bounce or the errors goes to my 
> postmaster at localhost.

The bounce is always sent to the (envelope sender).
[...]
> Also, I'm very comfortable with the debian way of do the things. 
> But, with exim, I doesn't understand how they work.

> The idea is to modify the update-exim4.conf.conf and after run
> update-exim4.conf, no? And how can I incorporate options not in the
> dc_XXX vars?

The idea is to
a) edit /etc/exim4/exim4.conf.localmacros
for stuff whith predifined hooks, e.g. to override trusted_users =
uucp by defing MAIN_TRUSTED_USERS.

b) directly edit the dpkg-conffile /etc/exim4/exim4.conf.template (or
the split up version) otherwise.

Of course there is a point where it is better and simpler to ignore
the Debian configuration and simply manually build a
/etc/exim4/exim4.conf.
cu andreas

-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'




More information about the Pkg-exim4-users mailing list