Page 1 of 1

SMTP Auth Required

PostPosted: Thu Mar 21, 2013 3:52 pm
by amedina
Hi,

I tried using AST_VDsales_export.pl script to send sales report, the email section works fine in my gmail, but we are not receiving it in our server mail, see error below.

530 SMTP authentication is required. (in reply to RCPT TO command)

Please help.

----------------------------------------------------------------------------------
VERSION: 2.4b0.5 | BUILD: 110430-1642 | Asterisk Version: 1.4.38-vici | Cluster | No Digium/Sangoma Hardware | No Extra Software After Installation

Re: SMTP Auth Required

PostPosted: Fri Mar 22, 2013 7:05 am
by williamconley
i think i need a bit of clarification regarding "works fine in my gmail" vs "not receiving it in our server mail". Are you expecting to receive the email in the root user's email in the Vicidial server? I'm not clear what you mean by "our server email" and also I would like to know exactly where you got the error listing you posted. What file? Was there a line above that which indicated what was happening that resulted in this error email?

Re: SMTP Auth Required

PostPosted: Fri Mar 22, 2013 12:25 pm
by amedina
Hi,

See below command when running the script.
perl /usr/share/astguiclient/AST_VDsales_export.pl --email-list=athena.lusanta@gmail.com:amedina@patriotgm.com --email-sender=athena.medina@patriotgm.com

I received the email with the attachment in my gmail account, but not in amedina@patriotgm.com. I received the error "Undelivered Mail Returned to Sender" in athena.medina@patriotgm.com from Mail Delivery System [MAILER-DAEMON@WH-VICIDB.site] with the below content.
This is the mail system at host WH-VICIDB.site.

I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can delete your own text from the attached returned message.

The mail system

<amedina@patriotgm.com>: host mail.patriotgm.com[xxx.xx.xx.xx] said: 530 SMTP
authentication is required. (in reply to RCPT TO command)

----------------------------------------------------------------------------------
VERSION: 2.4b0.5 | BUILD: 110430-1642 | Asterisk Version: 1.4.38-vici | Cluster | No Digium/Sangoma Hardware | No Extra Software After Installation

Re: SMTP Auth Required

PostPosted: Fri Mar 22, 2013 5:38 pm
by williamconley
your mail server is set to enforce SPF mail authentication or some other method. you'll have to check with them to find out which method they use. basically, they are saying that your Vicidial server is not a known whitelist mail server and not registered in the DNS records of patriotgm.com as "allowed to send email on our behalf" which is what SPF records are for.