sendmail woes
Roger Oberholtzer
roger
Mon May 17 11:43:22 PDT 2004
I have just moved a mail server to use sendmail (Caldera 3.1.1).
The machine 'should' forward all mail for a specific domain to an internal
machine. OK. So I set up the mailertable to make this happen. That works.
BTW, none of the users should have have an account on this sendmail box.
Now, I have a few users in this domain who would prefer that their mail
does not go to this internal machine, but is instead forwarded elsewhere.
This is where it breaks down for me. I tried the following:
1. Use virtusertable for each specific user. It seems that if you use
mailertable for a domain, sendmail does not look at virtusertable for any
exceptions to the domain's rule. At least it acts that way. All mail for
that domain goes where mailertable says, despite an entry in virtusertable.
2. Only use virtusertable, adding a 'catch all' rule like:
@external %1 at internal
to the end to pass all users without a preference to the internal machine.
This also seems to not work.
3. Make a user account and then use /etc/aliases to move each one
independently
4. Make a $HOME/.forward file for each user who wants to deviate from the
mailertable domain definition.
For points 3 and 4, sendmail will consider the setup. However, it will not
forward any mail to the machine in mailertable. For those users, it
considers them local and will attempt no more. If that same user forwards
mail to somewhere other than the place listed in mailertable, the mail
happily gets forwarded.
Yikes. Need it be so complicated? All I wan is to be able to forward virtual
users. The domain being forwarded is not the same as the name of any
machines involved.
My local-host-names file lists localhost and the domain being forwarded.
As I do not want the users to have an account on the external machine, how
'should' I have gone about this?
--
+????????????????????????????+???????????????????????????????+
? Roger Oberholtzer ? E-mail: roger at opq.se ?
? OPQ Systems AB ? WWW: http://www.opq.se/ ?
? Erik Dahlbergsgatan 41-43 ? Phone: Int + 46 8 314223 ?
? 115 34 Stockholm ? Mobile: Int + 46 733 621657 ?
? Sweden ? Fax: Int + 46 8 302602 ?
+????????????????????????????+???????????????????????????????+
More information about the Linux-users
mailing list