Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Apr 2002 21:21:34 -0600 (CST)
From:      Ryan Thompson <ryan@sasknow.com>
To:        f3z <f3z@iprimus.com.au>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: sendmail - virtual users?
Message-ID:  <20020421211524.V55370-100000@catalyst.sasknow.net>
In-Reply-To: <B8E9B91C.789%f3z@iprimus.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
f3z wrote to freebsd-questions@FreeBSD.ORG:

> Hi,
>
> Is it possible to have sendmail store mail for users who dont have
> accounts? (that could then be read by a pop daemon?)

Sendmail has to be configured to use a different delivery service. By
default, it will store mail in UNIX mailbox format in /var/mail/$USER,
for valid instances of $USER only :-) You can configure sendmail to
work with something like the Cyrus IMAPd (available in the ports
collection) that does not require a system account for mail delivery.
Cyrus supports users fetching their mail with IMAP and POP, and can
auth with PAM, so you can auth against something like an SQL database.

> I have read the man pages and found something called aliases but
> that doesn't quite do it.

Aliases are a way to map accounts to one or more other addresses. You
could pipe an alias to an arbitrary file, I suppose, to store mail
locally for non-existent users. It certainly wouldn't solve your auth
problem, or provide POP delivery.

- Ryan

-- 
  Ryan Thompson <ryan@sasknow.com>

  SaskNow Technologies - http://www.sasknow.com
  901 1st Avenue North - Saskatoon, SK - S7K 1Y4

        Tel: 306-664-3600   Fax: 306-664-3630   Saskatoon
  Toll-Free: 877-727-5669     (877-SASKNOW)     North America


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020421211524.V55370-100000>