Re: vpopmail and sendmail
- From: Andrzej Adam Filip <anfi@xxxxxxx>
- Date: Sun, 16 Dec 2007 23:25:46 +0100
Res <res@xxxxxxxxxx> writes:
On Sun, 16 Dec 2007, Andrzej Adam Filip wrote:
Would you like to *test* integrating vpopmail with sendmail?
As I understand you use sendmail with milter as SMTP front-end to
vpopmail/qmail/mysql.
I think there are a few issues replacing qmail with sendmail in the above:
1) SMTP AUTH -> sendmail may use pam-mysql
That's no problem for us, we don't do it, it is rare for any ISP
in this part of the world to offer this, customer (outbound) SMTP servers
relay for our IP's only.
2) verification of recipient existence
How does your existing sendmail front-end delivers it?
The milter :) smf-sav (in recipient checking mode only)
3) *simple* modification of vdelivermail from vpopmail package to make
it accept user and host-name via command line instead of environment
variables
The bigger problem is for it to be used widely, Sendmail would need to
natively support MailDir, people wont want to mauck around googling trying
to find out how to get it to work with maildir, vpopmail only works with
it due to its structure, and I'd never use anything else but MailDir where
the mailstore is accessed by NFS.
Native sendmail support is not required.
"Sendmail way" is to pass message to "mailer program" [or via LMTP socket].
As I understand vdeliver program from vpopmail package can be used after
changing method used to pass user and domain (via command line instead
of current via environmental variable) and making it do setuid and setgid.
Am I wrong? [Have I missed something?]
4) support for vpopmail running on a few different OS account
There should be no problems with one OS account, small problems with
a few account (<5) [custom sendmail.cf mailers per OS account]
5) automatic addition of new virtual domains will (initially?) require
manual procedure
This is sort of what some tried to do with postfix and vpopmail, it still
requires qmail and its config files, and about 1% of the people manage to
get it to work, when I heard what was involved (which actually differes
from the postfix.txt file inter7 have, I laughed and said a bunch of
un-repeateble words whilst laughing and stayed with the curret setup.
It really would be a major operation to get them to work toether, and
since Clauss wont offer a native MailDir and inter7 have said they wont
port it to any other MTA, which means even if Clauss did change Sendmail
to MailDir it wouldnt matter as inter7 wont work with him, they declared
that response some time ago to postfix which does natively offer both
formats, so nothing will change anytime soon.
Personally I feel thats crazy, if you wrote software, you'd want it
to be "out there" and well known, thats only going to happen by many
people using it, and by saying "written for qmail and qmail only"
is like saying I'm only going to support a small percentage of users,
where it might be used, say, in 50K installations now, it HAS the
potential to be used in over 500K installations.
Proper integration of vpopmail may be achieved by:
a) *Delivery to virtual mailboxes*
making vdelirmail (of vpopmail package) to deliver message received
via STDIN to proper mailbox with recpient address passed via command
line. Sendmail may execute the program as root so vdelivermail will
be capable to change uid/gid as required.
[later vedelivermail may support LMTP via Unix socket ]
b) *SMTP AUTH helper* (saslauthd protocol) [see sasl]
making vpopmail support saslauthd protocol
(username,plaintext_password,service,realm) -> OK/NO
c) *RCPT TO: reject helper* (socketmap protocol) [see sendmail doc]
(napname,user@domain)-> NOTFOUND/OK/OVER_QUOTA/BLOCKED
d) a few new m4 files and a patch to cf/m4/proto.m4 to make sendmail.cf
take advantage of "a" and "d"
These things seem treacherously simple ;-)
[ saslauthd and socketmap are trivial protocols ]
URL(s):
b) http://www.opensource.apple.com/darwinsource/10.4.8.x86/passwordserver_sasl-59.4/cyrus_sasl/saslauthd/saslauthd.c
c) sendmail distribution: cf/README ,contrib/socketmap*.pl
--
[pl>en: Andrew] Andrzej Adam Filip : anfi@xxxxxxxxxxxx : anfi@xxxxxxxx
Open-Sendmail: http://open-sendmail.sourceforge.net/
.
- References:
- Sendmail virtual domain users withOUT local accounts
- From: googlee07
- Re: Sendmail virtual domain users withOUT local accounts
- From: googlee07
- Re: Sendmail virtual domain users withOUT local accounts
- From: Andrzej Adam Filip
- vpopmail and sendmail [Was: Sendmail virtual domain users withOUT local accounts]
- From: Andrzej Adam Filip
- Sendmail virtual domain users withOUT local accounts
- Prev by Date: Re: Thousands of mails stuck in clientmqueue
- Next by Date: Re: vpopmail and sendmail
- Previous by thread: Re: vpopmail and sendmail [qmail]
- Next by thread: Re: vpopmail and sendmail
- Index(es):
Relevant Pages
|