Re: [gentoo-user] ssmtp rewriting From: in emails...

2011-04-24 Thread Indi
On Fri, Apr 22, 2011 at 09:00:02PM +0200, Jarry wrote: btw, I find /etc/ssmtp/ssmtp.conf a little confusing: # Set this to never rewrite the From: line (unless not given) and to # use that address in the from line of the envelope. #FromLineOverride=YES I always thought if a value in

[gentoo-user] ssmtp rewriting From: in emails...

2011-04-22 Thread Jarry
Hi, I have a strange problem: whenever my web-server sends registration emails, the sender field gets overwritten. From: should be: My Web Site info@mywebsite But email is delivered to the addressee from: added by portage for apache apache@mywebsite Logs on my web-server

Re: [gentoo-user] ssmtp rewriting From: in emails...

2011-04-22 Thread Jeremy McSpadden
rewriteDomain=yourdomain.com hostname=yourdomain.com -- Jeremy McSpadden def...@uberpenguin.net On Apr 22, 2011, at 12:07 PM, Jarry wrote: Hi, I have a strange problem: whenever my web-server sends registration emails, the sender field gets overwritten. From: should be: My

Re: [gentoo-user] ssmtp rewriting From: in emails...

2011-04-22 Thread Jarry
While before From field in messages sent my web-server was: added by portage for apache apa...@myserver.mydomain.com (where myserver.mydomain.com is FQDN of my web-server) After this modification I get mails from: added by portage for apache apa...@mydomain.com But it should

Re: [gentoo-user] ssmtp rewriting From: in emails...

2011-04-22 Thread Jeremy McSpadden
FromLineOverride=NO -- Jeremy McSpadden def...@uberpenguin.net On Apr 22, 2011, at 1:10 PM, Jarry wrote: I simply want ssmtp not to touch or change from field, and let it to be as it is defined by MUA (in this case it is php(mail) function of my web-server)... Jarry

Re: [gentoo-user] ssmtp rewriting From: in emails...

2011-04-22 Thread Jeremy McSpadden
What does your code look like? What application is sending the registration emails? -- Jeremy McSpadden def...@uberpenguin.net On Apr 22, 2011, at 1:10 PM, Jarry wrote: While before From field in messages sent my web-server was: added by portage for apache

Re: [gentoo-user] ssmtp rewriting From: in emails...

2011-04-22 Thread Jeremy McSpadden
Sorry, that should be YES -- Jeremy McSpadden def...@uberpenguin.net On Apr 22, 2011, at 1:10 PM, Jarry wrote: I simply want ssmtp not to touch or change from field, and let it to be as it is defined by MUA (in this case it is php(mail) function of my web-server)... Jarry

Re: [gentoo-user] ssmtp rewriting From: in emails...

2011-04-22 Thread Jarry
Thanks for the tip, that was the point! After setting FromLineOverride=YES mails from my web-site have correct from field. btw, I find /etc/ssmtp/ssmtp.conf a little confusing: # Set this to never rewrite the From: line (unless not given) and to # use that address in the from line of the