From: "Sasa" on
Hi, I have a smtp/pop3 public mail server, this server is in production
enviroment form 3/4 years nobody problems but from two days I have sometimes
that smtpd not responding and I have this error::

2B85826A5B3 8913 Tue Mar 16 16:41:11 listbounces2(a)domain.eu (delivery
temporarily suspended: conversation with 127.0.0.1[127.0.0.1] timed out
while receiving the initial server greeting) xyz(a)domain.biz

and all mails keep in queue.
Then I must restart postfix and amavis services and after the mail are
delivered.
This problem can be generated by a few hardware resources available or can
be a problem caused from postfix or amavis ?
I use:
postfix-2.5.6-1

Thanks.

------

Salvatore.

From: "Sasa" on
I can this errore in log:

Mar 17 11:47:36 mail postfix/smtp[7690]: 77F5726A1E9:
to=<filippo(a)domain.biz>, orig_to=<filippo(a)domain.biz>,
relay=127.0.0.1[127.0.0.1]:10024, delay=1868, delays=0.36/1568/300/0,
dsn=4.4.2, status=deferred (conversation with 127.0.0.1[127.0.0.1] timed out
while receiving the initial server greeting)

I use amavisd-new, if I restart only amavisd service the status not change
but if restarted amavisd & postfix services aftert this the mail are
delivered but then after 1/2 hours the problem is still present.
Thanks.

------

Salvatore.


----- Original Message -----
From: "Sasa" <sasa(a)shoponweb.it>
To: <postfix-users(a)postfix.org>
Sent: Wednesday, March 17, 2010 11:45 AM
Subject: delivery temporarily suspended


> Hi, I have a smtp/pop3 public mail server, this server is in production
> enviroment form 3/4 years nobody problems but from two days I have
> sometimes that smtpd not responding and I have this error::
>
> 2B85826A5B3 8913 Tue Mar 16 16:41:11 listbounces2(a)domain.eu (delivery
> temporarily suspended: conversation with 127.0.0.1[127.0.0.1] timed out
> while receiving the initial server greeting) xyz(a)domain.biz
>
> and all mails keep in queue.
> Then I must restart postfix and amavis services and after the mail are
> delivered.
> This problem can be generated by a few hardware resources available or can
> be a problem caused from postfix or amavis ?
> I use:
> postfix-2.5.6-1
>
> Thanks.
>
> ------
>
> Salvatore.
>
>
>

From: Wietse Venema on
Sasa:
> I can this errore in log:
>
> Mar 17 11:47:36 mail postfix/smtp[7690]: 77F5726A1E9:
> to=<filippo(a)domain.biz>, orig_to=<filippo(a)domain.biz>,
> relay=127.0.0.1[127.0.0.1]:10024, delay=1868, delays=0.36/1568/300/0,
> dsn=4.4.2, status=deferred (conversation with 127.0.0.1[127.0.0.1] timed out
> while receiving the initial server greeting)

There are mny reasons this can happen, but the most likely reason
is that you are running more SMTP clients than amavisd-new processes.

Thus, reduce the process limit on the Postfix side (in master.cf)
or increase it on the amavisd-new side, if sufficient memory and
other resources are available.

Wietse

From: "Sasa" on
I have modified the value of:

$max_servers=10 --> (from 2 to 10)

and maxproc in master.cf

smtp-amavis unix - - n - 5 smtp --> (from 2 to 5)

now I must:

#postsuper -r ALL
#postfix flush

for to use a new parameter and for requeue the postfix queue ?
sorry for my banal question, but into what syslog file I must view ?
Thanks !

------

Salvatore.



----- Original Message -----
From: "Vladimir Dvorak" <vladimir.dvorak(a)vdsoft.org>
To: "Sasa" <sasa(a)shoponweb.it>
Cc: <postfix-users(a)postfix.org>
Sent: Wednesday, March 17, 2010 1:19 PM
Subject: Re: delivery temporarily suspended


> if you restart only amavis, the postfix can't immediatelly recognize that
> amavis is in ready state. after amavis restart you shoud 'postsuper -r
> ALL' and then 'postfix flush' to requeue the postfix queue and flush it.
>
> The better is to look into syslog (not only maillog).
>
> V.
>
> Sasa napsal(a):
>> I can this errore in log:
>>
>> Mar 17 11:47:36 mail postfix/smtp[7690]: 77F5726A1E9:
>> to=<filippo(a)domain.biz>, orig_to=<filippo(a)domain.biz>,
>> relay=127.0.0.1[127.0.0.1]:10024, delay=1868, delays=0.36/1568/300/0,
>> dsn=4.4.2, status=deferred (conversation with 127.0.0.1[127.0.0.1] timed
>> out while receiving the initial server greeting)
>>
>> I use amavisd-new, if I restart only amavisd service the status not
>> change but if restarted amavisd & postfix services aftert this the mail
>> are delivered but then after 1/2 hours the problem is still present.
>> Thanks.
>>
>> ------
>>
>> Salvatore.
>>
>>
>> ----- Original Message ----- From: "Sasa" <sasa(a)shoponweb.it>
>> To: <postfix-users(a)postfix.org>
>> Sent: Wednesday, March 17, 2010 11:45 AM
>> Subject: delivery temporarily suspended
>>
>>
>>> Hi, I have a smtp/pop3 public mail server, this server is in production
>>> enviroment form 3/4 years nobody problems but from two days I have
>>> sometimes that smtpd not responding and I have this error::
>>>
>>> 2B85826A5B3 8913 Tue Mar 16 16:41:11 listbounces2(a)domain.eu (delivery
>>> temporarily suspended: conversation with 127.0.0.1[127.0.0.1] timed out
>>> while receiving the initial server greeting) xyz(a)domain.biz
>>>
>>> and all mails keep in queue.
>>> Then I must restart postfix and amavis services and after the mail are
>>> delivered.
>>> This problem can be generated by a few hardware resources available or
>>> can be a problem caused from postfix or amavis ?
>>> I use:
>>> postfix-2.5.6-1
>>>
>>> Thanks.
>>>
>>> ------
>>>
>>> Salvatore.
>>>
>>>
>>>
>>
>>
>
>
> --
> Vladimir Dvorak
> Linux & Unix specialist | VDSOFT - Linux&Unix Outsourcing |
> +420 602 944 941 | vladimir.dvorak(a)vdsoft.org | http://www.vdsoft.org
> LinkedIn: http://www.linkedin.com/in/vladimirdvorak
>
>

From: "Sasa" on
....also after increase values I have always:

9B83D1AAD17 1333 Wed Mar 17 14:01:37 Milan.Notifications(a)domain.com
(conversation with 127.0.0.1[127.0.0.1] timed out while receiving the
initial server greeting)
account(a)domain.biz

....perhaps the parameters (max_servers and maxproc) must be more increase ?
now the amavis process are:

[root(a)mail ~]# ps -ax|grep amavis
Warning: bad syntax, perhaps a bogus '-'? See
/usr/share/doc/procps-3.2.7/FAQ
5340 ? S 0:00 smtp -n smtp-amavis -t unix -u -o
smtp_data_done_timeout 1200 -o smtp_send_xforward_command yes -o
disable_dns_lookups yes -o max_use 20
5384 ? S 0:00 smtp -n smtp-amavis -t unix -u -o
smtp_data_done_timeout 1200 -o smtp_send_xforward_command yes -o
disable_dns_lookups yes -o max_use 20
5430 ? S 0:00 smtp -n smtp-amavis -t unix -u -o
smtp_data_done_timeout 1200 -o smtp_send_xforward_command yes -o
disable_dns_lookups yes -o max_use 20
5443 ? S 0:00 smtp -n smtp-amavis -t unix -u -o
smtp_data_done_timeout 1200 -o smtp_send_xforward_command yes -o
disable_dns_lookups yes -o max_use 20
5464 ? S 0:00 smtp -n smtp-amavis -t unix -u -o
smtp_data_done_timeout 1200 -o smtp_send_xforward_command yes -o
disable_dns_lookups yes -o max_use 20
6878 pts/3 S+ 0:00 grep amavis
7756 ? S 0:10 amavisd (ch1-07756-01-10)
7880 ? S 0:09 amavisd (ch1-07880-01-9)
8134 ? S 0:00 amavisd (virgin child)
8519 ? S 0:00 amavisd (virgin child)
10403 ? Ss 0:00
/var/dcc/libexec/dccifd -Iamavis -tREP,20 -tCMN,5, -llog -wwhiteclnt -Uuserdirs
-SHELO -Smail_host -SSender -SList-ID
10404 ? Sl 0:05
/var/dcc/libexec/dccifd -Iamavis -tREP,20 -tCMN,5, -llog -wwhiteclnt -Uuserdirs
-SHELO -Smail_host -SSender -SList-ID
19956 ? S 0:05 amavisd (ch1-19956-01-4)
20173 ? S 0:00 amavisd (virgin child)
26686 ? Ss 0:04 amavisd (master)
27907 ? S 0:13 amavisd (ch2-27907-02)
28147 ? S 0:05 amavisd (ch1-28147-01-6)
28292 ? S 0:00 amavisd (virgin child)
28500 ? S 0:04 amavisd (ch1-28500-01-4)
28615 ? S 0:15 amavisd (ch2-28615-02-4)
28753 ? S 0:17 amavisd (ch3-accept)
28830 ? S 0:18 amavisd (ch3-28830-03)
29249 ? S 0:06 amavisd (ch3-accept)
29587 ? S 0:08 amavisd (ch1-29587-01-5)
30247 ? S 0:00 amavisd (ch1-accept)
30306 ? S 0:00 amavisd (ch1-30306-01)
30531 ? S 0:00 amavisd (ch1-accept)
30564 ? S 0:00 amavisd (virgin child)
31505 ? S 0:08 amavisd (ch1-31505-01-7)
31771 ? S 0:00 amavisd (virgin child)


------

Salvatore.



----- Original Message -----
From: "Sasa" <sasa(a)shoponweb.it>
To: "Vladimir Dvorak" <vladimir.dvorak(a)vdsoft.org>
Cc: <postfix-users(a)postfix.org>
Sent: Wednesday, March 17, 2010 2:23 PM
Subject: Re: delivery temporarily suspended


>I have modified the value of:
>
> $max_servers=10 --> (from 2 to 10)
>
> and maxproc in master.cf
>
> smtp-amavis unix - - n - 5 smtp --> (from 2 to 5)
>
> now I must:
>
> #postsuper -r ALL
> #postfix flush
>
> for to use a new parameter and for requeue the postfix queue ?
> sorry for my banal question, but into what syslog file I must view ?
> Thanks !
>
> ------
>
> Salvatore.
>
>
>
> ----- Original Message -----
> From: "Vladimir Dvorak" <vladimir.dvorak(a)vdsoft.org>
> To: "Sasa" <sasa(a)shoponweb.it>
> Cc: <postfix-users(a)postfix.org>
> Sent: Wednesday, March 17, 2010 1:19 PM
> Subject: Re: delivery temporarily suspended
>
>
>> if you restart only amavis, the postfix can't immediatelly recognize that
>> amavis is in ready state. after amavis restart you shoud 'postsuper -r
>> ALL' and then 'postfix flush' to requeue the postfix queue and flush it.
>>
>> The better is to look into syslog (not only maillog).
>>
>> V.
>>
>> Sasa napsal(a):
>>> I can this errore in log:
>>>
>>> Mar 17 11:47:36 mail postfix/smtp[7690]: 77F5726A1E9:
>>> to=<filippo(a)domain.biz>, orig_to=<filippo(a)domain.biz>,
>>> relay=127.0.0.1[127.0.0.1]:10024, delay=1868, delays=0.36/1568/300/0,
>>> dsn=4.4.2, status=deferred (conversation with 127.0.0.1[127.0.0.1] timed
>>> out while receiving the initial server greeting)
>>>
>>> I use amavisd-new, if I restart only amavisd service the status not
>>> change but if restarted amavisd & postfix services aftert this the mail
>>> are delivered but then after 1/2 hours the problem is still present.
>>> Thanks.
>>>
>>> ------
>>>
>>> Salvatore.
>>>
>>>
>>> ----- Original Message ----- From: "Sasa" <sasa(a)shoponweb.it>
>>> To: <postfix-users(a)postfix.org>
>>> Sent: Wednesday, March 17, 2010 11:45 AM
>>> Subject: delivery temporarily suspended
>>>
>>>
>>>> Hi, I have a smtp/pop3 public mail server, this server is in production
>>>> enviroment form 3/4 years nobody problems but from two days I have
>>>> sometimes that smtpd not responding and I have this error::
>>>>
>>>> 2B85826A5B3 8913 Tue Mar 16 16:41:11 listbounces2(a)domain.eu
>>>> (delivery temporarily suspended: conversation with 127.0.0.1[127.0.0.1]
>>>> timed out while receiving the initial server greeting) xyz(a)domain.biz
>>>>
>>>> and all mails keep in queue.
>>>> Then I must restart postfix and amavis services and after the mail are
>>>> delivered.
>>>> This problem can be generated by a few hardware resources available or
>>>> can be a problem caused from postfix or amavis ?
>>>> I use:
>>>> postfix-2.5.6-1
>>>>
>>>> Thanks.
>>>>
>>>> ------
>>>>
>>>> Salvatore.
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>> --
>> Vladimir Dvorak
>> Linux & Unix specialist | VDSOFT - Linux&Unix Outsourcing |
>> +420 602 944 941 | vladimir.dvorak(a)vdsoft.org | http://www.vdsoft.org
>> LinkedIn: http://www.linkedin.com/in/vladimirdvorak
>>
>>
>
>