"Gaurav Priyolkar" (Wednesday, July 24, 2002 7:22 PM):

> I am running a sendmail mailserver, say local.domainA.com collecting
> mail for domainA. MX for domainA is hosted and points at
> remote.domainA.com from where I periodically POP and multidrop onto
> local.domainA.com. Users for domainA use local as their POP and SMTP
> server.

Fine ...

> Now, I need to also service a second domainB. The users for domainB need
> to be able to use local to POP and relay their mails.

Add domaina and domainb to /etc/mail/local-host-names

> I had DjdomainA.com in my sendmail.cf which I have now removed. Due to
> this, mails to local-user@domainA are no longer being delivered locally.
> Can I have two Dj's? I have tried both domainA.com and domainB.com in my
> local-host-names, but that does not help.

That should work - unless there's something totally screwed.

As you have seen the sendmail virtual hosting FAQ, there's no hassle as long
as the mailservers know to treat domaina and domainb as local.


>  [EMAIL PROTECTED] userA
>  [EMAIL PROTECTED] userB

Sounds fine

> genericstable:
>  userA [EMAIL PROTECTED]
>  userB [EMAIL PROTECTED]

genericstable would rewrite unqualified usera to [EMAIL PROTECTED]

Try creating actual unix accounts for all your users and having a
virtusertable

@domaina.com    %1-domaina
@domainb.com    %1-domainb

where [EMAIL PROTECTED] lands in the mailbox usera-domain1.  The guy's mail
id stays as [EMAIL PROTECTED] - but his pop3 id is usera-domaina

    -srs




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to