Nucleus
(BlazeStar)
June 5, 2014, 3:11am
1
Hi guys,
Just installed the 64 bit version of FreePBX, Stable-5.211.65-13 (FreePBX 2.11, Linux 6.5 and Asterisk 11)
It’s the first time I actually install the distro.
I was looking around the GUI to find out how to configure the SMTP server (I use the ISP’s SMTP so no authentication required, all very basic) and I found two things:
http://wiki.freepbx.org/display/FCM/System+Admin-Admin+Guide
This seems to be a paid commercial module so I won’t consider this for now
and:
http://wiki.freepbx.org/display/L1/Setup+Postfix+Manually
So I did exactly that (the first part: Setting Relay Host in Postfix - since I do not required authentication) and reloaded.
Now something weird… the fax reception does work… (i’m getting emails with PDF attached) but NOT the voicemails!
I did configure a specific extension on the GUI to send emails and tripled checked.
I rebooted the server, left another message, and still no luck.
Any idea what’s going on?
dicko
(dicko)
June 5, 2014, 3:35am
2
Hard to say immediately, the voicemail application preceded asterisk per-se, it is still “comedian mail” after all these years and the setup is done simply in a flat file called /etc/asterisk/voicemail.conf, If you use postfix as your MTA and a Redhat based OS then examine /var/log/maillog for the “why’s” of failure on your vmails it is usually self explanatory as to why it didn’t get there.
Nucleus
(BlazeStar)
June 5, 2014, 5:10pm
3
Hi,
Not sure what’s going there… everything seems ok but yet I don’t receive voicemail messages.
/etc/asterisk/voicemail.conf is all good
Here’s an extract of:
/var/log/maillog
Jun 5 12:13:18 localhost postfix/pickup[4310]: A200420DD7: uid=499 from=
Jun 5 12:13:18 localhost postfix/cleanup[4877]: A200420DD7: message-id=[email protected]
Jun 5 12:13:18 localhost postfix/qmgr[1354]: A200420DD7: from=[email protected] , size=76149, nrcpt=1 (queue active)
Jun 5 12:13:18 localhost postfix/smtp[4887]: A200420DD7: to=, relay=XXX[XXX]:25, delay=0.35, delays=0.05/0.01/0.02/0.27, dsn=2.5.0, status=sent (250 2.5.0 Ok, envelope id [email protected] )
Jun 5 12:13:18 localhost postfix/qmgr[1354]: A200420DD7: removed
dicko
(dicko)
June 5, 2014, 5:35pm
4
Then you will have to check the logs for xxx and the relay through xxx email from anyone at localhost.localdomain will often be rejected as spam
Nucleus
(BlazeStar)
June 5, 2014, 5:40pm
5
Just modified:
/etc/sysconfig/network
and configured a qualified hostname.
Jun 5 13:37:00 XXX postfix/pickup[1346]: 1F6C920DEB: uid=499 from=
Jun 5 13:37:00 XXX postfix/cleanup[2434]: 1F6C920DEB: message-id=Asterisk-1-1532118019-777-1774@XXX
Jun 5 13:37:00 XXX postfix/qmgr[1347]: 1F6C920DEB: from=asterisk@XXX , size=85773, nrcpt=1 (queue active)
Jun 5 13:37:00 XXX postfix/smtp[2457]: 1F6C920DEB: to=, relay=XXX[24.201.245.36]:25, delay=0.36, delays=0.04/0.01/0.03/0.28, dsn=2.5.0, status=sent (250 2.5.0 Ok, envelope id [email protected] )
Jun 5 13:37:00 XXX postfix/qmgr[1347]: 1F6C920DEB: removed
Still no incoming mail
dicko
(dicko)
June 5, 2014, 5:48pm
6
As I said, check the mailserver logs at XXX or directly with videotron
Jun 5 13:37:00 XXX postfix/smtp[2457]: 1F6C920DEB: to=, relay=XXX[24.201.245.36]:25, delay=0.36, delays=0.04/0.01/0.03/0.28, dsn=2.5.0, status=sent (250 2.5.0 Ok, envelope id
which accepted the message
Nucleus
(BlazeStar)
June 5, 2014, 6:46pm
7
Yup that’s what I’m seeing too…
But VIDEOTRON, the ISP, is quite surprisingly bad when it comes to tech support.
On my OS X Mail client I use the same smtp server on port 25 and no problem… so I’m guessing it must come from a config somewhere in FreePBX / Postfix
I’ll keep digging!
Nucleus
(BlazeStar)
June 7, 2014, 4:18am
8
Yeah so…
I found out what was wrong…
I was using a dummy address to send the emails, such as [email protected]
Turns out that my hosting email server verifies the existence of the sender email address before accepting it
So the emails were being sent, there were no blacklist anywhere, but the sender email didn’t exist
I wasted so much time on this :’(
Thanks guys for your help though!
dicko
(dicko)
June 7, 2014, 4:32am
9
I guess I am now plural, the logs rarely lie, even the third party ones -;