> Date: Thursday, January 05, 2023 17:06:40 -0700
> From: Sbob <s...@quadratum-braccas.com>
> 
># 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=<kev...@karbondb.com>,
> 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?
> 

You haven't set the address you are sending from correctly. You are
trying to send from:

   @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)

which is unlikely to be the FQDN that you are authorized to use to
send mail via fastmail. You need to set your "From:" correctly for
this to work. There's a "sendmail" flag that will do that or you can
do it in your postfix config.

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to