HELP!! SMTP Issues, Lost Voicemail

xtechdata

Joined
Dec 31, 2008
Messages
5
Likes
0
Points
0
#1
I did an update a few months ago, and didn't realize that it blasted my SMTP settings.

The voicemail boxes are configured to send an email with the voicemail attached as a wav file, the delete the voicemail.

The relayhost was not set, so none of the emails where going out. I've already fixed this, and everything is working fine again, but I cannot find the old voicemails that never got sent. I've looked in the /var/spool/postfix/ directories and didn't find anything.

Where can I find the emails that weren't sent successfully (bad mail) ?

I did stop & start the postfix server to apply the relay host change....
 

dwells

Joined
Sep 29, 2009
Messages
127
Likes
0
Points
0
#2
xtechdata said:
Where can I find the emails that weren't sent successfully (bad mail) ?
The files would be in folders: /var/spool/postfix/*.*

If you have webmin installed it will be under <servers><postfix><mail queue>
If you have everything corrected, I beleive you can force a flush on the system, sending all queued mail out.

check it: mailq
flush it: postfix flush OR postfix -f
Delete them: postsuper -d ALL
 

xtechdata

Joined
Dec 31, 2008
Messages
5
Likes
0
Points
0
#3
Thanks for the quick response. I did the mailq and it says the mail queue is empty. :(
 

dwells

Joined
Sep 29, 2009
Messages
127
Likes
0
Points
0
#4
Is it possible, that the mail was sent? Have you looked through all logs? (or was an email going to you and you never got them as well? as in did you leave yourself a voicemail?)

Whatever the update did, may have been more than a config thing.
IF $MAIL_SENT = "NO";THEN
ECHO "They're gone.";
ECHO "My apologies on the loss...";
EXIT 0
ELSE
ECHO "Check Your Email!";
FI
 

xtechdata

Joined
Dec 31, 2008
Messages
5
Likes
0
Points
0
#5
This is the only thing I could find on the /var/log/maillog. (Original domain replaced with domain.com)

Oct 12 04:02:08 voip postfix/pickup[20129]: 91A926B0A34: uid=0 from=<root>
Oct 12 04:02:08 voip postfix/cleanup[20598]: 91A926B0A34: message-id=<20091012080208.91A926B0A34@voip.domain.com>
Oct 12 04:02:08 voip postfix/qmgr[2959]: 91A926B0A34: from=<root@domain.com>, size=3465, nrcpt=1 (queue active)
Oct 12 04:02:08 voip postfix/smtp[20611]: 91A926B0A34: to=<root@domain.com>, orig_to=<root>, relay=none, delay=1.5, delays=1.4/0.03/0/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=domain.com type=A: Host found but no data record of requested type)
Oct 12 04:02:08 voip postfix/cleanup[20598]: A82506B0A36: message-id=<20091012080208.A82506B0A36@voip.domain.com>
Oct 12 04:02:08 voip postfix/bounce[20614]: 91A926B0A34: sender non-delivery notification: A82506B0A36
Oct 12 04:02:08 voip postfix/qmgr[2959]: A82506B0A36: from=<>, size=5446, nrcpt=1 (queue active)
Oct 12 04:02:08 voip postfix/qmgr[2959]: 91A926B0A34: removed
Oct 12 04:02:08 voip postfix/smtp[20611]: A82506B0A36: to=<root@domain.com>, relay=none, delay=0.02, delays=0.02/0/0/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=domain.com type=A: Host found but no data record of requested type)
Oct 12 04:02:08 voip postfix/qmgr[2959]: A82506B0A36: removed
Oct 12 04:02:09 voip postfix/pickup[20129]: 2F36D6B0A37: uid=0 from=<root>
Oct 12 04:02:09 voip postfix/cleanup[20598]: 2F36D6B0A37: message-id=<20091012080209.2F36D6B0A37@voip.domain.com>
Oct 12 04:02:09 voip postfix/qmgr[2959]: 2F36D6B0A37: from=<root@domain.com>, size=1581, nrcpt=1 (queue active)
Oct 12 04:02:09 voip postfix/smtp[20611]: 2F36D6B0A37: to=<faxmaster@domain.com>, orig_to=<faxmaster>, relay=none, delay=0.06, delays=0.06/0/0/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=domain.com type=A: Host found but no data record of requested type)
Oct 12 04:02:09 voip postfix/cleanup[20598]: 3DDFE6B0D02: message-id=<20091012080209.3DDFE6B0D02@voip.domain.com>
Oct 12 04:02:09 voip postfix/bounce[20614]: 2F36D6B0A37: sender non-delivery notification: 3DDFE6B0D02
Oct 12 04:02:09 voip postfix/qmgr[2959]: 3DDFE6B0D02: from=<>, size=3582, nrcpt=1 (queue active)
Oct 12 04:02:09 voip postfix/qmgr[2959]: 2F36D6B0A37: removed
Oct 12 04:02:09 voip postfix/smtp[20611]: 3DDFE6B0D02: to=<root@domain.com>, relay=none, delay=0.02, delays=0.02/0/0/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=domain.com type=A: Host found but no data record of requested type)
Oct 12 04:02:09 voip postfix/qmgr[2959]: 3DDFE6B0D02: removed
Oct 12 04:02:16 voip postfix/pickup[20129]: 987536B0A32: uid=0 from=<root>
Oct 12 04:02:16 voip postfix/cleanup[20598]: 987536B0A32: message-id=<20091012080216.987536B0A32@voip.domain.com>
Oct 12 04:02:16 voip postfix/qmgr[2959]: 987536B0A32: from=<root@domain.com>, size=700, nrcpt=1 (queue active)
Oct 12 04:02:16 voip postfix/smtp[20611]: 987536B0A32: to=<root@domain.com>, orig_to=<root>, relay=none, delay=8, delays=8/0/0/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=domain.com type=A: Host found but no data record of requested type)
Oct 12 04:02:16 voip postfix/cleanup[20598]: 9ED206B0A37: message-id=<20091012080216.9ED206B0A37@voip.domain.com>
Oct 12 04:02:16 voip postfix/bounce[20614]: 987536B0A32: sender non-delivery notification: 9ED206B0A37
Oct 12 04:02:16 voip postfix/qmgr[2959]: 9ED206B0A37: from=<>, size=2681, nrcpt=1 (queue active)
Oct 12 04:02:16 voip postfix/qmgr[2959]: 987536B0A32: removed
Oct 12 04:02:16 voip postfix/smtp[20611]: 9ED206B0A37: to=<root@domain.com>, relay=none, delay=0.02, delays=0.02/0/0/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=domain.com type=A: Host found but no data record of requested type)
Oct 12 04:02:16 voip postfix/qmgr[2959]: 9ED206B0A37: removed
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#6
Perhaps because there is no mail server (DNS MX record) at "domain.com" ?:


.
.
Oct 12 04:02:16 voip postfix/smtp[20611]: 9ED206B0A37: to=< root@domain.com >, relay=none, delay=0.02, delays=0.02/0/0/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=domain.com type=A: Host found but no data record of requested type)
Oct 12 04:02:16 voip postfix/qmgr[2959]: 9ED206B0A37: removed
.
.

to test:

telnet "domain.com" 25
 

xtechdata

Joined
Dec 31, 2008
Messages
5
Likes
0
Points
0
#7
(Original domain replaced with domain.com)
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#8
I understood that, I replied to your post, i actually read it before I did so.

My suggestion stands, replace domain.com within the quotes (excluding the quote marks, which is why I quoted it) with your real domain.
 

Telco

Joined
Oct 4, 2007
Messages
275
Likes
0
Points
0
#9
I have the same problem I think. I upgraded to 1.5.2 and now my voice mails don't go to my email. I don't know what to do to fix. I thought it might be because of I upgraded so I also installed a fresh version of 1.5.2 on a new server and created one ext with mailbox. I left a message and it too did not deliver to my email. Is this a problem with 1.5.2 or did the way it works change. It used to just work right a way with no configuration.

Any help would be appreciated

Chris
 

dwells

Joined
Sep 29, 2009
Messages
127
Likes
0
Points
0
#10
xtechdata, I think dicko is on to something there. all your emails from the first one down got bounced, because of an 'A' Record problem: Name service error for name=domain.com type=A: Host found but no data record of requested type)~(So yes, your "domain.com" is there, but the system can't send data to it)
It seems to happen to all your emails from the top down. It happened when root sent mail to root, and when root sent mail to faxmaster.
Because of that kind of error, the email was removed from the system...and not ever sent again.
this would explain mailq=NULL.

So...The emails are indeed 100% gone. It was your email system(qmgr) that removed them because of an A Record fault somewhere.
 

xtechdata

Joined
Dec 31, 2008
Messages
5
Likes
0
Points
0
#11
The configuration that got deleted during the update was the relayhost=mail.******* in /etc/postfix/main.cf , I figured that out already, but I was hoping that it saved the affected voicemails/emails somewhere, but it looks like it didn't. Really stinks, but not the end of the world.
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,915
Messages
130,920
Members
17,595
Latest member
feparra121
Top