Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email firstname.lastname@example.org
From: Dave McGuire (mcguireneurotica.com)
Date: Wed Jul 11 2007 - 16:54:38 CDT
On Jul 11, 2007, at 5:19 PM, Magnus Bäck wrote:
>> Hi folks. I'm sorry if this is a stupid question, but I've done
>> some serious googling and haven't really gotten anywhere...I think
>> maybe I'm missing something simple.
>> I'd like to, very basically, move my /etc/passwd entries into a
>> MySQL table, referenced by local_recipient_maps.
> local_recipient_maps is only used by smtpd(8) for recipient address
> validation. Adding addresses there doesn't mean that they will be
> deliverable by local(8). local(8) accepts usernames that can be looked
> up with getpwnam() -- the rest will be bounced. This means that you
> a name service plugin for MySQL, like nss_ldap for LDAP directories,
> so that stuff like "getent passwd username" will work.
Ohhhh ok, I misunderstood the purpose of local_recipient_maps.
Thanks for the clarification! I wonder, then, if I can use a local
delivery agent that doesn't get its info from getpwnam().
>> I've found quite a few well-written examples of how to do this for
>> fully-virtualized users, but I'm not ready to take that step
>> yet...I'd like to use my existing installation with active mail
>> spools in /var/spool/mail/ <username>, etc etc, but simply move the
>> /etc/passwd entries into a MySQL table and remove the end users from
> Virtual users can of course have their mail delivered to
> How should the users access their mail?
I'm running dovecot for POP3 and IMAP, and it's currently
configured to query a MySQL table for authentication...that's working
Hmm, I seem to recall that dovecot has a local delivery agent...I
wonder if that'll solve my problem.
Port Charlotte, FL