Pop3 email

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Pop3 email

Postby ClearCall » Thu May 07, 2015 12:15 pm

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?
VERSION: 2.14-620a BUILD: 170623-2142
Asterisk: 1.8.32.0-vici
Installed from Vicibox iso.
Vicibox Redux Ver 6.0.2-140825
Open Suse Leap 42.3
ClearCall
 
Posts: 164
Joined: Fri Dec 03, 2010 12:21 pm

Re: Pop3 email

Postby ClearCall » Thu May 07, 2015 3:31 pm

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.
ClearCall
 
Posts: 164
Joined: Fri Dec 03, 2010 12:21 pm

Re: Pop3 email

Postby mflorell » Fri May 08, 2015 5:39 am

Thanks for the note!
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: No registered users and 81 guests