Date: Sat, 31 Jul 1999 21:38:46 -0400 From: Sergey Babkin <babkin@bellatlantic.net> To: tarkhil@asteroid.svib.ru Cc: hackers@FreeBSD.ORG Subject: Re: Solution for mail pseudo-users? Message-ID: <37A3A526.253BAD94@bellatlantic.net> References: <199907311433.SAA30363@shuttle.svib.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Alex Povolotsky wrote: > > <37A30852.20E5A7AF@bellatlantic.net>Sergey Babkin writes: > >> Any suggestions, anyone? > > > >Modify the POP daemon to use your mySQL database in addition to getpwent ? > >That seems to be the easiest way that should not break anything else. > > And modify sendmail to throw off mail for nonexistent users? You can unload the user list from mySQL into a Berkeley db file and modify /etc/sendmail.cf to route the mail for the users listed in this file to a special delivery agent. And this special delivery agent would be a quite straightforward modification of /usr/libexec/mail.local. A variation of this would be to modify mail.local to add the data from mySQL database to getpwent, just like POP3 does, and instruct sendmail to process the mail for the extra users by mail.local. -SB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37A3A526.253BAD94>