My server (RH 7.2, Sendmail 8.11.6-3) has currently been used to:

1> fetchmail in multidrop mode mail for my internet domain and drop in
relevant local mailboxes.
2> fetchmail in user mode mail for a customers's user account and drop in
relevant local mailbox.
3> Sendmail using my ISP smart host to masquerade local mail to internet
domain equivalent. Including the customer.

NOW

The customer has bought an internet domain name, and wants to use my mail
server to collect and send mail for IT much as I do with mine at the moment.
Fetchmail is an easy change - just set their fetchmail up to multidrop as
well. Easy.

How about outgoing though?

For example, all mail through sendmail user@localdomain currently gets
masqueraded to user@internetdomain. Including the customer that works here.
Is there a way I can say to sendmail:

if the outgoing mail comes from user x then
  masquerade as customerinternetdomain
else
  masquerade as per usual (internetdomain)

I *THINK* from what I've read I need virtusertable. Is this right?

can I just make a virtusertable entry which convert their userx@localdomain
to userx@customerinternetdomain on outgoing mail?
If so, does that take priority over 'MASQUERADE_AS'?

Anybody done this?

P.S. remember the domains are not hosted here, only the mail is fetched and
sent for them.

--
Edward Dekkers (Director)
Triple D Computer Services Pty. Ltd.




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to