I found the maillog, per an entry I found I changed a couple of the settings in /etc/postfix/main.cf, it said these were required:
smtp_tls_wrappermode = yes
smtp_tls_security_level = encrypt
Then I ran:
# systemctl enable --now
postfix.service
and another test:
# echo 'Test 5' | mail -s "Test:
$(date)" my_user@my_fastmail_domain.com
and now I see this in /var/log/maillog
:
Jan 5 17:03:37 F37-Server
postfix/pickup[916]: 1AA22104C394: uid=0 from=<root>
Jan 5 17:03:37 F37-Server postfix/cleanup[1217]: 1AA22104C394: message-id=<20230106000337.1AA22104C394@F37-Server.localdomain>
Jan 5 17:03:37 F37-Server postfix/qmgr[917]: 1AA22104C394: from=<root@F37-Server.localdomain>, size=485, nrcpt=1 (queue active)
Jan 5 17:03:38 F37-Server postfix/smtp[1212]: 1AA22104C394: to=<kevink@xxxxxxxxxxxx>, relay=smtp.fastmail.com[66.111.4.139]:465, delay=0.92, delays=0/0/0.61/0.31, dsn=5.7.1, status=bounced (host smtp.fastmail.com[66.111.4.139] said: 551 5.7.1 Not authorised to send from this header address (in reply to end of DATA command))
Jan 5 17:03:38 F37-Server postfix/cleanup[1216]: 06D58104C396: message-id=<20230106000338.06D58104C396@F37-Server.localdomain>
Jan 5 17:03:38 F37-Server postfix/qmgr[917]: 06D58104C396: from=<>, size=2646, nrcpt=1 (queue active)
Jan 5 17:03:38 F37-Server postfix/bounce[1215]: 1AA22104C394: sender non-delivery notification: 06D58104C396
Jan 5 17:03:38 F37-Server postfix/qmgr[917]: 1AA22104C394: removed
Jan 5 17:03:38 F37-Server postfix/local[1219]: 06D58104C396: to=<root@F37-Server.localdomain>, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to mailbox)
Jan 5 17:03:38 F37-Server postfix/qmgr[917]: 06D58104C396: removed
Jan 5 17:03:37 F37-Server postfix/cleanup[1217]: 1AA22104C394: message-id=<20230106000337.1AA22104C394@F37-Server.localdomain>
Jan 5 17:03:37 F37-Server postfix/qmgr[917]: 1AA22104C394: from=<root@F37-Server.localdomain>, size=485, nrcpt=1 (queue active)
Jan 5 17:03:38 F37-Server postfix/smtp[1212]: 1AA22104C394: to=<kevink@xxxxxxxxxxxx>, relay=smtp.fastmail.com[66.111.4.139]:465, delay=0.92, delays=0/0/0.61/0.31, dsn=5.7.1, status=bounced (host smtp.fastmail.com[66.111.4.139] said: 551 5.7.1 Not authorised to send from this header address (in reply to end of DATA command))
Jan 5 17:03:38 F37-Server postfix/cleanup[1216]: 06D58104C396: message-id=<20230106000338.06D58104C396@F37-Server.localdomain>
Jan 5 17:03:38 F37-Server postfix/qmgr[917]: 06D58104C396: from=<>, size=2646, nrcpt=1 (queue active)
Jan 5 17:03:38 F37-Server postfix/bounce[1215]: 1AA22104C394: sender non-delivery notification: 06D58104C396
Jan 5 17:03:38 F37-Server postfix/qmgr[917]: 1AA22104C394: removed
Jan 5 17:03:38 F37-Server postfix/local[1219]: 06D58104C396: to=<root@F37-Server.localdomain>, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to mailbox)
Jan 5 17:03:38 F37-Server postfix/qmgr[917]: 06D58104C396: removed
Not sure what this means:
Not authorised to send from this header
address
Maybe Fastmail simply does not allow
this?
Is there another email service that I
should use? something that is (a) NOT google mail and (b) secure?
Thoughts?
On 1/5/23 16:53, Sbob wrote:
I see this for mailx:
# mailx
No mail for root
Is there another log to look at?
On 1/5/23 16:44, Richard wrote:
Date: Thursday, January 05, 2023 16:31:49 -0700 From: Sbob <sbob@xxxxxxxxxxxxxxxxxxxxx> when I run a test like this: # echo 'It worked! 4' | mail -s "Test: $(date)" user@xxxxxxxxxxxxxx No mail ever shows up,Before trying to debug this in more detail, what's in the mail log on your sending server? _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue