procmail
[Top] [All Lists]

Trivial mailing list

1999-02-28 19:00:32
Since I can't use SmartList becouse I don't have permission to write
/etc/aliases (there is no /usr/lib/aliases on IRIX :) ) I have to relay on
plain procmail recipes. Now, problem is that I am too unexperienced.

What I wan't to do is following:

1. Check if message have 's-llama: ' at the beggining of the first
   line of the boddy.
2. Check if sender's email address is listed in the file $LLAMAS (one
   address per line).
3. Is step (2) fails mail file $LLAMA_NOACCES to sender with original
   message added at the bottom.
4. If everything is OK, forward mail to all addresses in file $LLAMAS.

Or, if it's easier to implement:

1. Check if message have 'llama-pwd: $LLAMAPWD' at the beggining of the first
   line of the boddy. ($LLAMAPWD is single word).
2. If password is wrong mail file $BAD_LLAMA_PWD along with original mail
   to sender.
3. If everything is OK, forward mail to all addresses in file $LLAMAS.

Than continue with .procmailrc.

Now, I know that I am asking a bit too much, but I am really clueles here
and would really appreciate any help.

BTW, I prefer method one O:)

--
PGP keys available via keyservers, finger or at www.rcub.bg.ac.yu/~lupusy
  Both keys are under the same UserID = 
<lupusy(_at_)afrodita(_dot_)rcub(_dot_)bg(_dot_)ac(_dot_)yu>
1024-bit RSA key  KeyID=9CCDB6E5  fpr = 08104108C9A5352B 780D9A18ED3F8A74
2048-bit RSA key  KeyID=43AC2F55  fpr = F516BC335C0BAF86 65DB67A827F266B5

<Prev in Thread] Current Thread [Next in Thread>
  • Trivial mailing list, Lupus Yonderboy <=