I use the following on my system.  makes updates to filters very easy
and effects all users.

I don't use ~/.tmda/config.  I use /etc/tmdarc for all users.  I have
also changes all users to the following incoming and outgoing filter
set to help alleviate  the need to update more that on place.  If a user
needs a special filter it can be placed at the top of there personal
filter file.

cat ~./tmda/filters/incoming-filter
### start ~/.tmda/filters/incoming-filter (first match wins) ###

include /etc/tmda/filters/incoming-filter

### end ~/.tmda/filters/incoming-filter (first match wins) ###

I do the same for ~./tmda/filters/outgoing-filter as well.
this allows me to make changes to /etc/tmda/filters/incoming-filter and
have it effect all users.

j

On Thu, 11 Dec 2003 13:08:05 -0000
"David Flood" <[EMAIL PROTECTED]> wrote:

> Now I have TMDA up and running with auto white listing on confirmation
> of messages (thanks to Jim Ramsay and MT for replying to my mailing
> list post) I would quite like to get as much of the settings that are
> the same for every user specified in system wide files like
> /etc/tmdarc.
> 
> My first question is how many files like tmdarc are there i.e. tmdarc
> is the system wide equivalent of ~/.tmda/config is there any
> equivalent to ~/.tmda/lists/incoming and outgoing? If so are they
> documented anywhere? The reason I ask this is the more rules I can get
> into files that I control the less chance there is of users breaking
> their own setup by meddling with their setup files.
> 
> The second question is can I and if so how do I use the username
> parameter from within tmdarc? I've tried it with the following files
> containing:
> 
> ~support/mail/.tmda/config:
> username = "support"
> 
> /etc/tmdarc:
> CONFIRM_APPEND =
> os.path.expanduser("/export/spare/${username}/mail/.tmda/list
> s/whitelist")
> 
> I've also tried
> 
> CONFIRM_APPEND = 
> os.path.expanduser('/export/spare/${username}/mail/.tmda/lists/whitel
> ist')
> 
> and
> 
> CONFIRM_APPEND = 
> os.path.expanduser("/export/spare/"+${username}+"/mail/.tmda/lists/wh
> itelist")
> 
> The top one comes up in TMDA_DELIVERY_FAILURE as no such file or
> directory and the others come up as syntax errors. I should probably
> point out that /export/spare/support/mail/.tmda/lists/whitelist" does
> exist.
> 
> Thanks in advance
> _____________________________________________
> tmda-users mailing list ([EMAIL PROTECTED])
> http://tmda.net/lists/listinfo/tmda-users
> 


-- 

Do or do not, there is no try. --Yoda

onClipEvent (enterFrame){
if (emailsent==0){
_root.sig = "
// Jared Lyvers
// ---------------------------
// Director of Interactive
// Director of IT
// LPI Certified
// ---------------------------
// www.lewiscommunications.com
// 205  .  980  .  0774
// R     T      F     M
  "
}
}
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to