Postfix - Virtual domain vs actual domain

Discussion in 'Server Operation' started by jwhimpel, Dec 30, 2011.

  1. jwhimpel

    jwhimpel New Member

    I believe I have followed the instructions found on Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (CentOS 6.0 x86_64). In the sql tables, I have defined a domain that is my local domain and a domain that is a virtual domain. I have also defined users in each domain. Yet when email arrives addressed to my local domain, it is stored in /var/spool/mail. When email arrives addressed to the virtual domain, it is stored in /var/spool/virtual_domain/virtual_user. What might I need to do to have email addressed to my local domain stored in /var/spool/mail also?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Please remove your local domain from the mydestinations line in /etc/postfix/main.cf (and also from myorigin and myhostname - please use another hostname/domain).
     

Share This Page