From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 11 13:17:03 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51C3F1065677 for ; Thu, 11 Mar 2010 13:17:03 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from tower.berklix.org (tower.berklix.org [83.236.223.114]) by mx1.freebsd.org (Postfix) with ESMTP id B79C28FC2B for ; Thu, 11 Mar 2010 13:17:02 +0000 (UTC) Received: from park.js.berklix.net (p549A4219.dip.t-dialin.net [84.154.66.25]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id o2BDGqSv011143; Thu, 11 Mar 2010 13:16:52 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by park.js.berklix.net (8.13.8/8.13.8) with ESMTP id o2BDGia7030916; Thu, 11 Mar 2010 14:16:45 +0100 (CET) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.3/8.14.3) with ESMTP id o2BDGYLG047645; Thu, 11 Mar 2010 14:16:39 +0100 (CET) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201003111316.o2BDGYLG047645@fire.js.berklix.net> To: Paul Wootton From: "Julian H. Stacey" Organization: http://www.berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://www.berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Thu, 11 Mar 2010 10:13:21 GMT." <4B98C241.8090400@fletchermoorland.co.uk> Date: Thu, 11 Mar 2010 14:16:34 +0100 Sender: jhs@berklix.com Cc: freebsd-hackers@freebsd.org Subject: Re: To sendmail or to postfix that is the question? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2010 13:17:03 -0000 > 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, > admin@domain1.com admin@domain2.com admin@domain3.com and > admin@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 hostmaster@sparedomain.com hostmaster hostmaster@www.sparedomain.com hostmaster # I take the hostmaster cos hes not competent to. friend-local-acc-on-my-host@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-friend@anywhere-else.com # example@sparedomain.com some@where_else @sparedomain.com sparedomain-default # this collects all of # friends-new-colleague-he-hasnt-told-me-about@sparedomain.com # random-guess-by-spammer@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: friend@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/