Changing sender"s address

Changing sender"s address

am 09.02.2005 14:22:36 von hjuch

Hi folks,

we manage the mail for several domains. For example we receive the
mails for abc@xyz.de and we forward all these mails to 123@890.de. If
we receive a mail from the sender ijk@uvw.de the receiver 123@890.de
gets a mail with the sender's address ijk@uvw.de. This is my problem.
If the mail sender has a address with @890.de, the mailserver of the
receiver 123@890.de does not accept the mail, because the server
means, it is a mail from inside, this can not be true. A mail from
outside, which has a address from inside must be spam and will be
blocked.

Now my question: Is there a possibility to tell my sendmail to change
the sender's address from ijk@uvw.de to abc@xyz.de?

Thanks
Helge

Re: Changing sender"s address

am 10.02.2005 00:44:00 von Andrzej Adam Filip

Helge wrote:
> we manage the mail for several domains. For example we receive the
> mails for abc@xyz.de and we forward all these mails to 123@890.de. If
> we receive a mail from the sender ijk@uvw.de the receiver 123@890.de
> gets a mail with the sender's address ijk@uvw.de. This is my problem.
> If the mail sender has a address with @890.de, the mailserver of the
> receiver 123@890.de does not accept the mail, because the server
> means, it is a mail from inside, this can not be true. A mail from
> outside, which has a address from inside must be spam and will be
> blocked.
>
> Now my question: Is there a possibility to tell my sendmail to change
> the sender's address from ijk@uvw.de to abc@xyz.de?

Have you considered using procmail script for the forwarding?
( ~/.procmailrc instead of ~/.forward OR /etc/mail/aliases)

It will rewrite "external envelope sender address" to "local envelope
sender address" of user running the script.

--
Andrzej [en:Andrew] Adam Filip anfi@priv.onet.pl anfi@xl.wp.pl
Home Page http://anfi.homeunix.net/
*Random Epigram* :
Young folk silly folk, old folk cold folk.
-- Butch Proverb