Forward Domain

Issue #80 resolved
Former user created an issue

He guys, First of all. Really nice job!

What I am looking for is an option to forward all e-mails going to xyz@domainA.tld to xyz@domainB.tld

is this possible?

Comments (6)

  1. Trevor Ferre

    Testing this process now,

    First add onedomain.com to control/rcphosts so qmail-smtpd will accept mail for it:

    echo onedomain.com >>/var/qmail/control/rcpthosts

    Next, create a wildcard virtualdomains entry for onedomain:

    echo onedomain.com:alias-onedomain > /var/qmail/control/virtualdomains

    Now create a catch-all .qmail file to receive the onedomain mail and forward it:

    echo '|forward "$com"' >~alias/.qmail-onedomain-default

    Source, http://www.textndata.com/forums/domain-com-forwarding-anotherdomain-com-119026.html

  2. SH repo owner

    @tjferre it will not work right now. There is custom plugin in qpsmtpd (there is not original qmail) which checks if email is available at system - it will need refactor to allow forward and catch-all...

  3. Log in to comment