E-mail Issues - Ubuntu 12.04
I've just setup Ubuntu 12.04 following this guide
Jun 17 17:30:01 n3rve dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Jun 17 17:30:01 n3rve dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Jun 17 17:30:01 n3rve postfix/smtpd[3951]: connect from localhost.localdomain[127.0.0.1]
Jun 17 17:30:01 n3rve postfix/smtpd[3951]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Jun 17 17:30:01 n3rve postfix/smtpd[3951]: disconnect from localhost.localdomain[127.0.0.1]
Jun 17 17:30:09 n3rve dovecot: auth-worker: mysql(localhost): Connected to database dbispconfig
Jun 17 17:30:09 n3rve dovecot: imap-login: Login: user=<n3rve@n3rve.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=3980, secured
Jun 17 17:30:09 n3rve dovecot: imap(n3rve@n3rve.com): Disconnected: Logged out bytes=79/687
Jun 17 17:30:34 n3rve postfix/smtpd[3951]: connect from localhost.localdomain[127.0.0.1]
Jun 17 17:30:34 n3rve postfix/trivial-rewrite[3983]: warning: do not list domain n3rve.com in BOTH mydestination and virtual_mailbox_domains
Jun 17 17:30:34 n3rve postfix/smtpd[3951]: 962BDF9E1: client=localhost.localdomain[127.0.0.1]
Jun 17 17:30:34 n3rve postfix/cleanup[3992]: 962BDF9E1: message-id=<16ca85cd9c0028c6bd9f1007a0cc243b.squirrel@n3rve.com>
Jun 17 17:30:34 n3rve postfix/qmgr[3679]: 962BDF9E1: from=<n3rve@n3rve.com>, size=730, nrcpt=1 (queue active)
Jun 17 17:30:34 n3rve postfix/smtpd[3951]: disconnect from localhost.localdomain[127.0.0.1]
Jun 17 17:30:34 n3rve dovecot: imap-login: Login: user=<n3rve@n3rve.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=3995, secured
Jun 17 17:30:34 n3rve dovecot: imap(n3rve@n3rve.com): Disconnected: Logged out bytes=622/459
Jun 17 17:30:34 n3rve postfix/smtpd[4000]: connect from localhost.localdomain[127.0.0.1]
Jun 17 17:30:34 n3rve postfix/trivial-rewrite[3983]: warning: do not list domain n3rve.com in BOTH mydestination and virtual_mailbox_domains
Jun 17 17:30:34 n3rve postfix/smtpd[4000]: F0F90F9E3: client=localhost.localdomain[127.0.0.1]
Jun 17 17:30:34 n3rve postfix/cleanup[3992]: F0F90F9E3: message-id=<16ca85cd9c0028c6bd9f1007a0cc243b.squirrel@n3rve.com>
Jun 17 17:30:34 n3rve postfix/qmgr[3679]: F0F90F9E3: from=<n3rve@n3rve.com>, size=1151, nrcpt=1 (queue active)
Jun 17 17:30:34 n3rve postfix/trivial-rewrite[3983]: warning: do not list domain n3rve.com in BOTH mydestination and virtual_mailbox_domains
Jun 17 17:30:34 n3rve amavis[3064]: (03064-01) Passed CLEAN, LOCAL [127.0.0.1] [41.206.1.4] <n3rve@n3rve.com>-> <n3rve@n3rve.com>, Message-ID: <16ca85cd9c0028c6bd9f1007a0cc243b.squirrel@n3rve.com>, mail_id: DCtcNhQI2tuy, Hits: -1, size: 730, queued_as: F0F90F9E3, 323 ms
Jun 17 17:30:34 n3rve postfix/smtp[3994]: 962BDF9E1: to=<n3rve@n3rve.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.4, delays=0.06/0.01/0.01/0.32, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as F0F90F9E3)
Jun 17 17:30:34 n3rve postfix/qmgr[3679]: 962BDF9E1: removed
Jun 17 17:30:35 n3rve postfix/local[4001]: F0F90F9E3: to=<n3rve@n3rve.com>, relay=local, delay=0.02, delays=0/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "n3rve")
Jun 17 17:30:35 n3rve postfix/cleanup[3992]: 0262CF9E4: message-id=<20140617173035.0262CF9E4@n3rve.com>
Jun 17 17:30:35 n3rve postfix/bounce[4002]: F0F90F9E3: sender non-delivery notification: 0262CF9E4
Jun 17 17:30:35 n3rve postfix/qmgr[3679]: 0262CF9E4: from=<>, size=2885, nrcpt=1 (queue active)
Jun 17 17:30:35 n3rve postfix/trivial-rewrite[3983]: warning: do not list domain n3rve.com in BOTH mydestination and virtual_mailbox_domains
Jun 17 17:30:35 n3rve postfix/qmgr[3679]: F0F90F9E3: removed
Jun 17 17:30:35 n3rve postfix/local[4001]: 0262CF9E4: to=<n3rve@n3rve.com>, relay=local, delay=0, delays=0/0/0/0, dsn=5.1.1, status=bounced (unknown user: "n3rve")
Jun 17 17:30:35 n3rve postfix/qmgr[3679]: 0262CF9E4: removed
Jun 17 17:30:35 n3rve dovecot: imap-login: Login: user=<n3rve@n3rve.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=4004, secured
Jun 17 17:30:35 n3rve dovecot: imap(n3rve@n3rve.com): Disconnected: Logged out bytes=117/1401
Jun 17 17:30:39 n3rve dovecot: imap-login: Login: user=<n3rve@n3rve.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=4006, secured
Jun 17 17:30:39 n3rve dovecot: imap(n3rve@n3rve.com): Disconnected: Logged out bytes=117/1401
Jun 17 17:30:41 n3rve dovecot: imap-login: Login: user=<n3rve@n3rve.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=4008, secured
Jun 17 17:30:41 n3rve dovecot: imap(n3rve@n3rve.com): Disconnected: Logged out bytes=117/1401</n3rve@n3rve.com></n3rve@n3rve.com></n3rve@n3rve.com></n3rve@n3rve.com></n3rve@n3rve.com></n3rve@n3rve.com></n3rve@n3rve.com></n3rve@n3rve.com></n3rve@n3rve.com></n3rve@n3rve.com></n3rve@n3rve.com></n3rve@n3rve.com>
1 Reply
Jun 17 17:30:35 n3rve postfix/trivial-rewrite[3983]: warning: do not list domain n3rve.com in BOTH mydestination and virtual_mailbox_domains
To fix, I had to remove my FQDN (also my hostname) from main.cf.
mydestination = localhost, localhost.localdomain
After making that change I restarted and reloaded postfix, and mails worked as expected.