Alex Povolotsky wrote:
> 
>  <[EMAIL PROTECTED]>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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to