At 10:48 30.03.04 -0500, Joel Newkirk wrote:
>Is there any way to set up SMTP-Auth, while still allowing pop-b4-smtp?
>So far when I've rebuilt the system with SMTP-Auth patching, it will
>ONLY accept SMTP-Auth to allow relaying... :(
You have to write a wrapper script around qmail-smtpd (called from tcpserver).
In case a client is accepted via pop-4-smtpd, the $RELAYCLIENT environment
variable is set. It might be useful to define this variable explicitely,
ie. RELAYCLIENT="PB4S". Check it and call qmail-smtpd without any arguments.
In case the variable is not set or empty, call qmail-smtpd with the proper
SMTP Auth args.
>We have several thousand clients set up on pop-b4-smtp, and forcing a
>mass migration to smtp-auth is out of the question, yet I /really/ want
>to get proper smtp-auth working, so new clients are already there, and
>current clients are migrated as we are able to do so.
>We're set up with qmail/vpopmail on mysql backend, in an IPVS cluster
>arrangement of three mailnodes, a director, and a DB/fileserver
>backend. Worst-case I guess I can assign a second public IP and a
>separate DNS entry, and force SMTP-Auth clients to use the second FQDN,
>routing that to a single node that supports SMTP-Auth, but then I lose
>the benefit of clustering. :(
>Any insights are appreciated.
I charge $1 for each mail client.
Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de/
Wiener Weg 8, 50858 Cologne | T: +49 221 484 4923 | F: ...24