Postfix dont use virtual mailbox

Discussion in 'Server Operation' started by tomcat75, May 16, 2008.

  1. tomcat75

    tomcat75 New Member

    I use tutorial "Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Mandriva 2008.1)" step by step.
    Postfix is working but when I send test mail, this mail didnt deliver. In my log I found information that user is unknown. I put user in table users.

    My log
    May 16 08:19:30 serwer postfix/qmgr[5425]: 1D96A21AAC5: from=<[email protected]>, size=466, nrcpt=1 (queue active)
    May 16 08:19:30 serwer postfix/trivial-rewrite[20143]: warning: do not list domain xxxxxx.xx in BOTH mydestination and virtual_mailbox_domains
    May 16 08:19:30 serwer postfix/local[20148]: 1D96A21AAC5: to=<[email protected]>, relay=local, delay=0.39, delays=0.25/0.07/0/0.07, dsn=5.1.1, status=bounced (unknown user: "sekretariat")
    May 16 08:19:30 serwer postfix/cleanup[20141]: 5CC0F21AAC4: message-id=<[email protected]>
    May 16 08:19:30 serwer postfix/bounce[20149]: 1D96A21AAC5: sender non-delivery notification: 5CC0F21AAC4
    May 16 08:19:30 serwer postfix/qmgr[5425]: 5CC0F21AAC4: from=<>, size=2295, nrcpt=1 (queue active)
    May 16 08:19:30 serwer postfix/qmgr[5425]: 1D96A21AAC5: removed

    Please help
    Tom :confused:
     
  2. topdog

    topdog Active Member HowtoForge Supporter

    Thats the problem.
     
  3. tomcat75

    tomcat75 New Member

    Topdog this problem I fix now :) but user is still unknown :(

    I dont have this user in system
    but when I create this user mail is delivered to mailbox.
    Now i want to use squirrelmail and log to mailbox
    I have ERROR: Connection dropped by IMAP server

    In syslog I have:
    May 16 09:17:51 serwer postfix/qmgr[20887]: 7E2BE21AAC6: from=<[email protected]>, size=459, nrcpt=1 (queue active)
    May 16 09:17:51 serwer postfix/local[20938]: 7E2BE21AAC6: to=<[email protected]>, relay=local, delay=0.33, delays=0.26/0.07/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox)
    May 16 09:17:51 serwer postfix/qmgr[20887]: 7E2BE21AAC6: removed
    May 16 09:20:27 serwer imapd: Connection, ip=[::ffff:127.0.0.1]
    May 16 09:20:27 serwer imapd: chdir xxxxxx.xx/sekretariat/: No such file or directory

    Whats now ?
     
    Last edited: May 16, 2008
  4. topdog

    topdog Active Member HowtoForge Supporter

    Is the user in the database ?
     
  5. tomcat75

    tomcat75 New Member

    user is in database

    I found that send mail was delivered to file user in /var/spool/mail. Not to /home/user/Maildir/new

    imap server wants folder /home/vmail/domain/user

    ok, it WORKS
    I delete in main.cf mysestination domain and put it to database

    new mail go to /home/vmail/domain/user
     
    Last edited: May 16, 2008

Share This Page