Kai Hendry wrote:
> http://dabase.com/blog/Mail_from_a_VPS/
> 
> How do I get msmtp to rewrite the To: address to a static email
> address?
> 
> Many thanks,

Just make /usr/sbin/sendmail a shell script instead of a symlink:

#!/bin/sh
sed '0,/^\r\?$/ { s/^To:.*/To: f...@example.com/ }' | /usr/bin/msmtp "$@"


Best

------------------------------------------------------------------------------
Give your users amazing mobile app experiences with Intel XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2-D/3-D games for multiple OSs.
Then get your creation into app stores sooner, with many ways to monetize.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
msmtp-users mailing list
msmtp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msmtp-users

Reply via email to