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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

question in sendmail

Status
Not open for further replies.

kaspergie

MIS
Joined
Dec 7, 2006
Messages
1
Location
US
Hello all!

Is there an easy way to have sendmail copy all mail INCOMING from *@domain.com to a local e-mail address as well as intended recipient AND all OUTGOING mail to *@domain.com to same local account?

sorry if this a dumb or very easy question, for some reason I can't think of an easy solution...

running:

sendmail-8.13.8-2.73


tia all!

Kasp
 
This is not actually a sendmail issue. It is more of a local mailer issue. In most cases, that will be procmail. I'm not to good at procmail recipes so you may want to do a google seach for a better answer. I think this may do the trick but as I said I ain't too hip to this jive. Open /etc/procmailrc with your favorite text editor and add the following:

Code:
:0c
! you@domain.com

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top