StarkRavingCalm
MIS
Hello all, my first post here, hoping someone can help shed some light on this. I have always used qmail for mail relaying and have gotten used to the simplicity of it. I am at a new job and the standard is Sendmail. I am building a new relay and am trying to do the following:
Mail to my internal domains int1.domain.com goes to one address.
Mail to my internal domains int2.domain.com goes to another address.
Mail to my internal domains int3.domain.com goes to another address.
and so on...
Mail not specified by the above rules goes to my outbound relay out.domain.com
I have enabled the smarthost feature to take care of mail going to the outside and have used the mailertable to take care of the internal domains.
However, all mail goes out thru the SmartHost!!!
Can both be used in conjunction with each other?
Is there a better way while still keeping it simple?
Also, is the mailhub feature the best way to say send all local mail to another server or is it better to just use the aliases file (i.e.. # Person who should get root's mail)
Thanks!
Mail to my internal domains int1.domain.com goes to one address.
Mail to my internal domains int2.domain.com goes to another address.
Mail to my internal domains int3.domain.com goes to another address.
and so on...
Mail not specified by the above rules goes to my outbound relay out.domain.com
I have enabled the smarthost feature to take care of mail going to the outside and have used the mailertable to take care of the internal domains.
However, all mail goes out thru the SmartHost!!!
Can both be used in conjunction with each other?
Is there a better way while still keeping it simple?
Also, is the mailhub feature the best way to say send all local mail to another server or is it better to just use the aliases file (i.e.. # Person who should get root's mail)
Thanks!