Hi @tgriep,
This is what shows in
/var/log/maillog after i try to send a mail
Code: Select all
$sudo tail -f mail.log
Jan 16 05:54:04 nagios postfix/pickup[1740]: 0E2834111D: uid=1000 from=<from_field_account>
Jan 16 05:54:04 nagios postfix/cleanup[2714]: 0E2834111D: message-id=<20180116055404.0E2834111D@nagios.o1zkamsez5eetnxrffcr0yyteh.jx.internal.cloudapp.net>
Jan 16 05:54:04 nagios postfix/qmgr[1741]: 0E2834111D: from=<from_field_account@nagios.o1zkamsez5eetnxrffcr0yyteh.jx.internal.cloudapp.net>, size=528, nrcpt=1 (queue active)
Jan 16 05:54:04 nagios postfix/local[2718]: 0E2834111D: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=0.21, delays=0.18/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "siddu")
Jan 16 05:54:04 nagios postfix/cleanup[2714]: 2109E4111E: message-id=<20180116055404.2109E4111E@nagios.o1zkamsez5eetnxrffcr0yyteh.jx.internal.cloudapp.net>
Jan 16 05:54:04 nagios postfix/bounce[2720]: 0E2834111D: sender non-delivery notification: 2109E4111E
Jan 16 05:54:04 nagios postfix/qmgr[1741]: 2109E4111E: from=<>, size=3035, nrcpt=1 (queue active)
Jan 16 05:54:04 nagios postfix/qmgr[1741]: 0E2834111D: removed
Jan 16 05:54:04 nagios postfix/local[2718]: 2109E4111E: to=<from_field_account@nagios.o1zkamsez5eetnxrffcr0yyteh.jx.internal.cloudapp.net>, relay=local, delay=0.09, delays=0.03/0/0/0.06, dsn=5.1.1, status=bounced (unknown user: "from_field_account")
Jan 16 05:54:04 nagios postfix/qmgr[1741]: 2109E4111E: removed
I changed
main.cf
Code: Select all
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
readme_directory = no
# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
myhostname = nagios.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = localhost, localhost.o1zkamsez5eetnxrffcr0yyteh.jx.internal.cloudapp.net, $myhostname, nagios.o1zkamsez5eetnxrffcr0yyteh.jx.internal.cloudapp.net
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = loopback-only
inet_protocols = all
home_mailbox = Maildir/
virtual_alias_maps = hash:/etc/postfix/virtual
and tried to send mail, but still got
Undelivered Mail Returned to Sender
Code: Select all
siddarth@nagios:/var/log$ sudo tail -f mail.log
Jan 16 07:08:17 nagios postfix/pickup[10224]: DB07B4112A: uid=1000 from=<siddarth>
Jan 16 07:08:17 nagios postfix/cleanup[10261]: DB07B4112A: message-id=<[email protected]>
Jan 16 07:08:17 nagios postfix/qmgr[10225]: DB07B4112A: from=<[email protected]>, size=308, nrcpt=1 (queue active)
Jan 16 07:08:17 nagios postfix/local[10265]: DB07B4112A: to=<[email protected]>, orig_to=<siddu>, relay=local, delay=0.08, delays=0.06/0/0/0.02, dsn=5.1.1, status=bounced (unknown user: "siddu")
Jan 16 07:08:17 nagios postfix/cleanup[10261]: E9A484112B: message-id=<[email protected]>
Jan 16 07:08:17 nagios postfix/qmgr[10225]: E9A484112B: from=<>, size=2033, nrcpt=1 (queue active)
Jan 16 07:08:17 nagios postfix/bounce[10267]: DB07B4112A: sender non-delivery notification: E9A484112B
Jan 16 07:08:17 nagios postfix/qmgr[10225]: DB07B4112A: removed
Jan 16 07:08:18 nagios postfix/local[10265]: E9A484112B: to=<[email protected]>, relay=local, delay=0.06, delays=0.03/0/0/0.03, dsn=2.0.0, status=sent (delivered to maildir)
Jan 16 07:08:18 nagios postfix/qmgr[10225]: E9A484112B: removed