-ERR Maildir: No such file or directory

Discussion in 'HOWTO-Related Questions' started by deflin, Dec 30, 2005.

  1. deflin

    deflin New Member

    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??
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  3. deflin

    deflin New Member

    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?
     
  4. falko

    falko Super Moderator ISPConfig Developer

  5. deflin

    deflin New Member

    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
     

Share This Page