OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
451 4.3.0 Error: queue file write error and virtual_alias_maps map lookup problem

From: Lists (listsduggen.net)
Date: Sun Mar 30 2008 - 11:57:15 CDT


Hi postfix-list

First of all i am new to postfix. That said i have a strange problemen.
Somtimes mails aren't going thru and are returning this message:

451 4.3.0 Error: queue file write error

In the log files there is possibly related message

warning: 32AA2EFBC9: virtual_alias_maps map lookup problem for ...

Most emails are received just fine but a few return the above message.
According to the documentation queue file write error is a message for a
possible timeout???
I went to the local Linux User Group to get some help. But after 2 hours
of debugging checking and rechecking the problem was not localized.
We checked permissions,system resources,mysqlconnection and so on. I am
still puzzled. Why is it not working all the time?

=== Versions ===
Postfix 2.4.5
sqlgrey 1.7.4
Mysql 5.0

Sqlgrey seams not to be the problem, since the error also occures when
sqlgrey is deactivated.

Here are the log files and my configuration files (without comments)

http://duggen.net/postfix_prob/master.cf.txt
http://duggen.net/postfix_prob/main.cf.txt

http://duggen.net/postfix_prob/mailproblog2.txt shows when it goes
through just fine.

http://duggen.net/postfix_prob/mailproblog.txt shows the error:

warning: 97C54EFBD5: virtual_alias_maps map lookup problem for
postmastermail.somedomain.net

We testet the above message ...

=== virtual file test ===
user = postfix
password = password
hosts = 127.0.0.1
dbname=postfix
query = SELECT goto FROM alias WHERE address='%s' AND active = '1'

=== test virtual file ===
# postmap -q mailsomedomain.net \
mysql:/etc/postfix/mysql_virtual_alias_maps.cf

Returns: mailsomedomain.net as it should.

===

I hope someone can help with a solution. I'm greatful for any help.

Dennis