Vm to Email Not Working

tknman0700

Joined
Oct 30, 2009
Messages
49
Likes
0
Points
0
#1
I have read through the EWT manual but still no luck..
Are there any debug steps that I can take on figuring out why my voicemails are not coming through as emails?
I see the maillog files.. I tried to delete them because they were so large that getting them to my machine over my wan link was slow.
There is now nothing in the maillog files...

How can I go about understanding why my mail is not being delivered?
Thanks
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#2
The problem was revealed in the files you deleted, you deleted maillog itself, this will disable the logging, easy answer reboot your machine, harder but faster answer, type man logrotate in bash and follow it.
 

tknman0700

Joined
Oct 30, 2009
Messages
49
Likes
0
Points
0
#3
Awesome.. box is rebooting now
Will try again..

mail is working because i can send by mail -s "test" me@mydomain.com and it works fine, but asterisk no email the voicemail.
 

tknman0700

Joined
Oct 30, 2009
Messages
49
Likes
0
Points
0
#4
found this when i try to leave msg

Dec 17 13:08:51 StLouisElastix postfix/postdrop[3276]: warning: mail_queue_enter: create file maildrop/293667.3276: Permission denied
 

tknman0700

Joined
Oct 30, 2009
Messages
49
Likes
0
Points
0
#5
[root@StLouisElastix log]# postfix check
postfix/postfix-script: warning: not owned by group postdrop: /var/spool/postfix/public
postfix/postfix-script: warning: not owned by group postdrop: /var/spool/postfix/maildrop

There is no postdrop group to grant access though
 

tknman0700

Joined
Oct 30, 2009
Messages
49
Likes
0
Points
0
#6
I chmod these folders to 777 and it seems to correct the problem but there is no postgroup to grant access to so I am confused to the correct resolution.
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#7
There should be

cat /etc/group|grep post

should return something like

mail:x:12:mail,postfix
postdrop:x:90:
postfix:x:89:

if so

chown postfix:postdrop /var/spool/postfix/public
chown postfix:postdrop /var/spool/postfix/maildrop

should fix it.
 

tknman0700

Joined
Oct 30, 2009
Messages
49
Likes
0
Points
0
#8
ok that got it.. the smiley messed it up through...
Code:
chown postfix:postdrop /var/spool/postfix/public
chown postfix:postdrop /var/spool/postfix/maildrop
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#9
You should chown 755 immediately or risk . . .
 

tknman0700

Joined
Oct 30, 2009
Messages
49
Likes
0
Points
0
#10
Thank you for your help here... I am unsure how something like this would have happened but I appreciate your help!
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#11
:) :)

It is my experience that machines do what you tell them, not what you want them to do. Deep introspection will perhaps reveal the steps you (or some rogue agent) did to create this mis-configuration.

Glad you got it working.
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,565
Latest member
omarmenichetti
Top