[exim] Change Envelop Address to that of header from address

Inizio della pagina
Delete this message
Reply to this message
Autore: soumya tr
Data:  
To: exim-users
Oggetto: [exim] Change Envelop Address to that of header from address
Hi,

How can I change the envelop from address to actual header form?

To describe the actual issue:

We have many cpanel shared servers. As of now all the outgoing emails from
these shared servers are routed via another server. The relay server has
postfix+policyd set [Policyd is nothing but a utility to limit the number
of outgoing/incoming mails as per our requirement].

In the Postfix server the limit set in policyd is like:

- X mails per sender [ eg: user@???] per hour
- Y mails per domain [ eg: domain.com] per hour

So once the limit X,Y is reached, mails will be sent back to the sender
itself.

Also, postfix server has some more checks like only the mails coming from
shared servers will be processed [IP address is checked]

Coming to the actual issue:

Incase of forwarder mails, the from address is the actual sender address.
To elaborate, suppose I have a forwarder set via cPanel as shown below:

-------------------
All the mails for forwarder@??? will be forwarded to
receipient@???
-------------------

Now suppose I am sending a mail from sender@??? to
forwarder@???. So as per the forwarder being set the mail will be
forwarded to receipient@???, and as per my set up it will be relaying
via the Postfix server.

-------------------
Mail from 'sender@???' -----> to 'forwarder@???' ------->
forwarded to 'receipient@???'
-------------------
As per my understanding, the mail header shows the from address in case of
forwarder mail as 'sender@???' itself.

Now say, there are many accounts for which forwarders are set. And the
customers are sending mails from gmail.com to forwarder mail addresses. But
when the limit Y is reached at the relay server for 'gmail.com', the mails
start bouncing back. Which means in an hour only about Y forwarder mails
with sender domain as 'gmail' will be allowed to send.

So was thinking of changing the Envelop from address to the actual from
address. Googled, but was not able to find out how to do. Please assist.


--
Regards,
Soumya

<http://poornam.com>
"I like the dreams of the future better than the history of the past."