Re: setting additional variable

Bruce Guenter <[email protected]>
Newsgroups gmane.comp.sysutils.bgware
Message-ID <[email protected]>
On Fri, May 06, 2005 at 11:08:18AM -0400, Payal Rathod wrote:
> Can someone please tell me how to set RBLSMTPD="" for every IP which 
> successfully authenticates the POP3 session (I mean in addition to 
> setting the RELAYCLIENT=""). I am not too much of a programmer and I 
> just cannot figure out where it is done in source.

With the current relay-ctrl sources, the only way is to arrange to have
the IP file contain "RBLSMTPD=\0" (with that last byte being a NUL).
This is obviously rather inconvenient, so I am open to suggestions on
how to have relay-ctrl-allow (or -check) set up these or other extra
variables.

One choice would be to have the variables on the command line before the
command to run.  For example:
	... relay-ctrl-allow RBLSMTPD= ...
Better might be in some configuration file or environment variable, but
that gets trickier to program.
-- 
Bruce Guenter <[email protected]> http://em.ca/~bruceg/ http://untroubled.org/
OpenPGP key: 699980E8 / D0B7 C8DD 365D A395 29DA  2E2A E96F B2DC 6999 80E8
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCe7mh6W+y3GmZgOgRAmPXAJwKQNesv8dmnwRY62yzLDM5qvpKLQCfREnH
9KuB1qkDW5icR2zRrClDjZ0=
=gWgu
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.