+1 323 268 0395 kmw@caltek.net

]po[ mailing list archives

> but let's setup a new postfi [...]

by
Kenneth Wyrick
- 04/22/2018 21:23:13

> but let's setup a new postfix we can use to just send e-mail first. this
> needs to be on each instance. the concept is to be able o install a
> self-contained instance that people can install themselves.
>
> the caltek.net non-profit has he litli.net r&d teletest cybernetix
> publications. just making this up as i go....if we can get the postfix
> configured according to the ]po[ documentation then we have a distribution
> in support of the community.
>

Well, all 3 server are able to send emails. They just need to relay to an authority, in order to give authenticity to the emails.
Otherwise, most of the email providers will treat them as spams and send the emails to their Spam/Trash inboxes.



Server 1 ]po[ only

echo "test email body" | mail -s "Test Email Subject" <you@your_domain.com>


Apr 22 16:19:48 localhost postfix/pickup[25521]: 2413383407: uid=1001 from=<projop>
Apr 22 16:19:48 localhost postfix/cleanup[25526]: 2413383407: message-id=<20180422201948.2413383407@localhost>
Apr 22 16:19:48 localhost postfix/qmgr[2677]: 2413383407: from=<projop@localhost>, size=303, nrcpt=1 (queue active)
Apr 22 16:19:48 localhost postfix/smtp[25528]: connect to gmail-smtp-in.l.google.com[2607:f8b0:4001:c1d::1a]:25: Network is unreachable
Apr 22 16:19:48 localhost postfix/smtp[25528]: 2413383407: to=<iuri.sampaio@gmail.com>, relay=gmail-smtp-in.l.google.com[74.125.126.26]:25, delay=0.88, delays=0.08/0.03/0.59/0.17, dsn=2.0.0, status=sent \
(250 2.0.0 OK 1524428410 184-v6si4920694ioy.221 - gsmtp)
Apr 22 16:19:48 localhost postfix/qmgr[2677]: 2413383407: removed




Server 2 ]po[ and .LRN

dotlrn@localhost:~$ echo "test email body" | mail -s "Test Email Subject" iuri.sampaio@gmail.com
dotlrn@localhost:~$ Apr 22 16:23:11 localhost postfix/pickup[23910]: 3AAF182DAD: uid=1004 from=<dotlrn>
Apr 22 16:23:11 localhost postfix/cleanup[24124]: 3AAF182DAD: message-id=<20180422202311.3AAF182DAD@localhost>
Apr 22 16:23:11 localhost postfix/qmgr[2358]: 3AAF182DAD: from=<dotlrn@localhost>, size=303, nrcpt=1 (queue active)
Apr 22 16:23:11 localhost postfix/smtp[24126]: connect to gmail-smtp-in.l.google.com[2607:f8b0:4001:c14::1b]:25: Network is unreachable
Apr 22 16:23:12 localhost postfix/smtp[24126]: 3AAF182DAD: to=<iuri.sampaio@gmail.com>, relay=gmail-smtp-in.l.google.com[74.125.124.26]:25, delay=0.8, delays=0.14/0.01/0.51/0.15, dsn=2.0.0, status=sent (250 2.0.0 OK 1524428595 192-v6si6102540its.2 - gsmtp)
Apr 22 16:23:12 localhost postfix/qmgr[2358]: 3AAF182DAD: removed




Server 3 ]po[ and .LRN
echo "test email body" | mail -s "Test Email Subject" iuri.sampaio@gmail.com

Apr 22 14:00:52 localhost postfix/postfix-script[5322]: starting the Postfix mail system
Apr 22 14:00:52 localhost postfix/master[5324]: daemon started -- version 3.1.8, configuration /etc/postfix
Apr 22 14:17:58 localhost postfix/smtpd[5827]: connect from unknown[199.231.187.150]
Apr 22 14:17:58 localhost postfix/smtpd[5827]: lost connection after CONNECT from unknown[199.231.187.150]
Apr 22 14:17:58 localhost postfix/smtpd[5827]: disconnect from unknown[199.231.187.150] commands=0/0
Apr 22 14:21:18 localhost postfix/anvil[5830]: statistics: max connection rate 1/60s for (smtp:199.231.187.150) at Apr 22 14:17:58
Apr 22 14:21:18 localhost postfix/anvil[5830]: statistics: max connection count 1 for (smtp:199.231.187.150) at Apr 22 14:17:58
Apr 22 14:21:18 localhost postfix/anvil[5830]: statistics: max cache size 1 at Apr 22 14:17:58
Apr 22 16:26:10 localhost postfix/pickup[8493]: 7C5B46363C: uid=1002 from=<caltek>
Apr 22 16:26:10 localhost postfix/cleanup[8789]: 7C5B46363C: message-id=<20180422202610.7C5B46363C@localhost>
Apr 22 16:26:10 localhost postfix/qmgr[5326]: 7C5B46363C: from=<caltek@localhost>, size=398, nrcpt=1 (queue active)
Apr 22 16:26:10 localhost postfix/smtp[8791]: connect to gmail-smtp-in.l.google.com[2607:f8b0:4001:c12::1b]:25: Network is unreachable
Apr 22 16:26:11 localhost postfix/smtp[8791]: 7C5B46363C: to=<iuri.sampaio@gmail.com>, relay=gmail-smtp-in.l.google.com[108.177.112.27]:25, delay=0.93, delays=0.24/0.01/0.52/0.16, dsn=2.0.0, status=sent \
(250 2.0.0 OK 1524428780 z207-v6si5563450itc.64 - gsmtp)
Apr 22 16:26:11 localhost postfix/qmgr[5326]: 7C5B46363C: remo