Page 1 of 1

Pop3 email

PostPosted: Thu May 07, 2015 12:15 pm
by ClearCall
I have an email ingroup working fine with 2 IMAP accounts.

I tried setting up a POP3 account (I know the emails will be deleted) but it won't work. When I run AST_inbound_email_parser.pl --debugX I get an error about the password but I know the password is correct because I copied the username and password I have in the Vicidial settings and pasted it directly at the online web email login screen and I got into the email account.
I also changed the .pl script to display $VARemail_pwd in the debug message so I know the password isn't being 'modified'. The password contains no special characters and is 8 characters long.

I changed the email in the below text to xxx@xxx.com


Attempting to connect to POP3 server (pop.secureserver.net)

POP3 <- +OK <3914.1431018045@pop.secureserver.net>
at /usr/share/astguiclient/AST_inbound_email_parser.pl line 619.
POP3 -> APOP xxx@xxx.com fce424072242d8b5ec01556a96a4c688
at /usr/share/astguiclient/AST_inbound_email_parser.pl line 619.
POP3 <- warning: auth_error: authorization failed (authorization failed wrong password)
at /usr/share/astguiclient/AST_inbound_email_parser.pl line 619.
POP3 -> NOOP
at /usr/share/astguiclient/AST_inbound_email_parser.pl line 619.
POP3 <- -ERR authorization failed Check your server settings.
at /usr/share/astguiclient/AST_inbound_email_parser.pl line 619.
Error connecting to server. Please try again later.

Any thoughts?

Re: Pop3 email

PostPosted: Thu May 07, 2015 3:31 pm
by ClearCall
I got it to work by adding AUTH_MODE => "PASS" as a parameter at line 619:

$pop = new Mail::POP3Client( USER => "$VARemail_user",
PASSWORD => "$VARemail_pwd",
HOST => "$VARemail_server",
PORT => 995,
USESSL => true,
AUTH_MODE => "PASS",
DEBUG => "$DBX",
)

Perhaps this should be added as a field in Vicidial because if I later try to add another POP3 account that uses APOP or CRAM-MD5 the code will fail. The default value for this field is BEST.

Re: Pop3 email

PostPosted: Fri May 08, 2015 5:39 am
by mflorell
Thanks for the note!