PDA

View Full Version : -ERR Maildir: No such file or directory


deflin
30th December 2005, 10:36
hi,

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

Trying 127.0.0.1...

Connected to localhost.localdomain.

Escape character is '^]'.

+OK Hello there.

user deflin@example.com

+OK Password required.

pass test

-ERR Maildir: No such file or directory

Connection closed by foreign host.


suggestions??

till
30th December 2005, 11: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.

deflin
30th December 2005, 18:16
tried to mail, but now my logfiles say:

Dec 30 18:07:52 localhost amavis[5892]: (05892-06) lookup_sql: 1146, Table 'mail.policy' doesn't exist
Dec 30 18:07:52 localhost amavis[5892]: (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[5892]: (05892-06) PRESERVING EVIDENCE in /var/lib/amavis/amavis-20051230T180752-05892
Dec 30 18:07:52 localhost postfix/smtp[6071]: AF8216E00E: to=<deflin@xxxxx.local>, 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?

falko
30th December 2005, 23: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...

deflin
30th December 2005, 23: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