IceWarp Server User to User Forum IceWarp Server User to User Forum

Forums  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Photo Gallery  Member List  Search  Calendars  FAQ  Ticket List  Log Out

redirect outbound smtp routing by sender domain

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [IceWarp Product Configuration] >> IceWarp Mail Server Configuration >> redirect outbound smtp routing by sender domain Page: [1]
Login
Message << Older Topic   Newer Topic >>
redirect outbound smtp routing by sender domain - 10/30/2008 1:26:48 PM   
smarsh_df

 

Posts: 1
Score: 0
Joined: 10/30/2008
Status: offline
We need to try and figure out how to route outbound mail by sender domain (locally hosted on Icewarp server) through a relay server.

We do something similar for custom recipient router in the SMTP Service Routing tab by configuring the redirect.dat file.
However it is explained that this function works with the RCPT TO command during SMTP and not the Sender portion of that command.

Does anyone know how to accomplish custom routing controlled by the sending company or domain or user?






******Instructions contained within redirect.dat file but it appears that this works on recipient only not sender********

It is also possible to use variables %%alias%%, %%domain%% or %%current_recipient%%.
The redirection in following cases is applied on any message no matter whether the recipient is local or not and no matter whether it is outgoing or incoming message. It simply works on any RCPT TO command during SMTP.
This system might be used to relay messages to a special server for instance:
domain=%%alias%%@domain;;relayserver
domain=%%current_recipient%%;;relayserver




Example:

aol.com=%%alias%%@aol.com;;relay.isp.com

This causes that all messages for somebody@aol.com will be sent directly to relay.isp.com server instead of using standard DNS lookup for aol.com  


company.com=%%alias%%@company.com;1;user:pwd@relay.isp.com

This causes that all messages for existing local user in company.com domain will be sent through relay.isp.com mail server with SMTP authentification (user:pwd) will be sent routed through relay.isp.com server  


company.com=%%alias%%@company.com;;username%domain.com:passwd@relay.isp.com

This causes that all messages for somebody@company.com will be sent directly through relay.isp.com server instead of using standard DNS lookup for company.com with SMTP authentication against full email address (username%domain:password@relayserver).  


localdomain.com=%%current_recipient%%;;customer-server.com

This causes that all messages for any_alias@localdomain.com will be redirected to customer-server.com, the recipient will be the primary alias of the original recipient's account  
Post #: 1
Page:   [1]
All Forums >> [IceWarp Product Configuration] >> IceWarp Mail Server Configuration >> redirect outbound smtp routing by sender domain Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


2001 - 2008 © IceWarp