I reinstalled my dedicated server with centos 6.8 and installed virtualmin which I like and its working fine. In the past after the instaltion mail system worked fine but this time Im not sure what Im doing wrong.
I have create 3 virtual servers domain1 , 2 and 3 The problem is that when I go in browser to mail.domain2.com it redirects me to domain1.com
Oct 6 07:46:35 server postfix/local[10266]: 03001F74CD: to=<domainX@server.myserver.com>, relay=local, delay=0.07, delays=0.02/0/0/0.04, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
Oct 6 07:46:35 server postfix/qmgr[1879]: 03001F74CD: removed
Oct 6 07:47:35 server postfix/pickup[10261]: 24277F74C9: uid=502 from=<domainX>
Oct 6 07:47:35 server postfix/cleanup[10262]: 24277F74C9: message-id=<95ae0826c23a9d32b4178f0a7e2e35f0@domainX.com>
Oct 6 07:47:35 server postfix/qmgr[1879]: 24277F74C9: from=<domainX@server.myserver.com>, size=675, nrcpt=1 (queue active)
Oct 6 07:47:35 server postfix/error[10521]: 24277F74C9: to=<info@adultwpthemes.eu>, relay=none, delay=0.11, delays=0.08/0/0/0.03, dsn=5.0.0, status=bounced (User unknown in virtual alias table)
Oct 6 07:47:35 server postfix/cleanup[10262]: 349FCF74CD: message-id=<20161006114735.349FCF74CD@server.myserver.com>
Oct 6 07:47:35 server postfix/bounce[10265]: 24277F74C9: sender non-delivery notification: 349FCF74CD
Oct 6 07:47:35 server postfix/qmgr[1879]: 349FCF74CD: from=<>, size=2574, nrcpt=1 (queue active)
Oct 6 07:47:35 server postfix/qmgr[1879]: 24277F74C9: removed
Oct 6 07:47:35 server postfix/local[10266]: 349FCF74CD: to=<domainX@server.myserver.com>, relay=local, delay=0.07, delays=0.03/0/0/0.04, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
Oct 6 07:47:35 server postfix/qmgr[1879]: 349FCF74CD: removed
I tried to check intodns.com and mxtoolbox.com and everything is bad. When I check dns records of a domain in virtual server editor everything seems ok but in terminal there is the messagge no MX records
I have wordpress installed on 3 sites, also in email settings of virtual server I see BCC incoming email to - Not currently enabled in your Postfix configuration the above link sends me to https://s12.postimg.org/bo8xcx9gt/virt.png
Do you have any idea how can I get mail working on my server? (Mail box is checked in virtual server features)