Voicemail to email works except for the attachment - timeout

Hi All,

First, thanks to everyone here and especially the developers in providing such a great program.

I have first installed a test system and was able to get everything to work (without the problem described below).

Now, with my production system, I could not get voicemail to email with attachments to work (notice with sound file). Voicemail to email without attachments works fine (notice only).

I have tried postfix mail as well without success. The error condition is “451 timeout”. Any advice or suggestions as to what to try next? Is there certain modules that I should downgrade?

Please help! I’m out of ideas as to what to try next – other than a complete reinstall.

Thank you all for helping.

Asterisk 1.6.2.11
FreePbx 2.8.0.3
Sendmail 8.13.8
Centos 5.5
PBX in a Flash 1.7.5.5-2

Sailor

Here is the tail of /var/log/maillog:

Sep 29 16:54:21 pbx sm-msp-queue[15243]: starting daemon (8.13.8): queueing@01:00:00
Sep 29 16:55:00 pbx sendmail[15254]: o8TNt0M6015254: from=asterisk, size=10552, class=0, nrcpts=1, msgid=<[email protected]$
Sep 29 16:55:01 pbx sendmail[15255]: o8TNt0Ug015255: from=<[email protected]*****.com>, size=10683, class=0, nrcpts=1, msgid=<Asterisk-1-373693$
Sep 29 16:55:01 pbx sendmail[15254]: o8TNt0M6015254: to=“Emil” <emil@vp*****.com>, ctladdr=asterisk (101/102), delay=00:00:01, xdelay=00:00:0$
Sep 29 17:05:01 pbx sendmail[15257]: o8TNt0Ug015255: to=<emil@.com>, ctladdr=<[email protected].com> (101/102), delay=00:10:01, xde$
Sep 29 17:08:46 pbx postfix/postfix-script: starting the Postfix mail system
Sep 29 17:08:46 pbx postfix/master[15699]: daemon started – version 2.3.3, configuration /etc/postfix
Sep 29 17:09:31 pbx sendmail[15755]: o8U09VGu015755: from=asterisk, size=10375, class=0, nrcpts=1, msgid=<Asterisk-2-1859290113-111-3946@pbx.$
Sep 29 17:09:31 pbx postfix/smtpd[15756]: connect from pbx..com[127.0.0.1]
Sep 29 17:09:31 pbx postfix/smtpd[15756]: BCC4C63980A0: client=pbx.
.com[127.0.0.1]
Sep 29 17:09:31 pbx postfix/cleanup[15759]: BCC4C63980A0: message-id=[email protected]
Sep 29 17:09:31 pbx sendmail[15755]: o8U09VGu015755: to=“Emil” <emil@vp*****.com>, ctladdr=asterisk (101/102), delay=00:00:00, xdelay=00:00:0$
Sep 29 17:09:31 pbx postfix/qmgr[15701]: BCC4C63980A0: from=<[email protected]*****.com>, size=10852, nrcpt=1 (queue active)
Sep 29 17:09:32 pbx postfix/smtpd[15756]: disconnect from pbx.vp*****.com[127.0.0.1]
Sep 29 17:12:32 pbx postfix/smtp[15760]: BCC4C63980A0: host relay.pair.com[209.68.5.17] said: 451 timeout (#4.4.2) (in reply to end of DATA c$
Sep 29 17:13:44 pbx postfix/postfix-script: stopping the Postfix mail system
Sep 29 17:13:44 pbx postfix/master[15699]: terminating on signal 15
Sep 29 17:13:49 pbx sendmail[16221]: alias database /etc/aliases rebuilt by root
Sep 29 17:13:49 pbx sendmail[16221]: /etc/aliases: 76 aliases, longest 10 bytes, 765 bytes total
Sep 29 17:13:49 pbx sendmail[16226]: starting daemon (8.13.8): SMTP+queueing@01:00:00
Sep 29 17:13:49 pbx sm-msp-queue[16234]: starting daemon (8.13.8): queueing@01:00:00

Hi Obelisk,

Thanks for the tips. I had previously disabled pipelining without success. What I have done now is upgrade to Asterisk 1.6.2.13 and the problem went away!

I downloaded Asterisk 1.6.2.13, did ./configure, make, and make install. So far voicemail to email with attachment is working!

Would this upgrade process cause other things to break? Thanks for your help!

It seems the server you are relaying to is having problems. Can you relay through a different one ?
You can also try disabling PIPELINING and 8BITMIME via smtp_discard_ehlo_keywords

Below is the log from sendmail and Postfix. The apparent issue is that the end-of-data command is not sent.

Would it be advisable to upgrade to Asterisk 1.6.2.13? Are there other things to try?

Thanks!

Running /var/spool/mqueue/o8TKuSL4013836 (sequence 1 of 1)
<emil@vp*****.com>… Connecting to relay.pair.com. via relay…
220 relay00.pair.com ESMTP

EHLO pbx.vp*****.com
250-relay00.pair.com
250-PIPELINING
250 8BITMIME
MAIL From:<[email protected]*****.com>
250 ok
RCPT To:<emil@vp*****.com>
DATA
250 ok
354 go ahead
.
451 timeout (#4.4.2)
<emil@vp*****.com>… Deferred: 451 timeout (#4.4.2)
Closing connection to relay.pair.com.
QUIT

FROM POSTFIX

Sep 30 16:34:24 pbx postfix/smtp[3818]: name_mask: software
Sep 30 16:36:04 pbx postfix/smtp[3831]: 3AA5163980AC: to=[email protected], relay=relay.pair.com[209.68.5.16]:25, delay=1201, delays=0.07/0.01/601/600, dsn=4.4.2, status=deferred (conversation with relay.pair.com[209.68.5.16] timed out while sending end of data – message may be sent more than once)

Put 209.68.5.17 in debug_peer_list in /etc/postfix/main.cf and reload postfix to see what happens when postfix is trying to send mail to pair.com.