qmail Digest 20 May 2001 10:00:01 -0000 Issue 1370
Topics (messages 62764 through 62777):
Re: procmail and spambouncer
62764 by: Karsten W. Rohrbach
isoqlog and multilog not playing nice
62765 by: Gary MacKay
62766 by: Justin Heesemann
restart qmail?
62767 by: Cameron Hanover
62768 by: Alex Pennace
62769 by: Cameron Hanover
injecting qmail-queue
62770 by: Todd Finney
qmail-pop3d and /var/spool/mail or NO /HOME/$USER
62771 by: Charles Olds
62773 by: Tim Hunter
62774 by: Dean Staff
The best way to setup...
62772 by: Pascal Nobus
help for show time zone
62775 by: new
62776 by: Mark Delany
qmail-lspawn / qmail-local
62777 by: qmail.col7.metta.lk
Administrivia:
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To bug my human owner, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
Charles Cazabon([EMAIL PROTECTED])@2001.05.18 13:04:03 +0000:
> I don't know anything about "spambouncer", but purely based on the name, I'd
> say it's useless. I've seen some systems which generate late bounces to
> suspicious mail to try to get your name removed from spammers' lists, but the
> basic idea is flawed because spammers universally use forged envelope sender
> addresses and therefore never see the bounces.
even worse with spambouncer which appears to create mails from templates
and sends them to other adresses like contacts of the providers and so
on. i doubt that this can be done effectively with a set of scripts
without annoying overworked admins all over the world... *sigh*
seems like we all will get another wave of spam complaining about spam
like it was when netmedic came out and complained about high latency or
not enough bandwidth at some providers technical mail accounts. and that
just because some web server out there in the net served it's objects
with 6kbit/s and the backbone companies got the annoy-me-mail
here's an excerpt from the web page http://www.spambouncer.org/:
---
The SpamBouncer is a set of procmail recipes, or instructions, which
search the headers and text of your incoming email to see if it meets
one or more of the following conditions:
- Originates from an email address known to belong to a spammer.
- Originates from known spam source sites, domains or hosts -- internet
sites which exist solely or primarily to spam or provide services to
spammers.
- Originates from irresponsible, or rogue, Internet Service Providers
(ISPs), who permit spamming from their sites and fail to take
appropriate action against spammers.
- Was sent using a bulk email program whose only or primary purpose is to
send large quantities of junk email.
- Contains headers which match the filter's profile of definite or
probable spam.
- Contains body text strings which match the filter's profile of probable
spam.
The SpamBouncer sorts suspected spam into two categories -- mail from
known spam sources which is definitely spam, and other mail which is
probably spam, but might also be legitimate. It then tags this email
with appropriate headers giving the spam classification, and responds
according to the parameters you have set.
Depending on how you set it up, it will:
- Simply tag the suspected spam and return it to your main incoming
mailbox, allowing you to set up Eudora, Pegasus Mail, or another POP
mail program to retrieve and sort your mail.
- Tag the suspected spam, delete spam from known spam sources, and file
suspected spam in a separate folder.
- Send a simulated MAILER-DAEMON daemon "bounce" to known spammers in
hopes that they will think your email address is invalid and remove you
from their spam lists.
- Complain to the "upstream providers" of known spammers or spam
sites/domains, asking that they disconnect the internet service of the
spammers.
- Notify senders of email tagged as probable spam that their email was
intercepted, and give them a password to resend their email and bypass
spam filtering if their email was legitimate. (Spammers almost never try
to bypass filtering when warned this way -- in most cases, they don't
even read replies to their mail.)
---
--
> Nothing is better than Sex.
> Masturbation is better than nothing.
> Therefore, Masturbation is better than Sex.
KR433/KR11-RIPE -- http://www.webmonster.de -- ftp://ftp.webmonster.de
[Key] [KeyID---] [Created-] [Fingerprint-------------------------------------]
GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE DF22 3340 4F4E 2964 BF46
I have qmail,qpop3d, and courier-imap humming along just fine. I added
isoqlog which, when run manually works fine, but I can not get it to log
on it's own. I've search all 38 messages (wow!) on the yahoo isoqlog
message board, and tho others are having the same problem, no solutions.
The problem centers around the /var/qmail/supervise/qmail-send/log/run
file. (Yes, I used the 'Live With Qmail' doc to set everything up. The
isoqlog doc says to remove the 's2500000 ' portion of the command and
put in !isoqlogappend instead. So the file reads (all on one line):
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
!isoqlogappend /var/log/qmail/send
I can see the command running in "ps auxw" so I know the restart took
affect. But nothing happens. The /var/log/qmail/isoqlog file is supposed
to fill up (I think) with info. But after each nights cron job that
rotates the log file, it just sits there at zero bytes. The doc says to
manully run the tai64nlocal command to create the first isoqlog file,
which works fine. Then I manully run the cron jobs and the web pages get
created beautifully.
What am I missing?
- Gary
Hi...
I had similar problems.
In isoqlog it is mentioned to remove any s12345 stuff from
/var/qmail/supervise/qmail-send/log/run
which looks like nonsense to me.
in fact, multilog ALWAYS uses a "s" switch. only that it uses default
values of about 100kbyte if you supply it with another size.
so, rotating the log on a daily basis, you would either have to use
the patch for multilog which rotates the logfile, whenever it receives
a HUP, or your logfile is not truely rotated daily. by applying a
small s value however, you can come near to a daily rotation...
please notice, that isoqlogappend is only run when the "current" log
is rotated.
so if you don't notice anything happening it might just be, because
your "current" file is smaller than 100kbyte.
well, another possibility would be not to use multilog..
Saturday, May 19, 2001, 11:21:33 PM, you wrote:
> I have qmail,qpop3d, and courier-imap humming along just fine. I added
> isoqlog which, when run manually works fine, but I can not get it to log
> on it's own. I've search all 38 messages (wow!) on the yahoo isoqlog
> message board, and tho others are having the same problem, no solutions.
> The problem centers around the /var/qmail/supervise/qmail-send/log/run
> file. (Yes, I used the 'Live With Qmail' doc to set everything up. The
> isoqlog doc says to remove the 's2500000 ' portion of the command and
> put in !isoqlogappend instead. So the file reads (all on one line):
> #!/bin/sh
> exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
> !isoqlogappend /var/log/qmail/send
> I can see the command running in "ps auxw" so I know the restart took
> affect. But nothing happens. The /var/log/qmail/isoqlog file is supposed
> to fill up (I think) with info. But after each nights cron job that
> rotates the log file, it just sits there at zero bytes. The doc says to
> manully run the tai64nlocal command to create the first isoqlog file,
> which works fine. Then I manully run the cron jobs and the web pages get
> created beautifully.
> What am I missing?
> - Gary
Regards,
Justin
ok, i figured out what i was doing wrong with ezmlm [edit qmail-conf, duh]
ezmlm has been successfully installed. i created an email list all
nice and happy. sent a test message to it, and it's just sitting in
qmail's mess folder. do i need to do some kind of HUP or something
to get qmail to see the new list/manager/something?
--
=----------------------------------------------=
-.c.-
My mistress when she walks treads on the ground.
On Sat, May 19, 2001 at 08:03:25PM -0400, Cameron Hanover wrote:
> ezmlm has been successfully installed. i created an email list all
> nice and happy. sent a test message to it, and it's just sitting in
> qmail's mess folder. do i need to do some kind of HUP or something
> to get qmail to see the new list/manager/something?
What do the logs say?
i am the fool.
i did the instructions for created a list under ~alias, but i did it as
root. chowned everything, and now it works.
i really oughta learn to look at the logs more often. sorry to trouble
ya'll, and thanks for all help.
/*C*/
On Sat, 19 May 2001, Alex Pennace wrote:
> Date: Sat, 19 May 2001 20:18:14 -0400
> From: Alex Pennace <[EMAIL PROTECTED]>
> To: Cameron Hanover <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: restart qmail?
>
> On Sat, May 19, 2001 at 08:03:25PM -0400, Cameron Hanover wrote:
> > ezmlm has been successfully installed. i created an email list all
> > nice and happy. sent a test message to it, and it's just sitting in
> > qmail's mess folder. do i need to do some kind of HUP or something
> > to get qmail to see the new list/manager/something?
>
> What do the logs say?
>
Before I go into detail about the problem I'm having, I'll describe
what I'm trying to do, to make sure that I'm even on the right track.
We host a number of lists running under ezmlm-idx. I want to send an
announcement out to all of the lists every month. I first tried to do
this with a list of lists, but ezmlm doesn't care for that approach,
because the list name doesn't wind up in the To: or Cc: headers.
I'd rather not have things depend on the announcement process user
being a subscriber or in DIR/allow, which I think precludes the use of
qmail-inject. So, I'm attempting to do it with qmail-queue.
I created my message file, message.txt, and my envelope file
envelope.txt. AFAIK, they're in the correct format.
Looking back through the list, I saw Peter Green's example from a few
months ago, and came up with this:
#!/usr/bin/perl -w
use strict;
$|++;
my $mailprog = '/var/qmail/bin/qmail-queue';
my $message = './list_monthly_announcement.txt';
my $envelope = './list_monthly_announcement_recipients.txt';
open MSG,"$message" or die "Failed to open message file $!";
open ENV,"$envelope" or die "Failed to open envelope $!";
open \*STDIN, "<&MSG";
open \*STDOUT, "<&ENV";
my $rc = exec( $mailprog );
if ($rc) {
die "$rc something happened";
}
This does nothing useful (nothing in the log, no message sent),
although I'm at a loss to explain why. I saw references to calling a
pipe() to do this properly, but I can't find an example. Does one
exist?
thanks,
Todd
My goal is:
Install qmail to work with virtual users. (i.e. No account in
/etc/passwd. No /home/user. Mail delivered to /var/spool/mail.)
I have downloaded and installed qmail, tcpserver, qmailadmin, etc..
Everything looks good and runs except qmail-pop3d does not work with
virtual users. When trying to retrieve mail I get the message "No
/HOME/$USER directory...
Please recommend a POP3 server that will work with qmail and allow mail
to be retrieved from /var/spool/mail.
Many thanks in advance.
Charles Olds
I can certainly understand not using /etc/passwd but Why not maildirs??
I would really recommend vpopmail or v<whatever the name of that package I
can't seem to remember right now> ?
qmail-pop3d only is used for Maildirs (not the virtual user problem)
other poppers are availible, check the qmail page.
----- Original Message -----
From: "Charles Olds" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, May 20, 2001 8:44 AM
Subject: qmail-pop3d and /var/spool/mail or NO /HOME/$USER
> My goal is:
> Install qmail to work with virtual users. (i.e. No account in
> /etc/passwd. No /home/user. Mail delivered to /var/spool/mail.)
>
> I have downloaded and installed qmail, tcpserver, qmailadmin, etc..
> Everything looks good and runs except qmail-pop3d does not work with
> virtual users. When trying to retrieve mail I get the message "No
> /HOME/$USER directory...
>
> Please recommend a POP3 server that will work with qmail and allow mail
> to be retrieved from /var/spool/mail.
>
> Many thanks in advance.
>
> Charles Olds
>
>
On 20 May 2001, at 20:44, Charles Olds wrote:
>[...]
> Please recommend a POP3 server that will work with qmail and allow
> mail to be retrieved from /var/spool/mail.
>
Try qpopper.
http://www.eudora.com/qpopper/
It's actually mentioned in 'Life with qmail" .
Dean
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dean Staff
Protus IP Solutions
210 - 2379 Holly Lane
Ottawa, ON K1V 7P2 Canada
613-733-0000 ex 546 Fax 613-248-4553
e-mail: [EMAIL PROTECTED] Web: http://www.protus.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Someone with experience please advise.
We want to change a mailserver from sendmail to qmail.
-There will be a few hunderd virtual domains (all with the same IP) on that
machine.
-Some users must be able to control email-adresses for one or more domains:
handled over http with PHP (I'll write the engine myself)
-use of IMAP.
-use of Majordomo
-In the future we want to use LDAP for authentication (not for now)
I've installed qmail and it works fine, but now I have some dissicions to
make:
Authentication:
- 1 single-UID with seperate passwd-file
- 2 MySQL -authentication
- 3 just make real accounts? (with bin/false)
Note here: there's a sendmail-server running and all existing users are
login in with just username (they all have unique names)
Maildir / Mailbox (I think, it will be Maildir)
How will I use wildcards/aliases?
I've seen /users/assign /etc/aliases and de .qmail-default -file.
Which one to use?
I'll hope I'm not the first that will do such a thing...
Thx in advance.
Pascal
hello,
qmail uses GMT to show time zone,like this:
Received: (qmail 9258 invoked from network); 19 May 2001 23:25:42 -0000
How can I let it use GMT+8 or PRC to show time zone.
new
[EMAIL PROTECTED]
On Sun, May 20, 2001 at 01:42:12PM +0800, new wrote:
> hello,
> qmail uses GMT to show time zone,like this:
>
> Received: (qmail 9258 invoked from network); 19 May 2001 23:25:42 -0000
>
> How can I let it use GMT+8 or PRC to show time zone.
Change to code. There is no configuration setting for this.
Regards.
PS. Check the archives. This has been discussed many, many time.
Hi all,
1. I need to get qmail-lspawn to deliver into
/var/qmail/alias/local/Maildir/new/
2. My footer program will identify the type of message,
add the appropricate footer and feed the mail into
/var/qmail/alias/local.footer/Maildir/new/
3. I need next to feed the mail from
/var/qmail/alias/local.footer/Maildir/new/
into qmail-local for local delevery.
Step 2 works quite ok on my remote mail,
What I need help with is step 1 and step 3.
It might also be an idea to change qmail-lspawn
to be some kind of wrapper,
and feed into the real qmail-lspawn.
Help is much appriciated
thanks in advance
Mettavihari
Sri Lanka.
--------------------------------------------
A saying of the Buddha from http://metta.lk/
--------------------------------------------
He who wholly subdues evil deeds both small and great, is called a monk because he has
overcome all evil.
Random Dhammapada Verse 265