Szépe Viktor writes:


Good afternoon!

I am using an Email-SMS gateway that needs a certain "From:" address.
Every message going to a specific account (s...@szepe.net) needs to be
redirected to the SMS provider and From: header should be rewritten to
a fixed one.

Is it a good idea?

s...@szepe.net:  |/usr/sbin/sendmail -f sen...@szepe.net
12345special-sms-addr...@textlocal.co.uk

I think a simple alias does not change the message's content.

Please help me.

The above is not going to change the From: header.

The From: header, and the envelope return path, what gets set by the -f option, are two completely different things.

You need to use something along the lines of reformail, to change the From: header.

Attachment: pgp9oE4yBGPk6.pgp
Description: PGP signature

------------------------------------------------------------------------------
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to