TCPRULES howto use variables?

This is a discussion on TCPRULES howto use variables? within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; Does anyone know howto set a variable with another variable in the tcprules CDB ? I'm trying to achive 2 ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.qmail

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-21-2003
=?ISO-8859-1?Q?Andr=E9_Paulsberg?=
 
Posts: n/a
Default TCPRULES howto use variables?

Does anyone know howto set a variable with another variable in the tcprules CDB ?

I'm trying to achive 2 things, one is RBL related the other more general.
First det RBL spam thingy:

=.spamdomain.net:allow,RBLSMTPD="-Die spammer, DIE!"
=.somebadspammers.net:allow,RBLSMTPD="-Due to much spam from your domain I have banned $TCPREMOTEIP"
=:allow,RBLSMTP="You do not have a valid RDNS entry"
:allow


I'm also using tcprules with other programs, and need variables here too:
10.0.0.1:allow,USER="Peter",PATH="$PATH:/home/$USER/bin"
10.0.0.2:allow,USER="Grace",PATH="$PATH:/home/$USER/bin"
10.0.0.3:allow,USER="Will",PATH="$PATH:/home/$USER/bin"
10.0.1.:allow,GROUP="Accounting",PATH="$PATH:/home/groups/$GROUP/bin"
:deny

It is possible to avoid use of $USER and $GROUP, but the $PATH
is worse since it will need to be changed in the future.


Regards André Paulsberg

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:11 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0