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
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:
>
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
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
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
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
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
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
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
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
---
> 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:
>>&
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
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
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
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
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
>
>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
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
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
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
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
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
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
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
24 matches
Mail list logo