Re: [asterisk-users] voicemail not sending emails

2008-05-18 Thread Roberto Milani
Problem solved! msmtp from the command line was using the config file ~/.msmtprc (the one I configured) when called from asterisk msmtp uses /opt/local/etc/ msmtprc so I copied the config in there and voila the emails worked as a champ. Ciao Roberto On May 14, 2008, at 9:14 PM, Roberto Mila

Re: [asterisk-users] voicemail not sending emails

2008-05-15 Thread Roberto Milani
did that and still no email is asterisk logging something somewhere about errors in saving files or so? nothing shows up in the /tmp directory anyway I have verbose and debug set to 100 in the CLI but I see no error messages HELP! Roberto On May 15, 2008, at 1:29 AM, Tzafrir Cohen wrote: >

Re: [asterisk-users] voicemail not sending emails

2008-05-15 Thread Tzafrir Cohen
On Wed, May 14, 2008 at 09:14:44PM -0700, Roberto Milani wrote: > does the /tmp directory need to have some specific kind of mode/ > ownership? > mine is linked to /private/tmp and is lrwxr-xr-x root admin Yes, It is normally 1777 (all readable/writable/executable, but with the sticy bit, which m

Re: [asterisk-users] voicemail not sending emails

2008-05-14 Thread Roberto Milani
First of all thanks to everybody I feel the need to clarify the configuration. from the command line msmtp works, this means that ~.msmtrc is configured properly I removed the mailcmd line from voicemail.conf , renamed sendmail to sendmail.orig and created a link to msmtp called sendmail i

Re: [asterisk-users] voicemail not sending emails

2008-05-14 Thread Roberto Milani
does the /tmp directory need to have some specific kind of mode/ ownership? mine is linked to /private/tmp and is lrwxr-xr-x root admin Ciao Roberto On May 14, 2008, at 8:34 PM, Roberto Milani wrote: > That's what I thought, > and my voicemail.conf is: > > [general] > > format=wav > attach=yes

Re: [asterisk-users] voicemail not sending emails

2008-05-14 Thread Jose Flores Galicia
That's right. msmtp behave different depending on the user that invokes de command. I suppose you are running asterisk like root or asterisk user so the config file must be /root/.msmtprc or /home/asterisk/.msmtprc. Also, as david notice, in the voicemail.conf line >mailcmd=/opt/local/bin/msmtp -t

Re: [asterisk-users] voicemail not sending emails

2008-05-14 Thread Roberto Milani
That's what I thought, and my voicemail.conf is: [general] format=wav attach=yes serveremail= [EMAIL PROTECTED] emailsubject=New message from ${VM_CALLERID} emailbody=Hi, ${VM_NAME}!\n\nYou have a new message from $ {VM_CALLERID} in mailbox ${VM_MAILBOX}. fromstring=My Telephone System ;max an

Re: [asterisk-users] voicemail not sending emails

2008-05-14 Thread Tilghman Lesher
On Wednesday 14 May 2008 19:45:13 Roberto Milani wrote: > Good hint but I tested that too > > I sent the command line to the link called sendmail and I got my mail > just right > is there any other configuration in asterisk that might prevent it to > send mails? The only reason why it wouldn't sen

Re: [asterisk-users] voicemail not sending emails

2008-05-14 Thread Roberto Milani
Good hint but I tested that too I sent the command line to the link called sendmail and I got my mail just right is there any other configuration in asterisk that might prevent it to send mails? Ciao Roberto On May 14, 2008, at 5:11 PM, Tilghman Lesher wrote: > On Wednesday 14 May 2008 17:1

Re: [asterisk-users] voicemail not sending emails

2008-05-14 Thread Tilghman Lesher
On Wednesday 14 May 2008 17:19:09 Roberto Milani wrote: > I do have a mail transport agent configured > > It is msmtp and it is working just fine I tested it on the command > line and I receive the test email > > I have a link from sendmail pointing to msmtp. > but it never get called. I've noted

Re: [asterisk-users] voicemail not sending emails

2008-05-14 Thread Roberto Milani
--- > From: "david" <[EMAIL PROTECTED]> > To: "Asterisk Users Mailing List - Non-Commercial Discussion" > > Sent: Wednesday, May 14, 2008 1:00 PM > Subject: Re: [asterisk-users] voicemail not sending emails > > >> Roberto Milani wrote: >>&

Re: [asterisk-users] voicemail not sending emails

2008-05-14 Thread gres
AIL PROTECTED]> To: "Asterisk Users Mailing List - Non-Commercial Discussion" Sent: Wednesday, May 14, 2008 1:00 PM Subject: Re: [asterisk-users] voicemail not sending emails > Roberto Milani wrote: >> > >> >Roberto - I noticed in your original email you had the

Re: [asterisk-users] voicemail not sending emails

2008-05-14 Thread Roberto Milani
On May 14, 2008, at 1:18 PM, david wrote: > david wrote: >> Roberto Milani wrote: >> Roberto - I noticed in your original email you had the lines >>> something like mailcmd=/opt/local/bin/msmtp -t ; --from blah AND serveremail=from=blah In mailcmd everythin

Re: [asterisk-users] voicemail not sending emails

2008-05-14 Thread Roberto Milani
On May 14, 2008, at 1:00 PM, david wrote: > Roberto Milani wrote: >>> >>> Roberto - I noticed in your original email you had the lines >> something like >>> >>> mailcmd=/opt/local/bin/msmtp -t ; --from blah >>> AND >>> serveremail=from=blah >>> >>> In mailcmd everything after the ; will be ignore

Re: [asterisk-users] voicemail not sending emails

2008-05-14 Thread david
david wrote: > Roberto Milani wrote: > >> > >> >Roberto - I noticed in your original email you had the lines >> something like >> > >> >mailcmd=/opt/local/bin/msmtp -t ; --from blah >> > AND >> >serveremail=from=blah >> > >> >In mailcmd everything after the ; will be ignored as a comm

Re: [asterisk-users] voicemail not sending emails

2008-05-14 Thread david
Roberto Milani wrote: > > > >Roberto - I noticed in your original email you had the lines > something like > > > >mailcmd=/opt/local/bin/msmtp -t ; --from blah > > AND > >serveremail=from=blah > > > >In mailcmd everything after the ; will be ignored as a comment > >In serveremail - well

[asterisk-users] voicemail not sending emails

2008-05-14 Thread Roberto Milani
> >Roberto - I noticed in your original email you had the lines something like > >mailcmd=/opt/local/bin/msmtp -t ; --from blah > AND >serveremail=from=blah > >In mailcmd everything after the ; will be ignored as a comment >In serveremail - well - it should throw an error... > >I woul

Re: [asterisk-users] voicemail not sending emails

2008-05-14 Thread Brett Crapser
On Wed, 14 May 2008, Roberto Milani wrote: > From: OCG Technical Support <[EMAIL PROTECTED]> > > > Permissions? Try running msmtp from the asterisk account? (Assuming > > that is how you have it setup) > > I don't know msmtp - but is there a maillog equivalent? > > > > MD > > thanks for the re

[asterisk-users] voicemail not sending emails

2008-05-14 Thread Roberto Milani
Date: Tue, 13 May 2008 22:28:33 -0400 From: OCG Technical Support <[EMAIL PROTECTED]> Subject: Re: [asterisk-users] voicemail not sending emails To: 'Asterisk Users List' Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii" Permissi

Re: [asterisk-users] voicemail not sending emails

2008-05-14 Thread gres
t; <[EMAIL PROTECTED]> To: Sent: Tuesday, May 13, 2008 4:48 PM Subject: [asterisk-users] voicemail not sending emails > Hello list users > > I have a very nice installation of asterisk on a mac mini. > Everything seems to work fine, call works, vm works, even message > transfer

Re: [asterisk-users] voicemail not sending emails

2008-05-13 Thread Steve Totaro
ave it setup) > I don't know msmtp - but is there a maillog equivalent? > > MD > > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Roberto Milani > Sent: May 13, 2008 7:49 PM > To: Asterisk Users List

Re: [asterisk-users] voicemail not sending emails

2008-05-13 Thread Robert DeVries
Are you certain Asterisk is not sending the emails, rather than them not being received? i have had problems in the past with spam filters rejecting the emails. On Tue, May 13, 2008 at 4:48 PM, Roberto Milani < [EMAIL PROTECTED]> wrote: > Hello list users > > I have a very nice installation of

Re: [asterisk-users] voicemail not sending emails

2008-05-13 Thread OCG Technical Support
PM To: Asterisk Users List Subject: [asterisk-users] voicemail not sending emails Hello list users I have a very nice installation of asterisk on a mac mini. Everything seems to work fine, call works, vm works, even message transfer works but asterisk doesn't send any email. this is my voic

[asterisk-users] voicemail not sending emails

2008-05-13 Thread Roberto Milani
Hello list users I have a very nice installation of asterisk on a mac mini. Everything seems to work fine, call works, vm works, even message transfer works but asterisk doesn't send any email. this is my voicemail.conf: [general] mailcmd=/opt/local/bin/msmtp -t; [EMAIL PROTECTED] ;mailcmd=cat