Hi, im from bulgaria and i want to translate my subscribe.txt and
unsubscribe.txt files to bulgarian, but the default charset of mails is
not UTF-8 and i cant see the translation, where i can find the default
charset of smartlist to set up to UTF-8?
Thanks
The Smartlist on my system used to send list mails in batches of
20 at a time, each batch takes about 2-3 seconds, then next batch
immediately follow.
Recently I notice it *sometimes* take a very long "idle" gap between
each batch -- about 2-4 minutes, during which the system is not busy,
and qmail is not busy:
qmails 2764 1 0 Jan28 ? 00:00:15 qmail-send
qmaill 2770 2764 0 Jan28 ? 00:00:08 splogger qmail
root 2772 2764 0 Jan28 ? 00:00:01 qmail-lspawn |
/var/qmail/bin/preline /usr/bin/procmail
qmailr 2773 2764 0 Jan28 ? 00:00:13 qmail-rspawn
qmailq 2774 2764 0 Jan28 ? 00:00:01 qmail-clean
This way, a mail used to take under 5 minutes to distribute now
takes more than half an hour. I wonder what may cause this behavior
change?
Zhiliang
This comes directly from SmartList/etc/rc.request (i.e., it is an
unmodified installation file).
Consider this recipe:
#
# Is it an archive retrieval command?
#
:0 HB w
* 9876543210^0 ^^(.+$)*Subject:[ ]*(([(<]no(ne| subject\
( (\(file transmission|given))?)[>)])?\
$(.+$)*(^[ ]*)+)?(archives?:?([ ]|$)|\
((send|get)(me)?|gimme|retrieve|mail|ls|dir(ectory)?|list|show|\
search|[fe]?grep|find|maxfiles|version)([ ]+[^ ]*)?$)
* 1^0 B ?? ^^([ ]|$)*\
((archives?:?($|[ ]+)|\
((send|get)(me)?|gimme|retrieve|mail|ls|dir(ectory)?|\
list|show|search|[fe]?grep|find|maxfiles|version|help|info)\
([ ].*)?$)([ ]|$)*)+\
([^ a-z].*$(.*$(.*$(.*$(.*$)?)?)?)?)?^^
{
:0 W
* 9876543210^0 !restrict_archive ?? y
* 2^0 ? formail -rt -R To: "From " -X "From " | \
multigram -b1 -m -l$submit_threshold -L$domain \
-x$listaddr -x$listreq accept accept2
| arch_retrieve
:0 E fhw
| formail -A "X-Diagnostic: Not on the accept list"
}
As I remember, this is supposed to be a complete recipe; so where is
the closing parenthesis for
9876543210^0 ^^(.+$)*Subject:[ ]*____(____([(<]no(ne| subject\
the marked left paren supposed to go?
Ditto for
#
# Is it an unsubscription request?
#
:0 EHB
* 9876543210^0 ^^(.+$)*Subject:[ ]*____(____[(<]no(ne| subject\
and
#
# Is it a subscription request?
#
:0 EHB
* 9876543210^0 ^^(.+$)*Subject:[ ]*____(____[(<]no(ne| subject\
and
#
# Is it an info or help request? Send back the help.txt and the
# optional info.txt file.
# We do the same on a complete empty mail (except for perhaps a signature).
#
:0 EHB
* 3^0 ^^(.+$)*Subject:[ ]*\
____(____([(<]no(ne| subject( (\(file
transmission|given))?)[>)])?$\
(.+$)*(^[ ]*)+)?[a-z,. ]*(help|info(rmation)?)\>
* 1^0 ^^(.+$)*Subject:[ ]*\
____(____[(<]no(ne| subject( (\(file
transmission|given))?)[>)])?$
Thanks; that was helpful. It reminded me that I had modified SmartList
a decade ago so that it did work that way, and that I needed to go
find a copy of my changes. I did and now things are working the way
they are supposed to be working for my site.
It had been so long since I had really studied Smartlist recipes that
I had forgotten all about it.
Thanks again for taking the time to dissect the messages.
--
Greg
On Mon, Nov 3, 2008 at 8:57 PM, Cary Coutant <ccoutant(a)gmail.com> wrote:
>> procmail: Executing "multigram,-b1,-l30730,reject"
>>
>> procmail: Non-zero exitcode (1) from "multigram"
>>
>> procmail: No match on "multigram -b1 -l30730 reject"
>
> This just means that the address you were trying to subscribe was not
> on the "reject" list. No problem here.
>
>> procmail: Executing " formail -IReceived: -IX-Envelope-To:
>> -IIn-Reply-To: -ICc: | \
>> multigram -b1 -x$listreq -x$listaddr -l$reject_threshold dist"
>>
>> procmail: Non-zero exitcode (1) from " formail -IReceived:
>> -IX-Envelope-To: -IIn-Reply-To: -ICc: | \
>> multigram -b1 -x$listreq -x$listaddr -l$reject_threshold dist"
>> procmail: No match on " formail -IReceived: -IX-Envelope-To:
>> -IIn-Reply-To: -ICc: | \
>> multigram -b1 -x$listreq -x$listaddr -l$reject_threshold dist"
>
> And this means that the address isn't already on the mailing list. No
> problem here either.
>
>> procmail: No match on "y"
>
> This means that you haven't enabled auto_subscribe. This is probably
> your problem.
>
> This isn't going to do what you expect anyway. Sending a message to
> the -request address with "subscribe" in the subject will add you, the
> *sender*, to the list -- not the address you give after the
> "subscribe" command.
>
> If you as the list maintainer are trying to repopulate all your lists,
> you should be using X-Commands. In rc.custom, set X_COMMAND_PASSWORD
> to a password of your choice, then you can send a message to the
> -request address with an X-Command header like this:
>
> X-Command: you(a)example.com PASSWORD subscribe someone(a)example.com
>
> Where you(a)example.com is the maintainer and someone(a)example.com is the
> address you want to subscribe. You can even send multiple commands in
> one message:
>
> X-Command: you(a)example.com PASSWORD subscribe someone(a)example.com
> subscribe someoneelse(a)example.com
>
> See section 2 of .etc/Manual for more details.
>
> -cary
>
[Sorry if this is a duplicate. I sent it earlier from the wrong email account.]
> procmail: Executing "multigram,-b1,-l30730,reject"
>
> procmail: Non-zero exitcode (1) from "multigram"
>
> procmail: No match on "multigram -b1 -l30730 reject"
This just means that the address you were trying to subscribe was not
on the "reject" list. No problem here.
> procmail: Executing " formail -IReceived: -IX-Envelope-To:
> -IIn-Reply-To: -ICc: | \
> multigram -b1 -x$listreq -x$listaddr -l$reject_threshold dist"
>
> procmail: Non-zero exitcode (1) from " formail -IReceived:
> -IX-Envelope-To: -IIn-Reply-To: -ICc: | \
> multigram -b1 -x$listreq -x$listaddr -l$reject_threshold dist"
> procmail: No match on " formail -IReceived: -IX-Envelope-To:
> -IIn-Reply-To: -ICc: | \
> multigram -b1 -x$listreq -x$listaddr -l$reject_threshold dist"
And this means that the address isn't already on the mailing list. No
problem here either.
> procmail: No match on "y"
This means that you haven't enabled auto_subscribe. This is probably
your problem.
This isn't going to do what you expect anyway. Sending a message to
the -request address with "subscribe" in the subject will add you, the
*sender*, to the list -- not the address you give after the
"subscribe" command.
If you as the list maintainer are trying to repopulate all your lists,
you should be using X-Commands. In rc.custom, set X_COMMAND_PASSWORD
to a password of your choice, then you can send a message to the
-request address with an X-Command header like this:
X-Command: you(a)example.com PASSWORD subscribe someone(a)example.com
Where you(a)example.com is the maintainer and someone(a)example.com is the
address you want to subscribe. You can even send multiple commands in
one message:
X-Command: you(a)example.com PASSWORD subscribe someone(a)example.com
subscribe someoneelse(a)example.com
See section 2 of .etc/Manual for more details.
-cary
Thanks Charlie for sharing,
"demime.pl" doesn't seem to be in the Smartlist distributions, nor I could
easily find it by Googled resources. Would you mind sharing where can I
get it?
The most likely site http://scifi.squawk.com/demime.html seems to be down.
Or is it a Mailman goodie?
Zhiliang
On Sun, 5 Oct 2008, Charlie Summers wrote:
> Date: Sun, 05 Oct 2008 19:12:30 -0400
> From: Charlie Summers <charlie(a)lofcom.com>
> To: smartlist(a)lists.RWTH-Aachen.DE
> Subject: Re:"=20" etc symbols
>
> At 4:47 PM -0400 10/5/08, Zhiliang Hu is rumored to have typed:
>
>> I wonder what exactly
>> are they and is there a better way clean them out?
>
> Quoted-printable MIME (a space at the end of a line must be encoded =20,
> which is 20h, 32d, or the ASCII space character), and piping the mail to
> demime.pl should clean it up.
>
> Charlie
>
>
> _______________________________________________
> Smartlist mailing list
> Smartlist(a)lists.RWTH-Aachen.DE
> http://MailMan.RWTH-Aachen.DE/mailman/listinfo/smartlist
>
I set my list to allow plain text only (no hyper text, no attachment,
etc). Occasionally, there are mails through the list having symbols like
"=20", " =", etc in the mail body (within the text). I used to use a perl
recipe from this list (or procmail list; sometimes ago) to clean them:
perl -pe 's/=([0-9a-f][0-9a-f])/sprintf "%c", hex($1)/ige; s/=\n/\n/'
but it's not always effective. They used to appear often from European
mails, but now some US orignated mail also have it. I wonder what exactly
are they and is there a better way clean them out?
Zhiliang
Hi,
Can I configure smartlist to *not* send rejected messages to the list
maintainer? I am getting a *lot* of spam rejected from a list, that
is filling up my mailbox every few days.
Thanks!
Mike
Hello,
Let me ask you if SmartList will work in my Postfix installation. I'm
using postfix with virtual mailboxes, as you can see in the howto i
did used:
http://www.howtoforge.com/virtual_users_and_domains_with_postfix_debian_etch
I'm using Debian and so far i tried to install smartlist package with
"apt" and configure postfix, i couldn't send e-mails to any list
created with smartlist. At main.cf, i made the following change:
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_email2email.cf,
hash:/etc/aliases
At /etc/aliases,
########################################################################
testlist: "|/var/list/.bin/flist testlist"
testlist-request: "|/var/list/.bin/flist testlist-request"
########################################################################
As i try to send mail to testlist(a)mydomain.br, i get the response from
MAILER-DAEMON(a)mydomain.br:
The mail system
<"|/var/list/.bin/flist testlist"@mydomain.br> (expanded from
<testlist(a)mydomain.br>): unknown user: "|/var/list/.bin/flist
testlist(a)mydomain.br"
Well, i just kicked the ball, don't have any idea if it's supposed to
work or not.
thanks,
Paiva