Re: [courier-users] mailbot useage

This is a discussion on Re: [courier-users] mailbot useage within the Courier-Imap forums, part of the Mail Servers and Related category; Kyle Johnson wrote: > Bowie Bailey wrote: > > > > Put this line in your .mailfilter: > > > &...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-29-2006
Bowie Bailey
 
Posts: n/a
Default Re: [courier-users] mailbot useage

Kyle Johnson wrote:
> Bowie Bailey wrote:
> >
> > Put this line in your .mailfilter:
> >
> > `env > env.txt`
> >
> > (including the back-ticks)
> >
> > This will drop a copy of the environment into the user's home
> > directory. You can take a look at this file to see which variables
> > are set and then modify your mailbot line to use those variables.
> >
> >

> Sorry - I should have clarified that earlier on.
> The env.txt file looks like this:
> HOSTNAME=mail
> RECIPIENT=
> SHELL=/bin/sh
> UMASK=077
> MAILDIRQUOTA=
> SIZE=208
> LOCKEXT=.lock
> DEFAULT=/usr/local/virtual/hanoveruniform.com/sodoherty/
> MAILFILTER=.mailfilter
> PATH=/bin:/usr/bin:/usr/local/bin
> LOCKTIMEOUT=60
> PWD=/usr/local/virtual/hanoveruniform.com/sodoherty
> LINES=3
> SHLVL=1
> HOME=/root
> LOCKSLEEP=5
> LOCKREFRESH=15
> FROM=sodoherty@hanoveruniform.com
> LOGNAME=sodoherty@hanoveruniform.com
> SENDMAIL=/usr/sbin/sendmail -oi
> _=/usr/bin/env
>
> No RECIPIENT, as we though, and what's with HOME=/root?
> Anyway, I'm going to send a mail to the dspam-users list and see if
> they know how to pass the variables.


Who is this message from/to? You may be able to use the LOGNAME
variable if it is the same as the recipient.

--
Bowie

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
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 08:05 AM.


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