Mail bounced unkown user!

Discussion in 'Server Operation' started by helly88, Jan 19, 2012.

  1. helly88

    helly88 Member

    My mail has been working fine ever since I installed Centos and ISPconfig 3. But today I noticed that all mail to one of my domains gets bounced. I get a message like this one:

    an 19 13:52:06 mydomain postfix/local[24068]: 3AC8B20671: to=<[email protected]>, relay=local, delay=0.04, delays=0.01/0/0/0.02, dsn=5.1.1, status=bounced (unknown user: "vegard")

    I can login to webmail using that user/ e-mail, and I can send e-mail from it.
    The other domains and mailboxes on the same server works fine.

    I must have done something to mess it up, but I can't figure out what!
    I updated ISPconfig yesterday..

    Help!?
     
    Last edited: Jan 19, 2012
  2. helly88

    helly88 Member

    So I checked the maillog again and I saw that I got an error like this:
    "mail postfix/trivial-rewrite[1896]: warning: do not list domain example.com in BOTH mydestination and virtual_mailbox_domains "

    I changed mydestination from:
    mydestination = mydomain.com, localhost, localhost.localdomain
    to
    mydestination = localhost, localhost.localdomain
    in the main.cf and then I restared postfix. Now it works.

    Is this because I updated ISPconfig?
     
  3. falko

    falko Super Moderator Howtoforge Staff

    No, ISPConfig doesn't change the mydestination line.
     

Share This Page