These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Email not sending/receiving on the new forum.
I setup a new server over the weekend, Centos 6.4 and am having issues with email. I read a bunch of email related topics in the forums for others with Postfix issues but still unable to fix.
email sent from the server: (/var/log/maillog)
Jun 3 13:11:35 srv02 postfix/pickup[25846]: 2130E29316E1: uid=0 from=<user@domain.com>
Jun 3 13:11:35 srv02 postfix/cleanup[28082]: 2130E29316E1: message-id=<1370279495.28078@domain.com>
Jun 3 13:11:35 srv02 postfix/qmgr[5267]: 2130E29316E1: from=<user@domain.com>, size=598, nrcpt=1 (queue active)
Jun 3 13:11:35 srv02 postfix/trivial-rewrite[28083]: warning: do not list domain hostname.net in BOTH mydestination and virtual_alias_domains
Jun 3 13:11:35 srv02 postfix/trivial-rewrite[28083]: warning: do not list domain hostname.net in BOTH mydestination and virtual_alias_domains
Jun 3 13:11:35 srv02 postfix/local[28084]: 2130E29316E1: to=<admin@hostname.net>, orig_to=<recepient@outside_domain.com>, relay=local, delay=0.03, delays=0.02/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "admin")
Jun 3 13:11:35 srv02 postfix/cleanup[28082]: 26FD329316E2: message-id=<20130603171135.26FD329316E2@srv02.thegauntlet.net>
Jun 3 13:11:35 srv02 postfix/bounce[28085]: 2130E29316E1: sender non-delivery notification: 26FD329316E2
Jun 3 13:11:35 srv02 postfix/qmgr[5267]: 26FD329316E2: from=<>, size=2489, nrcpt=1 (queue active)
Jun 3 13:11:35 srv02 postfix/trivial-rewrite[28083]: warning: do not list domain thegauntlet.net in BOTH mydestination and virtual_alias_domains
Jun 3 13:11:35 srv02 postfix/qmgr[5267]: 2130E29316E1: removed
Jun 3 13:11:35 srv02 postfix/local[28084]: 26FD329316E2: to=<user.account@hostname.net>, orig_to=<user@domain.com>, relay=local, delay=0.04, delays=0/0/0/0.04, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
Jun 3 13:11:35 srv02 postfix/qmgr[5267]: 26FD329316E2: removed
Email being sent to me bounces back:
Delivery to the following recipient has been delayed:
user@domain.com
Message will be retried for 2 more day(s)
Technical details of temporary failure:
MX Record: HOST NAME MAILSERVER HOST NAME MAIL TYPE MX PREF TTL @ domainname.com. MX 3600 mail domainname.com. MX 3600
It is the same MX record setup I used from the cpanel server I was migrating from, no changes made. I installed virtualmin from install.sh. Any help would be greatly appreciated.
The key line here seems to be this:
"postfix/trivial-rewrite[28083]: warning: do not list domain hostname.net in BOTH mydestination and virtual_alias_domains"
This can be a bit tricky to debug, and too complex for advice without direct analysis. So I can offer to take a look at your Virtualmin system myself, if you trust me with your root login. Feel free to post some contact info (instant messenger preferred) here if you'd like that!