Re: [asterisk-users] How to change sendmail return path
shadowym wrote: What creates the asterisk mailbox? Does that happen when I make asterisk? Maybe there are some clues in that script somewhere. Even though asterisk@ is put in the emails, this account was not automatically made on your machine. Asterisk installer could probably stand to put a line in /etc/aliases mapping asterisk@ to root@, but as it is, asterisk@ is more of a clue as to the source of the email than an actual return path. ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to change sendmail return path
Yes did all that. I've configured sendmail before so know the basics. I tried modifying sendmail.mc and creating the sendmail.cf file and also tried modifying sendmail.cf directly. I always restart sendmail after changes. Would I need to create a noreply mailbox in sendmail perhaps? What creates the asterisk mailbox? Does that happen when I make asterisk? Maybe there are some clues in that script somewhere. -Original Message- From: Mojo with Horan Company, LLC [mailto:[EMAIL PROTECTED] Sent: Thursday, December 20, 2007 10:39 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] How to change sendmail return path Tilghman Lesher wrote: On Wednesday 19 December 2007 17:44:15 shadowym wrote: I had high hopes for this solution for unfortunately it's not working. Did exactly as you specified but return path is still [EMAIL PROTECTED] even though [EMAIL PROTECTED] in voicemail.conf :( Did you restart Sendmail? It doesn't pick up changes to its config file otherwise. And if you modified sendmail.mc instead of sendmail.cf, don't forget to regenerate sendmail.cf -- something like the following: cd /etc/mail; cp sendmail.cf sendmail.cf.todaysdate; m4 sendmail.mc sendmail.cf should work, followed by /etc/init.d/sendmail restart Mojo ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to change sendmail return path
shadowym wrote: What creates the asterisk mailbox? Does that happen when I make asterisk? The return-path is set to [EMAIL PROTECTED] Your asterisk process is running as the user 'asterisk', no? If so, that's why you're getting the return path set to 'asterisk'. I haven't used sendmail in about a decade, but (brain's digging deep into old memories now) I think you need to call sendmail with the -f option. Just checked the man page (man sendmail - you *did* look here, didn't you? ;) and came up with: -fname Sets the name of the ''from'' person (i.e., the envelope sender of the mail). This address may also be used in the From: header if that header is missing during initial submission. The envelope sender address is used as the recipient for delivery status notifications and may also appear in a Return-Path: header. -f should only be used by ''trusted'' users (normally root, daemon, and network) or if the person you are trying to become is the same as the person you are. Otherwise, an X-Authentication-Warning header will be added to the message. So there you have it. You not only need to add the asterisk user to the trusted users list, but you also need to make sure that whenever sendmail is being invoked, it's called with the -f option. I don't know if asterisk does this or not - perhaps others could confirm whether it does or doesn't, and where/if this can be changed. HTH, Steve ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to change sendmail return path
Tilghman Lesher wrote: On Wednesday 19 December 2007 17:44:15 shadowym wrote: I had high hopes for this solution for unfortunately it's not working. Did exactly as you specified but return path is still [EMAIL PROTECTED] even though [EMAIL PROTECTED] in voicemail.conf :( Did you restart Sendmail? It doesn't pick up changes to its config file otherwise. And if you modified sendmail.mc instead of sendmail.cf, don't forget to regenerate sendmail.cf -- something like the following: cd /etc/mail; cp sendmail.cf sendmail.cf.todaysdate; m4 sendmail.mc sendmail.cf should work, followed by /etc/init.d/sendmail restart Mojo ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to change sendmail return path
On Wednesday 19 December 2007 01:11:25 Johansson Olle E wrote: 19 dec 2007 kl. 01.07 skrev shadowym: Unfortunately that only changes the from field. So if you were to reply to the email that is the one Outlook would use. The receiving mail system looks at the return path in the header of the email to determine if it is valid. serveremail and fromstring do not change that. Again, the return path in the email is set to [EMAIL PROTECTED]. I can easily change mydomain.com in sendmail but cannot figure out how to change asterisk. Sendmail has a notion of trusted users that are allowed to change the envelope sender's address. Your Asterisk process userid propably does not belong to that group. Add it to the group in the wonderfully elegant and simple sendmail configuration and change the mailcommand in voicemail.conf so that you specify another sender. The line to do this is Tasterisk in sendmail.cf or in sendmail.mc: define(`confTRUSTED_USERS', `asterisk')dnl -- Tilghman ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to change sendmail return path
Thanks for the info Tilghman, I had high hopes for this solution for unfortunately it's not working. Did exactly as you specified but return path is still [EMAIL PROTECTED] even though [EMAIL PROTECTED] in voicemail.conf :( -Original Message- From: Tilghman Lesher [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 19, 2007 6:40 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] How to change sendmail return path On Wednesday 19 December 2007 01:11:25 Johansson Olle E wrote: 19 dec 2007 kl. 01.07 skrev shadowym: Unfortunately that only changes the from field. So if you were to reply to the email that is the one Outlook would use. The receiving mail system looks at the return path in the header of the email to determine if it is valid. serveremail and fromstring do not change that. Again, the return path in the email is set to [EMAIL PROTECTED]. I can easily change mydomain.com in sendmail but cannot figure out how to change asterisk. Sendmail has a notion of trusted users that are allowed to change the envelope sender's address. Your Asterisk process userid propably does not belong to that group. Add it to the group in the wonderfully elegant and simple sendmail configuration and change the mailcommand in voicemail.conf so that you specify another sender. The line to do this is Tasterisk in sendmail.cf or in sendmail.mc: define(`confTRUSTED_USERS', `asterisk')dnl -- Tilghman ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to change sendmail return path
On Wednesday 19 December 2007 17:44:15 shadowym wrote: I had high hopes for this solution for unfortunately it's not working. Did exactly as you specified but return path is still [EMAIL PROTECTED] even though [EMAIL PROTECTED] in voicemail.conf :( Did you restart Sendmail? It doesn't pick up changes to its config file otherwise. -- Tilghman ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to change sendmail return path
shadowym wrote: Is there a way to change the return path sendmail uses when sending out voicemail to email? Currently the voicemails my asterisk system emails out have a return path of [EMAIL PROTECTED] I would like the return path to be [EMAIL PROTECTED] I cannot find any place where I can change that. I tried adding a sendmail alias to send asterisk to noreply and even tried root There are no config options anywhere in any asterisk *.conf or *.inc file which affect this There is nothing in my etc/hosts file which would cause the asterisk. I'm running CentOS 5.1, Asterisk 1.4.15, FreePBX 2.3.1 The option you are looking for is called serveremail. By default, if this is not set, it will be set to asterisk. Set this in the [general] section of voicemail.conf. Mark Michelson ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to change sendmail return path
Have a look at serveremail = [EMAIL PROTECTED] and fromstring = The Asterisk PBX in voicemail.conf. On Dec 18, 2007, at 2:28 PM, shadowym wrote: Is there a way to change the return path sendmail uses when sending out voicemail to email? Currently the voicemails my asterisk system emails out have a return path of [EMAIL PROTECTED] I would like the return path to be [EMAIL PROTECTED] I cannot find any place where I can change that. I tried adding a sendmail alias to send asterisk to noreply and even tried root There are no config options anywhere in any asterisk *.conf or *.inc file which affect this There is nothing in my etc/hosts file which would cause the asterisk. I'm running CentOS 5.1, Asterisk 1.4.15, FreePBX 2.3.1 ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to change sendmail return path
servermail= changes what shows up in the from section of the email. It doesn't change what shows up in the email header which is what the mail system looks at as the REAL return path. -Original Message- From: Mark Michelson [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 18, 2007 11:57 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] How to change sendmail return path shadowym wrote: Is there a way to change the return path sendmail uses when sending out voicemail to email? Currently the voicemails my asterisk system emails out have a return path of [EMAIL PROTECTED] I would like the return path to be [EMAIL PROTECTED] I cannot find any place where I can change that. I tried adding a sendmail alias to send asterisk to noreply and even tried root There are no config options anywhere in any asterisk *.conf or *.inc file which affect this There is nothing in my etc/hosts file which would cause the asterisk. I'm running CentOS 5.1, Asterisk 1.4.15, FreePBX 2.3.1 The option you are looking for is called serveremail. By default, if this is not set, it will be set to asterisk. Set this in the [general] section of voicemail.conf. Mark Michelson ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to change sendmail return path
Unfortunately that only changes the from field. So if you were to reply to the email that is the one Outlook would use. The receiving mail system looks at the return path in the header of the email to determine if it is valid. serveremail and fromstring do not change that. Again, the return path in the email is set to [EMAIL PROTECTED]. I can easily change mydomain.com in sendmail but cannot figure out how to change asterisk. -Original Message- From: Forrest Beck [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 18, 2007 12:12 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] How to change sendmail return path Have a look at serveremail = [EMAIL PROTECTED] and fromstring = The Asterisk PBX in voicemail.conf. On Dec 18, 2007, at 2:28 PM, shadowym wrote: Is there a way to change the return path sendmail uses when sending out voicemail to email? Currently the voicemails my asterisk system emails out have a return path of [EMAIL PROTECTED] I would like the return path to be [EMAIL PROTECTED] I cannot find any place where I can change that. I tried adding a sendmail alias to send asterisk to noreply and even tried root There are no config options anywhere in any asterisk *.conf or *.inc file which affect this There is nothing in my etc/hosts file which would cause the asterisk. I'm running CentOS 5.1, Asterisk 1.4.15, FreePBX 2.3.1 ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to change sendmail return path
19 dec 2007 kl. 01.07 skrev shadowym: Unfortunately that only changes the from field. So if you were to reply to the email that is the one Outlook would use. The receiving mail system looks at the return path in the header of the email to determine if it is valid. serveremail and fromstring do not change that. Again, the return path in the email is set to [EMAIL PROTECTED]. I can easily change mydomain.com in sendmail but cannot figure out how to change asterisk. Sendmail has a notion of trusted users that are allowed to change the envelope sender's address. Your Asterisk process userid propably does not belong to that group. Add it to the group in the wonderfully elegant and simple sendmail configuration and change the mailcommand in voicemail.conf so that you specify another sender. /Olle --- * Olle E. Johansson - [EMAIL PROTECTED] * Asterisk Training http://edvina.net/training/ ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users