Use vaddaliasdomain for that.. so main domain main.com and alias junk.com all the mail going to junk will be delivered on main.com and vice versa.
I think that's what you are looking for. Remo > Kan Teruo <mailto:[email protected]> > August 4, 2017 at 4:40 PM > > Dear Eric, > > > > Sorry for my pool explanation. > > I studied http://wiki.qmailtoaster.com/index.php/Smtproutes before. > > If my understanding is right, domaina.com:smarthost1.xxx.com means > when send email to domaina.com then use smarthost1.xxx.com. > > In my case, domaina.com, domainb.com and domainc.com are in my > qmailtoaster box (not the destination). > > If email send from domaina.com to outside, use smarthost1.xxx.com. > > If email send from domainb.com to outside, use smarthost2.xxx.com. > > If email send from domainc.com to outside, use smarthost3.xxx.com. > > For email from others domains, send directly from qmailtoaster box. > > > > Is there any ways to do like that in qmailtoaster? > > > > Teruo > > > > > > Sensitivity: Internal > > *From:*Eric Broch [mailto:[email protected]] > *Sent:* Friday, August 4, 2017 8:22 PM > *To:* [email protected] > *Subject:* Re: [qmailtoaster] Qmailtoaster smtproutes > > > > Sorry, > > domaina.com:smarthost1.xxx.com > domainb.com:smarthost2.xxx.com > domainc.com:smarthost3.xxx.com > qmailctl stop > qmailctl start > > On 8/4/2017 6:19 AM, Eric Broch wrote: > > > > -- > Eric Broch > White Horse Technical Consulting (WHTC) > Eric Broch <mailto:[email protected]> > August 4, 2017 at 5:21 AM > > Sorry, > > domaina.com:smarthost1.xxx.com > domainb.com:smarthost2.xxx.com > domainc.com:smarthost3.xxx.com > qmailctl stop > qmailctl start > > On 8/4/2017 6:19 AM, Eric Broch wrote: > > -- > Eric Broch > White Horse Technical Consulting (WHTC) > Eric Broch <mailto:[email protected]> > August 4, 2017 at 5:19 AM > > In /var/qmail/control/smtproutes > > domaina.com: smarthost1.xxx.com > > domainb.com:marthost2.xxx.com > > domainc.com:marthost3.xxx.com > > qmailctl stop > > qmailctl start > > > http://wiki.qmailtoaster.com/index.php/Smtproutes > > > On 8/4/2017 4:34 AM, Kan Teruo wrote: > > -- > Eric Broch > White Horse Technical Consulting (WHTC) > Kan Teruo <mailto:[email protected]> > August 4, 2017 at 3:34 AM > > Dear All, > > > > I have few domains in qmailtoaster and want to use different smart host. > > > > For example > > 1. domaina.com route to smarthost1.xxx.com > 2. domainb.com route to smarthost2.xxx.com > 3. domainc.com route to smarthost3.xxx.com > 4. rest of the domains directly send out from the qmailtoaster box > > > > I checked /var/qmail/control/smtproutes but it just can route to > different smart hosts by destination. > > Is it possible to use different smart hosts based on sender domain > inside qmailtoaster? > > > > Thanks & best regards, > > Teruo > > > > Sensitivity: Internal >
