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: foo@...45.../ }' | /usr/bin/msmtp "$@"
Best