PDA

View Full Version : Qmail


dappleton
07-21-2006, 11:01 AM
Hello all.. I have a rather interesting problem and maybe ya'll can help me figure this out.. Currently I have a setup running Qmail+Vpopmail and for agruments sake let me call it domainA. DomainA has been configured to that any mail boxes that are not found are then bounced to the another mail box, we'll call DomainB. That's working fine, however, when a person is sending or replying to email through DomainB web interface it is sending the message as DomainB2.domainb.com . DomainA is rejecting any mail that is coming from this address. I know this because our spam firewall is indicating that DomainA is rejecting this.

Two questions.. How do I go about re-routing mail from DomainB to the DomainA mailboxes .. And the second question, how do I prevent Qmail from rejecting mailfrom even coming from DomainB?

Thanks.. Doug

trophy
08-08-2006, 05:24 PM
Hi,

if DomainB is a seperate mail box, domain masquerading on that machine might help.

For preventing qmail to reject a domain, a entry in
"/var/qmail/control/rcpthosts" should help.

To accept all domains from a second (internal) host, check /etc/tcp.smtp if it has a entry for eg.

10.30.:allow,RELAYCLIENT=""

(depending on the ip-address of this mail box)

Hope it helps a little :)

c ya.
Trophy