Page 1 of 1

Email campaigs problems

PostPosted: Mon Jun 04, 2018 5:18 pm
by Alfio
Hi

I just set up an email campaign and Im having two issues with that:

This is the output of the command:

/usr/share/astguiclient/AST_inbound_email_parser.pl --debugX


1 - EmailIN - MailEntry
NO-CHECK - MIN: 1079 FREQ: 5
script execution time in seconds: 0 minutes: 0

I have to run the command with the switch --force-check to get the incoming emails to work, When i run /usr/share/astguiclient/AST_inbound_email_parser.pl --debugX --force-check the incoming emails works fine and going to the agents in the campaigs.( I can put a cron to run that every five minutes but i want to know if it is a bug or something)

The second problem is for outbound email, when the agents reply a incoming messages, the got an error : ERROR - ID variable missing, I dont know if i have to set up the main.cf of the postfix manually or the vicidial use the credentials in email setup, because the email logs show me :

2018-06-04T18:13:27.055042-04:00 vicibox8 postfix/pickup[2315]: 0D62F1A0667: uid=30 from=<wwwrun>
2018-06-04T18:13:27.069520-04:00 vicibox8 postfix/cleanup[13665]: 0D62F1A0667: message-id=<20180604221327.0D62F1A0667@localhost>
2018-06-04T18:13:27.072861-04:00 vicibox8 postfix/qmgr[2316]: 0D62F1A0667: from=<wwwrun@localhost>, size=751, nrcpt=1 (queue active)
2018-06-04T18:13:57.484349-04:00 vicibox8 postfix/smtp[13667]: connect to vade-in1.mail.dreamhost.com[66.33.205.212]:25: Connection timed out
2018-06-04T18:14:27.512997-04:00 vicibox8 postfix/smtp[13667]: connect to vade-in2.mail.dreamhost.com[66.33.205.213]:25: Connection timed out
2018-06-04T18:14:27.529748-04:00 vicibox8 postfix/smtp[13667]: 0D62F1A0667: to=<alfio@issabel.com>, relay=none, delay=60, delays=0.05/0.01/60/0, dsn=4.4.1, status=deferred (connect to vade-in2.mail.dreamhost.com[66.33.205.213]:25: Connection timed out)

And I dont see my account trying to send the email, instead of I see a: from=<wwwrun@localhost> who is email from.

Do i have to set up a relay host manually on the postfix or what do i have to include or modify to get outbound emails to work.

Thanks in advanced.

- ViciBox v.8.0.1
Asterisk 11.25.1-vici
VERSION: 2.14-676a
BUILD: 180530-0017
CPU i5, 8gb DDR, No digium or sangoma Hardware
No additional software installed

Re: Email campaigs problems

PostPosted: Wed Jun 19, 2019 10:03 pm
by williamconley
1) Verify outbound emails work from the server itself first. Not related to the email function inside Vicidial's "agent email system". Perhaps an email to VM in asterisk, or just directly from the CLI. once that works, you should otherwise be good to go ... UNTIL that works, of course it won't work in Vicidial either.

2) Do note that generating email from a non-email server on a random IP on the internet is very likely to get your IP marked as SPAM and blacklisted. Set up SPF. Set up a reverse hostname lookup with your ISP. OR configure your system to send through a known email forwarded (gmail, live, etc) which will require a bit of configuration, but should work forever without any blacklisting (unless, of course, you piss of the forwarder by spamming!).

3) Good job posting your specs. 8-)

4) I'm not sure I understand your "NO CHECK" error. It sounds as if you've run the request so early it doesn't want to check again so soon. Have you checked the options for this script?

Re: Email campaigs problems

PostPosted: Wed Jun 23, 2021 10:29 am
by GenXOutsourcing
I know this is an old thread, but I am having the same issue.

Outbound emails work fine, Inbound work if I add --force-check.

[root@database ~]# /usr/share/astguiclient/AST_inbound_email_parser.pl --debugX
1 - 000101062020 - IFMTestEmail
NO-CHECK - MIN: 684 FREQ: 5

Re: Email campaigs problems

PostPosted: Mon Nov 22, 2021 8:15 am
by bronson
GenXOutsourcing wrote:I know this is an old thread, but I am having the same issue.

Outbound emails work fine, Inbound work if I add --force-check.

[root@database ~]# /usr/share/astguiclient/AST_inbound_email_parser.pl --debugX
1 - 000101062020 - IFMTestEmail
NO-CHECK - MIN: 684 FREQ: 5


Hi did you figure this out? I'm having the same problem. My mail is only checked when I force-check.