faqts : Computers : Internet : Mail Servers : qmail : Installation and Configuration

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

23 of 26 people (88%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

How can I redirect mail from one domain to another?

Mar 16th, 2000 08:59
Dave Sill, Chris Johnson


Say you want all mail received for any user at domain1.com to be sent to
the same user at domain2.com.
Put this in control/virtualdomains:
  domain1.com:alias-domain1
Put this in control/rcpthosts:
  domain1.com
Put this in ~alias/.qmail-domain1:
  | forward "$DEFAULT@domain2.com"
Restart qmail to activate the virtual domain.