Email fails due to FROM not set as needed
Email from FreeSwitch does not work because the relay server does not recognize the FROM: 1000@1.2.3.4 address. The Postfix log shows the FS email going out but rejected due to a bad FROM address. I could not find anything on this so does anyone know how to get FS to use a preset FROM email address? I have Postfix (Sendmail look alike) running and tested. FreeSwitch is set to handle emails in switch.conf, and the correct parms are in the user settings. I need to control the FROM address FS uses. Thanks. Mario
Mario, i think you need to read the wiki a little, to read ALL FS's default config files, and (sorry, I gonna be sarcastic) to learn how to use grep :) grep mail conf/* and grep mail conf/autoload_configs/* may give you some answers: conf/notify-voicemail.tpl conf/autoload_configs/voicemail.conf.xml David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 04/10/2010 à 01:21, Mario a écrit :
Email from FreeSwitch does not work because the relay server does not recognize the FROM: 1000@1.2.3.4 address. The Postfix log shows the FS email going out but rejected due to a bad FROM address. I could not find anything on this so does anyone know how to get FS to use a preset FROM email address?
I have Postfix (Sendmail look alike) running and tested. FreeSwitch is set to handle emails in switch.conf, and the correct parms are in the user settings. I need to control the FROM address FS uses. Thanks. Mario
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Thanks a lot for the grep, I did work for 3 hours before posting. I found these 3 areas, item 1 does not work (would have been my preference since I am sending due to different reasons and would like different user ids in from). Item 2 had no effect. Item 3 finally worked but now I am blocked due "550 Administrative prohibition (in reply to end of DATA command): which is not an FS issue that looks like I can't get past it due to the the hosting company (bluehost). Thanks a lot for your quick help! 1. notify-voicemail.tpl: From: "${voicemail_caller_id_name}" <${voicemail_caller_id_number}@mydomain.com 2. voicemail.tpl: From: "${voicemail_caller_id_name}" <${voicemail_caller_id_number}@mydomain.com 3.voicemail.xml <param name="email-from" value="phones@mydomain.com"/ On 10/03/10 16:57, David Ponzone wrote:
Mario,
i think you need to read the wiki a little, to read ALL FS's default config files, and (sorry, I gonna be sarcastic) to learn how to use grep :)
grep mail conf/* and grep mail conf/autoload_configs/* may give you some answers: conf/notify-voicemail.tpl conf/autoload_configs/voicemail.conf.xml
David Ponzone Direction Technique email: david.ponzone@ipeva.fr <mailto:david.ponzone@ipeva.fr> tel: 01 74 03 18 97 gsm: 06 66 98 76 34
Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr <BLOCKED::http://www.ipeva.fr/> - www.ipeva-studio.com <BLOCKED::http://www.ipeva-studio.com/>
/Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. /*/IPeva/*/ décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur./ / /
Le 04/10/2010 à 01:21, Mario a écrit :
Email from FreeSwitch does not work because the relay server does not recognize the FROM: 1000@1.2.3.4 <mailto:1000@1.2.3.4> address. The Postfix log shows the FS email going out but rejected due to a bad FROM address. I could not find anything on this so does anyone know how to get FS to use a preset FROM email address?
I have Postfix (Sendmail look alike) running and tested. FreeSwitch is set to handle emails in switch.conf, and the correct parms are in the user settings. I need to control the FROM address FS uses. Thanks. Mario
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Whoops made an error and left an item out to here is udpate in case others can use it. I got the right FROM but I think the RCPT is bad since I am blocked due "550 Administrative prohibition (in reply to end of DATA command)" Not sure if it's an FS issue, I can't get past it due to the the hosting company (bluehost). Thanks a lot for the grep, I did work for 3 hours before posting. I found these 4 areas, item 1 does not work (would have been my preference since I am sending due to different reasons and would like different user ids in from). Item 2 and 3 had no effect. Item 4 finally worked but now I Thanks a lot for your quick help! 1. userid.xml (found in wiki) <variable name="voicemail_domain" value="mydomain.com"/> 2. notify-voicemail.tpl: From: "${voicemail_caller_id_name}" <${voicemail_caller_id_number}@mydomain.com 3. voicemail.tpl: From: "${voicemail_caller_id_name}" <${voicemail_caller_id_number}@mydomain.com 4. voicemail.xml <param name="email-from" value="phones@mydomain.com"/ On 10/03/10 17:48, Mario wrote:
Thanks a lot for the grep, I did work for 3 hours before posting. I found these 3 areas, item 1 does not work (would have been my preference since I am sending due to different reasons and would like different user ids in from). Item 2 had no effect. Item 3 finally worked but now I am blocked due "550 Administrative prohibition (in reply to end of DATA command): which is not an FS issue that looks like I can't get past it due to the the hosting company (bluehost). Thanks a lot for your quick help!
1. notify-voicemail.tpl: From: "${voicemail_caller_id_name}" <${voicemail_caller_id_number}@mydomain.com
2. voicemail.tpl: From: "${voicemail_caller_id_name}" <${voicemail_caller_id_number}@mydomain.com
3.voicemail.xml <param name="email-from" value="phones@mydomain.com"/
On 10/03/10 16:57, David Ponzone wrote:
Mario,
i think you need to read the wiki a little, to read ALL FS's default config files, and (sorry, I gonna be sarcastic) to learn how to use grep :)
grep mail conf/* and grep mail conf/autoload_configs/* may give you some answers: conf/notify-voicemail.tpl conf/autoload_configs/voicemail.conf.xml
David Ponzone Direction Technique email: david.ponzone@ipeva.fr <mailto:david.ponzone@ipeva.fr> tel: 01 74 03 18 97 gsm: 06 66 98 76 34
Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr <BLOCKED::http://www.ipeva.fr/> - www.ipeva-studio.com <BLOCKED::http://www.ipeva-studio.com/>
/Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. /*/IPeva/*/ décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur./ / /
Le 04/10/2010 à 01:21, Mario a écrit :
Email from FreeSwitch does not work because the relay server does not recognize the FROM: 1000@1.2.3.4 <mailto:1000@1.2.3.4> address. The Postfix log shows the FS email going out but rejected due to a bad FROM address. I could not find anything on this so does anyone know how to get FS to use a preset FROM email address?
I have Postfix (Sendmail look alike) running and tested. FreeSwitch is set to handle emails in switch.conf, and the correct parms are in the user settings. I need to control the FROM address FS uses. Thanks. Mario
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Edit voicemail.conf.xml. Under the <email> section, change "email-from". <param name="email-from" value="blah@blah.com"/> I changed the email template and it didn't work, so I changed it in voicemail.conf.xml and that fixed it. -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Mario Sent: Sunday, October 03, 2010 6:22 PM To: FreeSWITCH Users Help Subject: [Freeswitch-users] Email fails due to FROM not set as needed Email from FreeSwitch does not work because the relay server does not recognize the FROM: 1000@1.2.3.4 address. The Postfix log shows the FS email going out but rejected due to a bad FROM address. I could not find anything on this so does anyone know how to get FS to use a preset FROM email address? I have Postfix (Sendmail look alike) running and tested. FreeSwitch is set to handle emails in switch.conf, and the correct parms are in the user settings. I need to control the FROM address FS uses. Thanks. Mario _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Thanks a lot, see my previous post. On 10/03/10 17:37, Peder wrote:
Edit voicemail.conf.xml.
Under the <email> section, change "email-from".
<param name="email-from" value="blah@blah.com"/>
I changed the email template and it didn't work, so I changed it in voicemail.conf.xml and that fixed it.
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Mario Sent: Sunday, October 03, 2010 6:22 PM To: FreeSWITCH Users Help Subject: [Freeswitch-users] Email fails due to FROM not set as needed
Email from FreeSwitch does not work because the relay server does not recognize the FROM: 1000@1.2.3.4 address. The Postfix log shows the FS email going out but rejected due to a bad FROM address. I could not find anything on this so does anyone know how to get FS to use a preset FROM email address?
I have Postfix (Sendmail look alike) running and tested. FreeSwitch is set to handle emails in switch.conf, and the correct parms are in the user settings. I need to control the FROM address FS uses. Thanks. Mario
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
David Ponzone
-
Mario
-
Peder