Page 1 of 1

Email agent problems :(

PostPosted: Thu May 23, 2019 6:22 pm
by cvillarreal77
i have problems with email agent..

i have vicibox 8.1.2

Version: 2.14b0.5
SVN Version: 3047

i configured with gmail..

the steps are:

1. Installed following perl Cpan modules

cpan
install LWP::UserAgent
install HTML::Entities
install HTML::Strip
install HTML::FormatText
install HTML::TreeBuilder
install Switch
install Time::Local
install MIME::Decoder
install Mail::POP3Client
install Mail::IMAPClient
install Mail::Message
install Mail::Box
install IO::Socket::SSL
install MIME::Base64

cpan[1]> install LWP::UserAgent
Reading '/root/.cpan/Metadata'
Database was generated on Thu, 23 May 2019 20:57:06 GMT
LWP::UserAgent is up to date (6.39).

cpan[2]> install HTML::Entities
HTML::Entities is up to date (3.69).

cpan[3]> install HTML::Strip
HTML::Strip is up to date (2.10).

cpan[4]> install HTML::FormatText
HTML::FormatText is up to date (2.16).

cpan[5]> install HTML::TreeBuilder
HTML::TreeBuilder is up to date (5.07).

cpan[6]> install Switch
Switch is up to date (2.17).

cpan[7]> install Time::Local
Time::Local is up to date (1.28).

cpan[8]> install MIME::Decoder
MIME::Decoder is up to date (5.509).

cpan[9]> install Mail::POP3Client
Mail::POP3Client is up to date (2.19).

cpan[10]> install Mail::IMAPClient
Mail::IMAPClient is up to date (3.42).

cpan[11]> install Mail::Message
Mail::Message is up to date (3.008).

cpan[12]> install Mail::Box
Mail::Box is up to date (3.007).

cpan[13]> install IO::Socket::SSL
IO::Socket::SSL is up to date (2.066).

cpan[14]> install MIME::Base64
MIME::Base64 is up to date (3.15).

2. Enabled allow emails in System Settings "1"
3. Enabled Modify Email Accounts option in user interface Options
4. Added Email group inside Inbound Menu , active y
5. Added IMAP Email Account inside Admin->Email Accounts ---->email reply-to
address (which is just the actual email address on the account) and the email
account server is entered properly (ex: gmail is imap.gmail.com). frecuency 5 minutes , active =y
6. Enabled Allow Emails in Campaign Settings active=y
7. Added /usr/share/astguiclient/AST_inbound_email_parser.pl in cronttab -e , already
8.-check In-Group Call Handle Method" setting for the associated email
account,
9.-sure that the "E" keepalive is present in the
/etc/astguiclient.conf
VARactive_keepalives => 123456789E
10.-campaign , detail, Allowed Inbound Groups" section,
check the box next to each email in-group that the campaign will take.


an the error thay i see are:
1.-the only way that emails work is with the option ./AST_inbound_email_parser.pl--- force-check.... , Could Gmail have a problem? what do the option force-check?
2.-when the agents are paused, dont show the emails in queue in the email section, only shows the emails in the admin seccion,then email "Un-handled Emails: "
3.- the attachment of microsoft office in the incoming mail, dont works ,only photos
4.-which means the error that comes out in the main window "ERROR -ID variable missin" should show like a inbox like oulook? :)
5.-the email agent is compatible with calls and chat to same time? :)

Re: Email agent problems :(

PostPosted: Mon May 27, 2019 7:14 pm
by cvillarreal77
:cry: :cry: :cry: :cry: :cry: :cry:

Re: Email agent problems :(

PostPosted: Sat Jul 20, 2024 12:52 pm
by tuky_2
Greetings, ... I am stuck in the same situation, could you please help me, the scenario is identical ... thank you very much for your attention and help, the only way for emails to work is with --force-check

Re: Email agent problems :(

PostPosted: Thu Jul 25, 2024 2:22 pm
by williamconley
tuky_2 wrote:Greetings, ... I am stuck in the same situation, could you please help me, the scenario is identical ... thank you very much for your attention and help, the only way for emails to work is with --force-check


1) Welcome to the Party! 8-)

2) As you are obviously new here, I have some suggestions to help us all help you:

When you post, please post your entire configuration including (but not limited to) your installation method (11.X.X?) and vicidial version with build (VERSION: 2.X-XXXx ... BUILD: #####-####).

This IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)

You should also post: Asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box. If your installation method is "manual/from scratch" you must post your operating system with version (and the .iso version from which you installed your original operating system) plus a link to the installation instructions you used. If your installation is "Hosted" list the site name of the host.

If this is a "Cloud" or "Virtual" server, please note the technology involved along with the version of that techology (EG: vSphere Version 6.X.X). If it is not, merely stating the Motherboard model # and CPU would be helpful.

Similar to This:

Vicibox 11.X.X from .iso | Vicidial X.X.X-XXX Build XXXXXX-XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel DG35EC Mbd | Core2Quad Q6600 CPUs

Re: Email agent problems :(

PostPosted: Mon Jul 29, 2024 7:42 am
by tuky_2
i have problems with email agent..

i have vicibox 8.1.2

Version: 2.14b0.5
SVN Version: 3047

i configured with gmail..

the steps are:

1. Installed following perl Cpan modules

cpan
install LWP::UserAgent
install HTML::Entities
install HTML::Strip
install HTML::FormatText
install HTML::TreeBuilder
install Switch
install Time::Local
install MIME::Decoder
install Mail::POP3Client
install Mail::IMAPClient
install Mail::Message
install Mail::Box
install IO::Socket::SSL
install MIME::Base64

cpan[1]> install LWP::UserAgent
Reading '/root/.cpan/Metadata'
Database was generated on Thu, 23 May 2019 20:57:06 GMT
LWP::UserAgent is up to date (6.39).

cpan[2]> install HTML::Entities
HTML::Entities is up to date (3.69).

cpan[3]> install HTML::Strip
HTML::Strip is up to date (2.10).

cpan[4]> install HTML::FormatText
HTML::FormatText is up to date (2.16).

cpan[5]> install HTML::TreeBuilder
HTML::TreeBuilder is up to date (5.07).

cpan[6]> install Switch
Switch is up to date (2.17).

cpan[7]> install Time::Local
Time::Local is up to date (1.28).

cpan[8]> install MIME::Decoder
MIME::Decoder is up to date (5.509).

cpan[9]> install Mail::POP3Client
Mail::POP3Client is up to date (2.19).

cpan[10]> install Mail::IMAPClient
Mail::IMAPClient is up to date (3.42).

cpan[11]> install Mail::Message
Mail::Message is up to date (3.008).

cpan[12]> install Mail::Box
Mail::Box is up to date (3.007).

cpan[13]> install IO::Socket::SSL
IO::Socket::SSL is up to date (2.066).

cpan[14]> install MIME::Base64
MIME::Base64 is up to date (3.15).

2. Enabled allow emails in System Settings "1"
3. Enabled Modify Email Accounts option in user interface Options
4. Added Email group inside Inbound Menu , active y
5. Added IMAP Email Account inside Admin->Email Accounts ---->email reply-to
address (which is just the actual email address on the account) and the email
account server is entered properly (ex: gmail is imap.gmail.com). frecuency 5 minutes , active =y
6. Enabled Allow Emails in Campaign Settings active=y
7. Added /usr/share/astguiclient/AST_inbound_email_parser.pl in cronttab -e , already
8.-check In-Group Call Handle Method" setting for the associated email
account,
9.-sure that the "E" keepalive is present in the
/etc/astguiclient.conf
VARactive_keepalives => 123456789E
10.-campaign , detail, Allowed Inbound Groups" section,
check the box next to each email in-group that the campaign will take.


an the error thay i see are:
1.-the only way that emails work is with the option ./AST_inbound_email_parser.pl--- force-check.... , Could Gmail have a problem? what do the option force-check?
2.-when the agents are paused, dont show the emails in queue in the email section, only shows the emails in the admin seccion,then email "Un-handled Emails: "
3.- the attachment of microsoft office in the incoming mail, dont works ,only photos
4.-which means the error that comes out in the main window "ERROR -ID variable missin" should show like a inbox like oulook? :)
5.-the email agent is compatible with calls and chat to same time? :)

thank you very much for your attention and help, the only way for emails to work is with --force-check

ViciBox_v11.x86_64-11.0.1-md desde .iso | Vicidial 2.14-906a BUILD: 240214-2120 | Asterisk 16.30 | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Gigabyte GA-Z170M-D3H | CPU Intel(R) Core(TM) i7-6700

Re: Email agent problems :(

PostPosted: Sat Aug 03, 2024 9:16 pm
by williamconley
Vicidial Perl scripts can be executed with "--help" which provides some basic information for each script (including this one). EG:

Code: Select all
/usr/share/astguiclient/AST_inbound_email_parser.pl --help


You cannot check an email account more often than 5 minutes at a time. This is in place because several
email providers will lock an email account if it is being checked too often; currently the most restrictive
email provider encountered allows no more than three logins every 15 minutes, hence 5 minutes being the
most frequent time allowed.


which means the error that comes out in the main window "ERROR -ID variable missin" should show like a inbox like oulook? :)


Gmail (and most other providers) are now very picky about certain aspects of outbound emails. One of the recent requirements is that the expected Message-ID be provided in the header. The Message-ID is ordinarily what YOU would use to track the email/identify responses, etc. I have no idea why several systems suddenly decided it was necessary, but they did and they tend to block outbound emails without it.

https://support.google.com/a/answer/81126?hl=en
Format messages according to the Internet Format Standard (RFC 5322).

* Make sure every message includes a valid Message-ID.