Re: [Exim] Reducing number of Exim processes

Góra strony
Delete this message
Reply to this message
Autor: Nico Erfurth
Data:  
Dla: exim-users
CC: Greg Ward
Temat: Re: [Exim] Reducing number of Exim processes
Nico Erfurth wrote:
> Greg Ward wrote:
>
>> Unfortunately Mailman 2.0.x prefers to submit messages via SMTP to
>> localhost. (It has code to open a pipe to /usr/sbin/sendmail, but it's
>> insecure because it uses popen() rather than pipe()/fork()/exec(), so
>> its use is strongly discouraged.)
>
> Right, i forgot, but this would make things MUCH better (i think). *SIGH*
>
> How about using some black magic with queue_smtp_domains?
>
> like
> queue_smtp_domains = ${if eq {127.0.0.1}{$interface_address}{*}{}}

Just tested it, and seems to work, but maybe something like this is
better for your needs, if you have MANY mails from localhost, that not
belong to mailman

queue_smtp_domains = ${if def:h_X-Mailman-Version: {*}{}}

or maybe a combination of both ....

queue_smtp_domains = ${if and {\
                {eq {127.0.0.1}{$interface_address}}\
                {def:h_X-Mailman-Version:}\
                  }\
             }


try it, and see what fits your need best, and think about
split_spool_directory, if you use heavy queueing ;)

ciao