Indirectly, David Hofmann brought me furthern. My problem is solved, so I
revoke my feature request, since I have a valid work-around.
I added the following line to my input filter specs:
--- snipp -----
# Accept every mail which contains my mobile phone number
pipe "/usr/local/bin/body_whitelist 98327263 ~/.tmda/lists/confirmed" ok
--- snipp -----
And wrote the short script /usr/local/bin/body_whitelist, which reads:
--- snipp -----
#!/bin/bash
c=`grep -c $1`
if [ $c -gt 0 ] ; then
echo $SENDER >>$2
exit 0
else
exit 1
fi
--- snipp -----
This way, if somebody sends a new mail (not a confirmation) which has
98327263 in it's contents, the script adds the sender's mail address to my
whitelist and passes the mail.
Peter
-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im
Auftrag von Sig Pam
Gesendet: Montag, 29. September 2008 13:22
An: [email protected]
Betreff: TDMA-Feature Request/Proposal for implementation
Hi Folks,
Way back in 2004 there was a feature request for something like "ok=append",
to automagically add mail adresses to the whitelist if a filter decides that
the mail should be delivered. The feature request is still on the wish list.
Can sombody estimate the effords for implementing that? I am willing to pay
or donate for that feature if somebody could deliver proposal for that.
What I commonly do is write my e-mail with outlook, add my mail footer
containing some code, and send it trough one of your mail servers to my
customer. When he/she anwers my mail, my footer is still in, and I can
bypass tmda since I scan for my footer in the body of the mail. But in that
case I want to have the replyer of my mail be whitelisted....
Thank you,
Peter
_________________________________________________
tmda-workers mailing list ([email protected])
http://tmda.net/lists/listinfo/tmda-workers
--
---------------------------------------------------------------------
Angaben gemd_ '35a GmbH-Gesetz:
ITServ GmbH
Sitz der Gesellschaft: 55294 Bodenheim/Rhein
Eingetragen unter der Registernummer HRB54785 beim AG Darmstadt
Vertretungsberechtigter Geschdftsf|hrer: Peter Bauer
Umsatzsteuer-ID: DE182270475
---------------------------------------------------------------------
_________________________________________________
tmda-workers mailing list ([email protected])
http://tmda.net/lists/listinfo/tmda-workers