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

forwarding when sent from specific SENDER address

Status
Not open for further replies.

dngi

Technical User
Dec 7, 2007
1
0
0
US
(This is on Pair Networks / FreeBSD 6.2 if it matters.
Pair's Qmail help page:
)

Below is my .qmail file for a forward. Can I add logic to this file so it forwards all mail from a list of specific addresses (sender1@1.com,sender2@2.com...) to another address, forward2@mydomain.com, but all other senders' mail gets forwarded to the original address, forward1@mydomain.com? Thanks for any help.

---------------file:
.qmail-mydomain:com-user1

---------------content:
# FORWARD user1@mydomain.com forward1@mydomain.com
&forward1@mydomain.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top