Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Forwarding email or Virtualuser Relay

Status
Not open for further replies.

TerryBenge

IS-IT--Management
May 8, 2006
1
GB
I'm new to sendmail so bear with me...

I have email comming into an account and want it to be forwarded to 10 other accounts.

E.g. 123456@mydomain.com -> me@hotmail.com, me@yahoo.com, me@gmail.com etc

Now currently my theory is to use the virtualusertable to point to an alias e.g.

Virtualusertable...
@mydomain.com myaccounts

Alias...
myaccounts: me@hotmail.com, me@yahoo.com, me@gmail.com

The application Im working on is to research spam filters with the online ones being first.

Assuming the above is correct, I want to modify the headers so that although there is a received in the header, the email appears to have gone directly to the destination ie with the correct to: entry - how do I do that with sendmail and should I really be using relay functionality.

Many Thanks
Terry
 
What you have above is correct. As for rewriting the To: portion of the header.
Look into using the Generictable within Sendmail.

M. Brooks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top