Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was follwing the Guid @ But I ran into some issues.

the first issue was: (mail.log)

Jan 19 21:52:07 ... imapd: Connection, ip=[::ffff:]
Jan 19 21:52:07 ... imapd: chdir No such file or directory
Jan 19 21:52:07 ... imapd: No such file or directory

After a while of googling I found out that the folders are initialy created when I receive my first mail. -> So I sent one: (mail.log)

Jan 19 21:55:51 ... postfix/smtpd[1315]: connect from[]
Jan 19 21:55:51 ... postfix/trivial-rewrite[1278]: warning: do not list domain in BOTH mydestination and virtual_mailbox_domains
Jan 19 21:55:51 ... postfix/smtpd[1315]: C0A1C231808A:[]
Jan 19 21:55:51 ... postfix/cleanup[1318]: C0A1C231808A: message-id=<>
Jan 19 21:55:51 ... postfix/qmgr[1177]: C0A1C231808A: from=<>, size=1179, nrcpt=1 (queue active)

For me it looks like the mail-server is receiving my mail but the sending account tells me:

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below[...]

Do you have any idea why? I did it exactly the guide way.

Thanks in advance.


share|improve this question
Please add /etc/postfix/ and related courier configuration files. – John Siu Jan 19 '13 at 21:38
thanks @cpast for editing. – Langusten Gustel Jan 19 '13 at 21:38
Is there any /home/vmail/<username> directory? – John Siu Jan 20 '13 at 6:59
up vote 1 down vote accepted
  1., modify line 34, remove Restart postfix

  2. Is there any /home/vmail/ directory?

  3. On the email server, does following command successfully delivery a email to the user?

    mail <username>

    Or step 14 on P4 of your link

  4. Line 43, potential error in tutorial

    virtual_alias_maps = proxy:mysql:/etc/postfix/, mysql:/etc/postfix/

    Shoule be

    virtual_alias_maps = proxy:mysql:/etc/postfix/, proxy:mysql:/etc/postfix/
  5. Create Maildir manually

    mkdir /home/vmail/<username>
    maildirmake /home/vmail/<username>/Maildir
    chown -R 5000:5000 /home/vmail/<username>
share|improve this answer
1. I removed it <br> 2. No there is nothing :( 3. I tryed strep 14. And the mail.log output is the following: --- thanks for your help! – Langusten Gustel Jan 20 '13 at 12:33
mail for loops back to myself is the problem, I have to go through your again. – John Siu Jan 20 '13 at 19:39
(1) Check 4 in answer. (2) Do you already have that user in mysql database? – John Siu Jan 20 '13 at 20:00
(1) checked. (2) Yes there are. and the Mailserver MX-Record: ... still bouncing :( Any other idea? – Langusten Gustel Jan 20 '13 at 21:16
Try 5 in answer. – John Siu Jan 20 '13 at 21:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .