SV: [Asterisk-Users] Re: SV: Re: SV: Re: Fromstring when sending
e-mailonrecievedvoicemail
Arne Morten Johansen
amj at avio.no
Wed Feb 22 06:17:20 MST 2006
Thank you very much. For some reason "emailsubject" was not included in my example config. Well, it's working great now.
Last question, I promise :P. Is it possible to change the date format? I want it in Norwegian.
-----Opprinnelig melding-----
Fra: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] På vegne av Barry Flanagan
Sendt: 22. februar 2006 13:52
Til: Asterisk Users Mailing List - Non-Commercial Discussion
Emne: [Asterisk-Users] Re: SV: Re: SV: Re: Fromstring when sending e-mailonrecievedvoicemail
Arne Morten Johansen wrote:
> It's fixed now.
Great!
>
> In "/etc/mail/ssmtp.conf", this ("FromLineOverride=YES") line was commented out. Removing that comment did the trick :)
>
> Now I only need to change the e-mail's title. Is that possible?
>
Same way. In voicemail.conf: emailsubject and emailbody
; Change the from, body and/or subject, variables:
; VM_NAME, VM_DUR, VM_MSGNUM, VM_MAILBOX, VM_CALLERID, VM_CIDNUM,
; VM_CIDNAME, VM_DATE
;
; Note: The emailbody config row can only be up to 512 characters due to a
; limitation in the Asterisk configuration subsystem.
;emailsubject=[PBX]: New message ${VM_MSGNUM} in mailbox ${VM_MAILBOX}
; The following definition is very close to the default, but the default
shows
; just the CIDNAME, if it is not null, otherise just the CIDNUM, or "an
unknown
; caller", if they are both null.
emailbody=Dear ${VM_NAME}:\n\n\tjust wanted to let you know you were
just left a ${VM_DUR} long message (number ${VM_MSGNUM})\nin mailbox
${VM_MAILBOX} from ${VM_CALLERID}, on ${VM_DATE}, so you might\nwant
;
-Barry Flanagan
> -----Opprinnelig melding-----
> Fra: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] På vegne av Barry Flanagan
> Sendt: 22. februar 2006 13:25
> Til: Asterisk Users Mailing List - Non-Commercial Discussion
> Emne: [Asterisk-Users] Re: SV: Re: Fromstring when sending e-mail onrecievedvoicemail
>
>
>
> Arne Morten Johansen wrote:
>
>>As mentioned earlier I did try that. Someone suggested that there might be an issue with sendmail not "trusting" the asterisk user. And the default behaviour of that is to not allow modification of the "fromstring" and "serveremail". So if you have any idea how to fix that in Gentoo I would really appreciate it.
>>
>
>
> What package provides sendmail in Gentoo? Sendmail, Postfix, Exim are
> all possibilities...
>
> -Barry
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
-Barry Flanagan
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list