> I really wanted to use Sendmail as a friend knows Sendmail fairly well 
> and I have a Sendmail book, but what I am wanting is the ability to have 
> mail for virtual users, ie I might have 4 admin accounts, 
> ad...@domain1.com ad...@domain2.com ad...@domain3.com and 
> ad...@domain4.com and want all the accounts to be independent of each 
> other and not necessarily have a real UNIX user account. I know I can 
> create 4 different admin accounts say admin1, admin2, admin3, admin4 and 
> then use the "virtual users" table, but I can see that getting a little 
> messy and from the end user's point they are going to have unusual login 
> names.
> I know I can do this in Postfix, but is it possible in Sendmail?

Yes its possible. I do that with sendmail for a friend's domain I host
Here's an anonymised real operational sample from my server with comment added
   /etc/mail/virtusertable 
        hostmas...@sparedomain.com            hostmaster
        hostmas...@www.sparedomain.com        hostmaster
        #       I take the hostmaster cos hes not competent to.

        friend-local-acc-on-my-h...@sparedomain.com     sparedomain-default
        # friend-local-acc-on-my-host@ is redundant as 
        # done by default, but left for clarity.
        #       could also go to secretary-of-fri...@anywhere-else.com

        # exam...@sparedomain.com             s...@where_else

        @sparedomain.com                      sparedomain-default
        # this collects all of
        #       friends-new-colleague-he-hasnt-told-me-ab...@sparedomain.com
        #       random-guess-by-spam...@sparedomain.com

        @www.sparedomain.com                  sparedomain-default
        #       divert any mail re friends web site to the friend.

   /etc/mail/aliases:
        # switchable choice depending if I POP serve the friend or forward.
        sparedomain-default:            fri...@some-other-domain.com
        # sparedomain-default:          friend-local-acc-on-my-host

PS I skimmed but didnt really understand Matthew's posting, (not
saying its right or wrong, just didnt grasp it), but I have sendmail
working fine for my @berklix.org & for a friend's @surfacevision.com
So Paul, you can use sendmail for this if you want.

Cheers,
Julian
-- 
Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
Mail plain text not quoted-printable, HTML or Base64 http://www.asciiribbon.org
  Old 20s expire 30 6 2010 http://www.bankofengland.co.uk/banknotes/twentyv/
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to