i have configured postfix in centos 6.With basic configuration messages are going to spam folder.After using relayhost postfix dont send email.error in maillog is
Aug 4 15:47:30 tuleap postfix/master[19076]: daemon started – version 2.6.6, configuration /etc/postfix Aug 4 15:48:09 tuleap postfix/pickup[19078]: E2EE8A0C30: uid=0 from=<root> Aug 4 15:48:09 tuleap postfix/cleanup[19140]: E2EE8A0C30: message-id=20170804104809.E2EE8A0C30@tuleap.kpezdmc.local Aug 4 15:48:09 tuleap postfix/qmgr[19079]: E2EE8A0C30: from=root@tuleap.kpezdmc.local, size=468, nrcpt=1 (queue active) Aug 4 15:48:12 tuleap postfix/smtp[19142]: E2EE8A0C30: to=yahya_bungash@yahoo.com, relay=smtp.gmail.com[64.233.167.108]:587, delay=2.1, delays=0.02/0.05/1.9/0.17, dsn=5.5.1, status=bounced (host smtp.gmail.com[64.233.167.108] said: 530-5.5.1 Authentication Required. Learn more at 530 5.5.1 https://support.google.com/mail/?p=WantAuthError o51sm5005784wrc.48 - gsmtp (in reply to MAIL FROM command)) Aug 4 15:48:12 tuleap postfix/cleanup[19140]: 36A1AA0C37: message-id=20170804104812.36A1AA0C37@tuleap.kpezdmc.local Aug 4 15:48:12 tuleap postfix/bounce[19165]: E2EE8A0C30: sender non-delivery notification: 36A1AA0C37 Aug 4 15:48:12 tuleap postfix/qmgr[19079]: E2EE8A0C30: removed Aug 4 15:48:12 tuleap postfix/qmgr[19079]: 36A1AA0C37: from=<>, size=2610, nrcpt=1 (queue active) Aug 4 15:48:13 tuleap postfix/smtp[19166]: 36A1AA0C37: to=root@tuleap.kpezdmc.local, relay=smtp.gmail.com[64.233.167.108]:587, delay=1.5, delays=0/0.03/1.3/0.17, dsn=5.5.1, status=bounced (host smtp.gmail.com[64.233.167.108] said: 530-5.5.1 Authentication Required. Learn more at 530 5.5.1 https://support.google.com/mail/?p=WantAuthError p140sm3639451wmb.28 - gsmtp (in reply to MAIL FROM command)) Aug 4 15:48:13 tuleap postfix/qmgr[19079]: 36A1AA0C37: removed
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
i am not using gsuite.i have already setup username and password in sasl_passwd file
Hi @postfixuser
Like the error says,
Authentication Required
, so have you setup a username and password for relaying? If you’re using G Suite, it’s recommended to use the SMTP Relay: https://support.google.com/a/answer/2956491?hl=en