procmail
[Top] [All Lists]

Re: supress confirmation in smartlist

2000-12-02 12:29:51
On Fri, Dec 01, 2000 at 12:12:39AM +0100, Niketan Pandit wrote:
Hi,

how can I completely stop subscribe as well as unsubscribe 
confirmation when a smartlist is being run mainly as newsletter
i.e. only one person in accept list and many in dist ?

1) Even with custom (empty files) subscribe.txt and unsubscribe.txt
a couple of lines are always sent in english.

I don't know exactly how smartlist works, but there must be some unique string
somewhere in the mail that identifies it as a system message coming from
smartlist.

Find that string (which could be appearing in the msg-ig, subject or maybe
even in extra headers, beginning with X-<blabla>

Let's assume you found the unique string in the From header, and the string is
"smartlist". Build the following entry in your procmailrc:

:0
* ^From:.*smartlist.*
{
        :0
        /dev/null
}

2) Alternatively it would also be OK if I could design the entire
confirmation text in german.

Make a perlscript which translates the text on the fly, using for instance
http://babelfish.altavista.com . It could be that this already exists.

Then build an entry like this:

:0
* ^From:.*smartlist.*
{
        :0
        /path/to/translate.pl
}

-- 
GUI
What your computer becomes after spilling your coffee on it.
(pronounced 'gooey')

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>