Am 26.06.2014 15:01, schrieb rsmits-l: > We have an issue with our mailrelay system. Amavisd with spamassassin. > Backend is Postfix with HASH db and mysql > database. When the mail starts coming in, everything looks fine, but after a > few minutes we see a lot of these errors. > > ---------------------------------- > Main.cf : > Works fine : > virtual_alias_maps = hash:/home/postfix/namen > > Errors : > virtual_alias_maps = hash:/home/postfix/namen, > mysql:/home/postfix/forwardsqlconnect.cf > ---------------------------------- > > Temporary lookup failure; from=<x.xxxxx...@tudelft.nl> > to=<xxxxx...@gmail.com> proto=ESMTP helo=<localhost> > > Jun 26 14:25:27 mx4 amavis[8448]: (08448-02) smtp resp to RCPT (pip) > (<xxxxx...@gmail.com>): 451 4.3.0 > <xxxxx...@gmail.com>: Temporary lookup failure > > This happens only if the mysql backend is being used. If the mysql is being > turned off in the config everything
get mysqltuner and/or look how many connections are allowed and make sure mysql don't close idle connections too soon wait_timeout = 604800 interactive_timeout = 604800