View Full Version : -ERR Maildir: No such file or directory
30th December 2005, 11:36
I've followed the following HOWTO:
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAssassin, ClamAV)
but after setting everyting up I get the following error:
debian:/var/log# telnet localhost 110
Connected to localhost.localdomain.
Escape character is '^]'.
+OK Hello there.
+OK Password required.
-ERR Maildir: No such file or directory
Connection closed by foreign host.
30th December 2005, 12:14
The Maildir will be created py postfix when the first email is send to the account. So send an email first and then try to fetch it.
30th December 2005, 19:16
tried to mail, but now my logfiles say:
Dec 30 18:07:52 localhost amavis: (05892-06) lookup_sql: 1146, Table 'mail.policy' doesn't exist
Dec 30 18:07:52 localhost amavis: (05892-06) TROUBLE in check_mail: creating_partsdir FAILED: DBD::mysql::st execute failed: Table 'mail.policy' doesn't exist at (eval 38) line 238, <GEN19> line 8.
Dec 30 18:07:52 localhost amavis: (05892-06) PRESERVING EVIDENCE in /var/lib/amavis/amavis-20051230T180752-05892
Dec 30 18:07:52 localhost postfix/smtp: AF8216E00E: to=<email@example.com>, relay=127.0.0.1[127.0.0.1], delay=1, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=05892-06, creating_partsdir FAILED: DBD::mysql::st execute failed: Table 'mail.policy' doesn't exist at (eval 38) line 238, <GEN19> line 8. (in reply to end of DATA command))
where can I find mail.policy?
31st December 2005, 00:24
Did you follow this tutorial: http://www.howtoforge.com/virtual_postfix_mysql_quota_courier to the letter? Because it doesn't even mention a table policy. I guess you have that table somewhere in your Postfix configuration files...
31st December 2005, 00:47
yeah I did, it was probably a typo in my amavisd.conf but when I used the one in the howto it suddenly worked, so problem solved.
thanx fast for the replies
vBulletin® v3.8.7, Copyright ©2000-2014, vBulletin Solutions, Inc.