Thanks for your help I'll change this lines :)
I was able to find the problem and it was a little bit complex. There
was an error in clamav-clamd scanner and mails was scanned with
slamav-clamscan and i had a timeout because of this. After that the
mails were again deferred, but because the SA timed out. This timeout
was because the Bayes DB was not consistent. After sa-clean and after
that --sync everything start working normally.
Thanks again for you answer.

Patrick Domack wrote:
> That setup for postfix looks strange
> 
> it allows 4 connections to amavis via the scan line
> but only allows 2 connections back from amavis to postfix via the  
> localhost:10025 line
> 
> Other issues you might have is with the smtp and smtps lines, they  
> only allow 4 connections, so that means only 4 people can be connected  
> to the mail server at any given time, dunno how much load your mail  
> server has, but.
> 
> I personally just replace the localhost:10025 line, change the 2 to a -
> Then you allow up to 100, but there should never be more than actual  
> copies of amavis you set in the amavis config file.
> 
> Quoting Nikolay Balov <[EMAIL PROTECTED]>:
> 
>> Hi all,
>> I have problem sending mail with postfix. Almost every mail that is
>> processed by the server is deferred.
>> The system is Gentoo kernel 2.6.18, postfix 2.2.10,
>> cyrus-sasl-2.1.22-r2, courier-authlib-0.58
>> I'm using virtual transport. And the system was running without problems
>> until today. Nothing was upgraded or changed. The server just stopped
>> sending mails.
>>  It doesn't matter if i send mail to my domain or to outer domain, and
>> there is no difference if i receive mail form outer domain or from my
>> domain. The mails are completely arbitrarily delivered and deferred.
>>
>> Is there a way that the server uses virtual relay for one of the
>> mailboxes and uses relay=none for others?
>>
>> I tried to restart the entire mail system (postfix, sasl, amvisd, clamd,
>> spamd) even the postgresql was restarted, but without any result.
>>
>> I used for my server this how-to
>> http://gentoo-wiki.com/HOWTO_Email:_A_Complete_Virtual_System
>> if this will be in any help.
>>
>> Any help will be greatly greatly greatly appreciated.
>>
>> Here is the log.
>>
>> Nov 28 12:30:04 dexter postfix/smtpd[9830]: C134012D020:
>> client=87-126-87-207.btc-net.bg[87.126.87.207], sasl_method=PLAIN,
>> [EMAIL PROTECTED]
>> Nov 28 12:30:04 dexter postfix/cleanup[9694]: C134012D020:
>> message-id=<[EMAIL PROTECTED]>
>> Nov 28 12:30:04 dexter postfix/qmgr[9200]: C134012D020:
>> from=<[EMAIL PROTECTED]>, size=2236, nrcpt=1 (queue active)
>> Nov 28 12:30:05 dexter postfix/qmgr[9200]: C134012D020:
>> to=<[EMAIL PROTECTED]>, relay=none, delay=1, status=deferred (delivery
>> temporarily suspended: connect to 127.0.0.1[127.0.0.1]: read timeout)
>> Nov 28 12:30:05 dexter postfix/smtpd[9830]: disconnect from
>> 87-126-87-207.btc-net.bg[87.126.87.207]
>>
>>
>> when i try postfix flush every mails move from deferred to active and
>> after a little time i receive this:
>>
>> Nov 28 12:29:26 dexter postfix/qmgr[9200]: ED0D9132944:
>> to=<[EMAIL PROTECTED]>, relay=none, delay=10656, status=deferred (delivery
>> temporarily suspended: connect to 127.0.0.1[127.0.0.1]: read timeout)
>> Nov 28 12:29:26 dexter postfix/qmgr[9200]: ED0D9132944:
>> to=<[EMAIL PROTECTED]>, relay=none, delay=10656, status=deferred (delivery
>> temporarily suspended: connect to 127.0.0.1[127.0.0.1]: read timeout)
>> Nov 28 12:29:26 dexter postfix/qmgr[9200]: ED0D9132944:
>> to=<[EMAIL PROTECTED]>, relay=none, delay=10656, status=deferred (delivery
>> temporarily suspended: connect to 127.0.0.1[127.0.0.1]: read timeout)
>> Nov 28 12:29:27 dexter postfix/qmgr[9200]: ED0D9132944:
>> to=<[EMAIL PROTECTED]>, relay=none, delay=10657, status=deferred (delivery
>> temporarily suspended: connect to 127.0.0.1[127.0.0.1]: read timeout)
>> Nov 28 12:29:27 dexter postfix/qmgr[9200]: E2C156FA2:
>> to=<[EMAIL PROTECTED]>, relay=none, delay=1146, status=deferred (delivery
>> temporarily suspended: connect to 127.0.0.1[127.0.0.1]: read timeout)
>> Nov 28 12:29:27 dexter postfix/qmgr[9200]: E71112D7A9:
>> to=<[EMAIL PROTECTED]>, relay=none, delay=12283, status=deferred (delivery
>> temporarily suspended: connect to 127.0.0.1[127.0.0.1]: read timeout)
>>
>>
>> -------------------------------------------------------------------------
>> SF.Net email is sponsored by: The Future of Linux Business White Paper
>> from Novell.  From the desktop to the data center, Linux is going
>> mainstream.  Let it simplify your IT future.
>> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
>> _______________________________________________
>> 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/
>>
> 
> 
> 
> 
> -------------------------------------------------------------------------
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell.  From the desktop to the data center, Linux is going
> mainstream.  Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> _______________________________________________
> 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/
> 


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
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