I have a LAMP install over a Ubuntu 14.04 with virtualmin GPL with digitalocean.com hosts(DNS setup as well)
I created on virtual server with name server1.domain.org(HOSTNAME) and then created 2 subservers for 2 domains I have. The parent server email seems to work fine in terms of email, I received a notification email and manege to receive and send emails. but on the other hand the 2 domain don’t get the email to work at all but if I send an email to username@server1.domain.org then its fine but outside doesnt work.
I wonder if anyone could put me in the right direction, I really exausted all avenues.
If you look in /var/log/mail.log, do you see anything in there that would help explain what’s going on… perhaps an error message of some sort that occurs when sending an email to one of those domains?
Aug 7 10:45:02 server1 dovecot: master: Dovecot v2.2.9 starting up (core dumps disabled)
Aug 7 10:45:02 server1 dovecot: ssl-params: Generating SSL parameters
Aug 7 10:45:09 server1 dovecot: ssl-params: SSL parameters regeneration completed
Aug 7 10:45:16 server1 postfix/master[19264]: daemon started – version 2.11.0, configuration /etc/postfix
Aug 7 10:46:50 server1 postfix/postfix-script[23358]: refreshing the Postfix mail system
Aug 7 10:46:50 server1 postfix/master[19264]: reload – version 2.11.0, configuration /etc/postfix
Aug 7 10:46:56 server1 postfix/postfix-script[23694]: stopping the Postfix mail system
Aug 7 10:46:56 server1 postfix/master[19264]: terminating on signal 15
Aug 7 10:46:56 server1 postfix/postfix-script[23780]: warning: /var/spool/postfix/etc/nsswitch.conf and /etc/nsswitch.conf differ
Aug 7 10:46:56 server1 postfix/postfix-script[23798]: starting the Postfix mail system
Aug 7 10:46:56 server1 postfix/master[23800]: daemon started – version 2.11.0, configuration /etc/postfix
Aug 7 10:49:46 server1 spamd[24697]: logger: removing stderr method
Aug 7 10:49:47 server1 spamd[24699]: zoom: able to use 319/360 ‘body_0’ compiled rules (88.611%)
Aug 7 10:49:47 server1 spamd[24699]: spamd: server started on IO::Socket::INET6 [127.0.0.1]:783, IO::Socket::INET6 [::1]:783 (running version 3.4.0)
Aug 7 10:49:47 server1 spamd[24699]: spamd: server pid: 24699
Aug 7 10:49:47 server1 spamd[24699]: spamd: server successfully spawned child process, pid 24700
Aug 7 10:49:47 server1 spamd[24699]: spamd: server successfully spawned child process, pid 24701
Aug 7 10:49:47 server1 spamd[24699]: prefork: child states: SI
Aug 7 10:49:47 server1 spamd[24699]: prefork: child states: II
Aug 7 10:50:56 server1 postfix/postfix-script[25099]: warning: /var/spool/postfix/etc/nsswitch.conf and /etc/nsswitch.conf differ
Aug 7 10:53:47 server1 postfix/postfix-script[25361]: warning: /var/spool/postfix/etc/nsswitch.conf and /etc/nsswitch.conf differ
Aug 7 10:58:55 server1 postfix/smtpd[26079]: connect from keeper1.mxtoolbox.com[64.20.227.137]
Aug 7 10:58:58 server1 postfix/smtpd[26079]: NOQUEUE: reject: RCPT from keeper1.mxtoolbox.com[64.20.227.137]: 454 4.7.1 test@example.com: Relay access denied; from=$
Aug 7 10:58:58 server1 postfix/smtpd[26079]: disconnect from keeper1.mxtoolbox.com[64.20.227.137]
Aug 7 10:59:07 server1 postfix/smtpd[26079]: connect from mailc-aa.linkedin.com[108.174.3.161]
Aug 7 10:59:08 server1 postfix/smtpd[26079]: NOQUEUE: reject: RCPT from mailc-aa.linkedin.com[108.174.3.161]: 454 4.7.1 pedro@pedroli.ma: Relay access denied; from=$
Aug 7 10:59:13 server1 postfix/smtpd[26079]: disconnect from mailc-aa.linkedin.com[108.174.3.161]
Aug 7 11:02:33 server1 postfix/anvil[26082]: statistics: max connection rate 1/60s for (smtp:64.20.227.137) at Aug 7 10:58:55
Aug 7 11:02:33 server1 postfix/anvil[26082]: statistics: max connection count 1 for (smtp:64.20.227.137) at Aug 7 10:58:55
Aug 7 11:02:33 server1 postfix/anvil[26082]: statistics: max cache size 2 at Aug 7 10:59:07
Aug 7 11:03:55 server1 postfix/sendmail[26269]: fatal: usage: newaliases [options]
Aug 7 11:04:53 server1 postfix/master[23800]: terminating on signal 15
Aug 7 11:04:53 server1 postfix/master[26404]: daemon started – version 2.11.0, configuration /etc/postfix
Aug 7 11:06:23 server1 postfix/smtpd[26497]: connect from localhost[127.0.0.1]
Aug 7 11:06:23 server1 postfix/smtpd[26497]: 2B4991836CE: client=localhost[127.0.0.1]
Aug 7 11:06:23 server1 postfix/cleanup[26501]: 2B4991836CE: message-id=mailman.0.1407423518.26060.mailman@localhost.localdomain
Aug 7 11:06:23 server1 postfix/qmgr[26408]: 2B4991836CE: from=mailman-bounces@localhost.localdomain, size=2676, nrcpt=1 (queue active)
Aug 7 11:06:23 server1 postfix/smtpd[26497]: disconnect from localhost[127.0.0.1]
Aug 7 11:06:25 server1 postfix/smtp[26502]: 2B4991836CE: to=pedro.lima@wp-customdev.us, relay=wp-customdev.us[192.254.234.33]:25, delay=2.3, delays=0.01/0.01/1.1/1.$
Aug 7 11:06:25 server1 postfix/qmgr[26408]: 2B4991836CE: removed
Aug 7 11:13:28 server1 postfix/smtpd[28364]: connect from mailc-ef.linkedin.com[199.101.162.50]