Mark Martinec wrote:
> Kevin,
>
>   
>> Amavisd-new is set up and running OK with Postfix on a Debian box
>>
>> In my postqueue I'm getting
>> /conversation with 127.0.0.1 timed out while receiving the initial
>> server greeting/ on some messages.
>>
>> Now I know this is something to do with the max number of connections -
>> but max_servers has not been set in any conf file for amavis - so this
>> should default to 2 - and the master.cf file for postfix seems to be set
>> correctly - I'll paste the master.cf at the end of this email.
>>
>> smtp-amavis unix -    -    -    -    2  smtp
>>    -o smtp_data_done_timeout=1200
>>    -o smtp_send_xforward_command=yes
>>    -o disable_dns_lookups=yes
>>    -o max_use=20
>>     
>
> Your reasoning is indeed the most likely cause, although what you are
> showing looks alright. Do you see anything special in the amavis log?
> Does amavisd-nanny report two healthy busy child processes?
>
>   

I get
jawa:/etc/amavis# amavisd-nanny

PID 05292:               0:01:40 .........:.........:.........:.....>

PID 05292:               0:01:42 .........:.........:.........:.....>

PID 05292:               0:01:44 .........:.........:.........:.....>

PID 05292:               0:01:46 .........:.........:.........:.....>

PID 05292:               0:01:48 .........:.........:.........:.....>

PID 05292:               0:01:50 .........:.........:.........:.....>


Currently - which I presume is correct for a quiet box.

Since I did

#$sa_mail_body_size_limit = 200*1024;
$sa_mail_body_size_limit = 32*1024;

# Make sure this is matched in /etc/postfix/master.cf.
$max_servers  =  1;   # number of pre-forked children          (default 
2), -m
$max_requests = 5;   # retire a child after that many accepts (default 10)

$sa_local_tests_only = 1;

things have been much better.

Kev


>   Mark
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> AMaViS-user mailing list
> [email protected] 
> https://lists.sourceforge.net/lists/listinfo/amavis-user 
>  AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
>  AMaViS-HowTos:http://www.amavis.org/howto/ 
>
>   

-- 
*Kevin Bailey*
Director/Programmer - Freeway Projects Limited
Web: www.freewayprojects.com <http://www.freewayprojects.com/>
Email: [email protected] <mailto:[email protected]>
Phone: +44 (0)1752 267090
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
AMaViS-user mailing list
[email protected] 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to