Koozali.org: home of the SME Server

Replacing the “FROM” address on all outbound emails

Offline raypar

  • 1
  • +0/-0
Replacing the “FROM” address on all outbound emails
« on: September 04, 2009, 06:25:18 PM »
Hello everyone.  We recently implemented SME to use it primarily as an outbound SMTP relay for our voicemail to email application.  Our voicemail server creates a sub domain for every tenant that is created within it.  Voicemails are then sent from <ext@tenant.our-real-domain.com> via the SME’s SMTP relay to the voicemail user’s real address Joe@company.com. 

One of the main reasons that we decided to implement our own SMTP relay was that our ISP’s SMTP relay would not pass any emails that did not contain a verifiable “FROM” address.  To overcome this we had to manually create sub domains and email addresses for every tenant and their extensions under our-real-doamin.com which proved to be tedious and unmanageable.

While the implementation of the SME has resolved the “FROM” address verification, we have now discovered through testing that a number of recipient’s email servers would also verify the validity of the sender’s email address and bounce the email, putting us back to square one.

So here’s the question: Is it possible via SME to change the sender’s email address from anyuser@tenant.our-real-domain.com to constant@our-real-domain.com?

Thanks much.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Replacing the “FROM” address on all outbound emails
« Reply #1 on: September 04, 2009, 10:39:29 PM »
So here’s the question: Is it possible via SME to change the sender’s email address from anyuser@tenant.our-real-domain.com to constant@our-real-domain.com?

SME server has no business rewriting email which pass through it. You should fix the voicemail system to use the from address you want, or just configure tenant.our-real-domain.com in DNS. The latter should be easy.

Offline shawnbishop

  • *****
  • 298
  • +0/-0
Re: Replacing the “FROM” address on all outbound emails
« Reply #2 on: September 10, 2009, 10:01:28 AM »
If you have created an account for the user , you are sending from, login to the users webmail ( Horde) , in the options area you can change the "FROM" settings..

Shawn

Offline elmarconi

  • ****
  • 139
  • +0/-0
Re: Replacing the “FROM” address on all outbound emails
« Reply #3 on: September 12, 2009, 12:56:07 PM »
Ofmipd is another way of rewriting headers.

See http://forums.contribs.org/index.php/topic,36349.msg160910.html#msg160910

I used it to ease transition from Pegasus to Thunderbird.

But CharlieBrady has the best answer: You should fix the voicemail system to use the from address you want...

...