· 6 years ago · Jun 22, 2019, 10:24 PM
1echo "mail test"|mailx -s "Subject test" myemail@gmail.com
2echo "mail test"|mailx -s "Subject test" myemail@compnaydomain.com
3
4smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
5biff = no
6append_dot_mydomain = no
7readme_directory = no
8compatibility_level = 2
9smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
10myhostname = ThinkPad-E470
11alias_maps = hash:/etc/aliases
12alias_database = hash:/etc/aliases
13myorigin = /etc/mailname
14mydestination = ThinkPad-E470, gmail.com, ThinkPad-E470, localhost.localdomain, localhost, companydomain.com
15relayhost = [smtp.gmail.com]:587
16mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
17mailbox_size_limit = 0
18recipient_delimiter = +
19inet_interfaces = all
20inet_protocols = all
21smtp_sasl_auth_enable = yes
22smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
23smtp_sasl_security_options = noanonymous
24smtp_use_tls = yes
25smtpd_tls_auth_only = no
26smtpd_tls_key_file = /etc/ssl-certs/mail.companydomain.com.key
27smtpd_tls_cert_file = /etc/ssl-certs/mail.companydomain.com.crt
28smtpd_tls_CAfile = /etc/ssl-certs/cacert.pem
29tls_random_source = dev:/dev/urandom
30
31May 7 13:41:58 ThinkPad-E470 postfix/pickup[6321]: 5962528214FB: uid=0 from=<root@ThinkPad-E470>
32May 7 13:41:58 ThinkPad-E470 postfix/cleanup[6695]: 5962528214FB: message-id=<20190507174158.5962528214FB@ThinkPad-E470>
33May 7 13:41:58 ThinkPad-E470 postfix/qmgr[6322]: 5962528214FB: from=<root@ThinkPad-E470>, size=375, nrcpt=1 (queue active)
34May 7 13:41:58 ThinkPad-E470 postfix/local[6697]: 5962528214FB: to=<myemail@companydomain.com>, relay=local, delay=0.38, delays=0.29/0.01/0/0.08, dsn=5.1.1, status=bounced (unknown user: "myemail")
35May 7 13:41:58 ThinkPad-E470 postfix/cleanup[6695]: A840828214FF: message-id=<20190507174158.A840828214FF@ThinkPad-E470>
36May 7 13:41:58 ThinkPad-E470 postfix/bounce[6698]: 5962528214FB: sender non-delivery notification: A840828214FF
37May 7 13:41:58 ThinkPad-E470 postfix/qmgr[6322]: A840828214FF: from=<>, size=2355, nrcpt=1 (queue active)
38May 7 13:41:58 ThinkPad-E470 postfix/local[6697]: A840828214FF: to=<root@ThinkPad-E470>, relay=local, delay=0.26, delays=0.21/0/0/0.05, dsn=2.0.0, status=sent (delivered to mailbox)
39May 7 13:41:58 ThinkPad-E470 postfix/qmgr[6322]: 5962528214FB: removed
40May 7 13:41:59 ThinkPad-E470 postfix/qmgr[6322]: A840828214FF: removed
41
42May 7 14:01:07 ThinkPad-E470 postfix/pickup[6321]: 798E828214FB: uid=0 from=<root@ThinkPad-E470>
43May 7 14:01:07 ThinkPad-E470 postfix/cleanup[6873]: 798E828214FB: message-id=<20190507180107.798E828214FB@ThinkPad-E470>
44May 7 14:01:07 ThinkPad-E470 postfix/qmgr[6322]: 798E828214FB: from=<root@ThinkPad-E470>, size=375, nrcpt=1 (queue active)
45May 7 14:01:07 ThinkPad-E470 postfix/local[6875]: 798E828214FB: to=<myemail@companydomain.com>, relay=local, delay=0.33, delays=0.24/0/0/0.09, dsn=5.1.1, status=bounced (unknown user: "myemail")
46May 7 14:01:07 ThinkPad-E470 postfix/cleanup[6873]: BDB3028214FF: message-id=<20190507180107.BDB3028214FF@ThinkPad-E470>
47May 7 14:01:07 ThinkPad-E470 postfix/bounce[6876]: 798E828214FB: sender non-delivery notification: BDB3028214FF
48May 7 14:01:07 ThinkPad-E470 postfix/qmgr[6322]: BDB3028214FF: from=<>, size=2355, nrcpt=1 (queue active)
49May 7 14:01:07 ThinkPad-E470 postfix/local[6875]: BDB3028214FF: to=<root@ThinkPad-E470>, relay=local, delay=0.23, delays=0.17/0/0/0.06, dsn=2.0.0, status=sent (delivered to mailbox)
50May 7 14:01:08 ThinkPad-E470 postfix/qmgr[6322]: 798E828214FB: removed
51May 7 14:01:08 ThinkPad-E470 postfix/qmgr[6322]: BDB3028214FF: removed