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

how to send emails to subdomain to the main domain's .qmail-default

Status
Not open for further replies.

vivi2012

Instructor
May 19, 2011
1
US
I would like to
send all emails to subdomain to the main domain's .qmail-default file.


****@sub1.domain.com >>> ../domain/.qmail-default
****@sub2.domain.com >>> ../domain/.qmail-default
****@sub3.domain.com >>> ../domain/.qmail-default


I have configured as follows;
IN /var/qmail/control/virtualdomains
sub1.domain.com:domain.com
sub2.domain.com:domain.com
sub3.domain.com:domain.com

and in /var/qmail/control/rcphosts
sub1.domain.com
sub2.domain.com
sub3.domain.com

and reload with "qmailctl reload "

But when I send email from yahoo to
info@sub1.domain.com, did not go to the
info@domain.com. it goes to info@sub1.domain.com instead.

please let me know how can I set up virtualdomain.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top