[Pkg-exim4-users] Pkg-exim4-users Digest, Vol 38, Issue 6

Bruno CAPELETO bruno.capeleto at free.fr
Tue Sep 23 12:11:36 UTC 2008


For you information, I am using fetchmail and exim + spamassassin at the 
ACL time without any problem : fetchmail perfectly bounces the message 
the sender...

pkg-exim4-users-request at lists.alioth.debian.org a écrit :
> Send Pkg-exim4-users mailing list submissions to
> 	pkg-exim4-users at lists.alioth.debian.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users
> or, via email, send a message with subject or body 'help' to
> 	pkg-exim4-users-request at lists.alioth.debian.org
>
> You can reach the person managing the list at
> 	pkg-exim4-users-owner at lists.alioth.debian.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Pkg-exim4-users digest..."
>
>
> Today's Topics:
>
>    1. Re: Bounces, errors and how to configure it
>       (Leopold Palomo Avellaneda)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 22 Sep 2008 21:10:44 +0200
> From: Leopold Palomo Avellaneda <leo at alaxarxa.net>
> Subject: Re: [Pkg-exim4-users] Bounces, errors and how to configure it
> To: pkg-exim4-users at lists.alioth.debian.org
> Message-ID: <200809222110.47834.leo at alaxarxa.net>
> Content-Type: text/plain; charset="utf-8"
>
> A Dilluns 22 Setembre 2008, Andreas Metzler va escriure:
>   
>> 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'm running spamassassin in the transport part (I guess ..) I have a:
> /etc/exim4/conf.d/transport/30_exim4-config_spamcheck file with:
>
> spamcheck:
>   debug_print = "T: spamassassin_pipe for $local_part@$domain"
>   driver = pipe
>   command = /usr/sbin/exim4 -oMr spam-scanned -bS -d+transport
>   use_bsmtp
>   transport_filter = /usr/bin/spamc #-u ${local_part}
>   home_directory = "/tmp"
>   current_directory = "/tmp"
>   user = Debian-exim
>   group = Debian-exim
>   return_fail_output
>   message_prefix =
>   message_suffix =
>   temp_errors = *
>
> and a:
> /etc/exim4/conf.d/router/850_exim4-config_spamcheck_router
>
> with:
> spamcheck_router:
>   no_verify
>   check_local_user
>   # When to scan a message :
>   #   -   it isn't already flagged as spam
>   #   -   it isn't already scanned
>   condition = "${if and { {!def:h_X-Spam-Flag:} {!eq {$received_protocol}
> {spam-scanned}}} {1}{0}}"
>   driver = accept
>   transport = spamcheck
>
>
>   
>>> I would like that the bounce or the errors goes to my
>>> postmaster at localhost.
>>>       
>> The bounce is always sent to the (envelope sender).
>> [...]
>>     
>
> Not sure, or I don't know what's happen. The sender is fetchmail.
>
>   
>>> 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.
>>     
>
> I don't have this file /etc/exim4/exim4.conf.localmacros ... ?
>
>   
>> b) directly edit the dpkg-conffile /etc/exim4/exim4.conf.template (or
>> the split up version) otherwise.
>>     
>
> Ok,
>
>   
>> 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.
>>     
>
> Thanks,
>
> I will try to monitorize some days to try to find something about it.
>
> Regards,
>
> Leo
>
>
>
>
>
>   





More information about the Pkg-exim4-users mailing list