Re: [vchkpw] pop before smtp - controlling open-smtp

2004-03-23 Thread Alex Pleiner
* Jeff Koch [EMAIL PROTECTED] [2004-03-23 04:47]:

 Is there anyway to control the format of the record that gets added to 
 /home/vpopmail/etc/open-smtp ? The record currently looks like:

 216.250.211.80:allow,RELAYCLIENT=,RBLSMTPD= 1080009393

Yes, open vpopmail.c in your favourite editor and apply the change. It
is not very difficult. Search for RELAYCLIENT and you will find the
line you have to change. Recompile afterwards.

BTW, Tom asked me to code a runtime configuration file in ~vpopmail/etc
that will contain additional environment variables that will be added to
open-smtp. My current approach can be found at:

http://sourceforge.net/tracker/index.php?func=detailaid=914124group_id=85937atid=577800

This code is still for reviewing only. Runtime configuration will be
added to vpopmail soon, as Tom told me. It will solve your problem
without patching the code.

HTH,
Alex

-- 
Alex Pleiner
zeitform Internet Dienste Fraunhoferstrasse 5
  64283 Darmstadt, Germany
http://www.zeitform.deTel.: +49 (0)6151 155-635
mailto:[EMAIL PROTECTED]Fax:  +49 (0)6151 155-634
GnuPG/PGP Key-ID: 0x613C21EA


[vchkpw] pop before smtp - controlling open-smtp

2004-03-22 Thread Jeff Koch
Is there anyway to control the format of the record that gets added to 
/home/vpopmail/etc/open-smtp ? The record currently looks like:

216.250.211.80:allow,RELAYCLIENT=,RBLSMTPD= 1080009393

We would like it to be:

216.250.211.80:allow,RELAYCLIENT=,QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl 
1080009393

This would allow us to insure we had virus-scanning on mail from popped 
IP's without permanently setting the QMAILQUEUE variable which then scans 
everything with a large overhead.



Best Regards,

Jeff Koch