On 1 Feb 2006 05:35:30 -0000, Karia Amit amit_karia99@rediffmail.com wrote:
Hi All,
Suppose i have changed my domain name from xyz.com to abc.com and still find few users sending mails in old domain, How would i configure my server to accept user mails from old domain as well, I know it can be done thru domaintable file in sendmail, But how about qmail?
Rgds Amit
"The More Arguments you win lesser friends You'll have"
Rgds Amit -- http://mm.glug-bom.org/mailman/listinfo/linuxers
Hi,
To configure qmail server to accept mails and deliver it locally for perticuler domain, you need to add entry in following control files /var/qmail/control/rcpthosts /var/qmail/control/locals OR /var/qmail/control/virtualdomains
For your case, it might be like
/var/qmail/control/rcpthosts abc.com xyz.com
/var/qmail/control/locals abc.com xyz.com
If you are using virtualdomains in your qmail setup instead of adding entry in /var/qmail/control/locals add it in /var/qmail/control/virtualdomains with appropriate value for each domain. Those values are depends upon the way you are handling your virtual domains, either by alias or user.
Regards
-- ------------------------------------------------------------------------------- AbhiSawa