Re: patch combination: qmtp + outgoingip

2001-05-19 Thread Jim Steele

Just FYI in case anyone was losing sleep over not being able to use
the QMTP patch and the outgoing IP patche to qmail-remote.c at the
same time.  Well, and also to prevent my previous post from being an
archive orphan.

It turns out that the additional qmail_remote.c code for QMTP totally
confuses the outgoingip patch, and even if the patch wasn't confused,
it would have missed out on patching the additional call to the new
flavor of timeoutconn().  With too few arguments passed in both cases,
no wonder qmail_remote was choking.  Case closed.

Later,
JS

On Fri, May 18, 2001 at 05:31:19PM -0400, Jim Steele wrote:
 
 Does anyone have a qmail-remote.c that has been patched for qmtp AND
 outgoingip?  I must have botched the patch combination, since I now get:
 
 qmail-remote2001-05-18 17:21:26.339297500 delivery 1: deferral: 
qmail-remote_crashed./
 
 Thank goodness I backed up the binaries and use RCS on the source.
 
 Thanks,
 JS



QMail configuration problem

2001-05-19 Thread Fares Gianluca
 smime.p7m


qmail Digest 19 May 2001 10:00:00 -0000 Issue 1369

2001-05-19 Thread qmail-digest-help


qmail Digest 19 May 2001 10:00:00 - Issue 1369

Topics (messages 62720 through 62763):

Large posting
62720 by: Manuel de Ferran
62721 by: Peter van Dijk
62722 by: Faried Nawaz

Re: unauthorized relay :-(
62723 by: Todd Finney
62725 by: Henning Brauer
62727 by: Roger Walker
62728 by: Roger Walker
62730 by: Mark Delany
62735 by: Roger Walker
62738 by: Mark Delany
62748 by: Roger Walker

Re: Unsubscribe Me
62724 by: Mohamed Yasin
62732 by: Joy Hundley

Re: qmail bounce patch help
62726 by: Santosh Pasi

Re: bare linefeed problem by worm?
62729 by: Markus Schaefer

Unauthorized relay :-( == formmail
62731 by: Roger Walker

qmail-inject internals question
62733 by: dan.kelley
62737 by: Peter van Dijk
62742 by: Mark Delany

migrating from qmail-pop to vpopmail
62734 by: Fabio Pedrazzoli
62739 by: Charles Cazabon
62741 by: Henning Brauer

Re: How to send individual messages?
62736 by: Charles Cazabon

Re: Where can I put pop3 log
62740 by: Karsten W. Rohrbach

Re: qmail and sqwebmail
62743 by: Joshua Nichols

Qmail-Sqwebmail-LDAP
62744 by: Remo Mattei

doublebounceto ignored??
62745 by: David Boone
62747 by: Charles Cazabon
62749 by: Markus Stumpf
62750 by: Dave Sill

procmail and spambouncer
62746 by: Gawain Reifsnyder
62752 by: Charles Cazabon

#4.2.1 access denied
62751 by: Tom Beer
62753 by: Charles Cazabon
62754 by: Markus Stumpf

qmail + mutt
62755 by: Bruno Wolff III

patch combination: qmtp + outgoingip
62756 by: Jim Steele
62762 by: Jim Steele

vpopmail or sqwebmail bypasses qmail?
62757 by: Rick Stanley
62759 by: Einar Bordewich

My custom messages returned by rblsmtp?
62758 by: Ed Weinberg

Migration to qmail
62760 by: vincent.idigi.net.my

Re: Lotsa messages from perl with qmail-remote
62761 by: John R. Levine

QMail configuration problem
62763 by: Fares Gianluca

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]


--



I have to send an email to about 5000 persons.

I was wondering if it s better to use an ezmlm list or a .qmail-smth
which contains the list of the users.

Regards,

/Manuel




On Fri, May 18, 2001 at 11:58:17AM +0200, Manuel de Ferran wrote:
 I have to send an email to about 5000 persons.
 
 I was wondering if it s better to use an ezmlm list or a .qmail-smth
 which contains the list of the users.

ezmlm, because it does bounce-handling.

Greetz, Peter.




Manuel de Ferran wrote:

  I was wondering if it s better to use an ezmlm list or a .qmail-smth
  which contains the list of the users.

ezmlm.  It's what it was designed for.




At 04:47 AM 5/18/01, Henning Brauer wrote:
On Thu, May 17, 2001 at 08:47:46PM -0400, Todd Finney wrote:
  At 08:55 PM 5/17/01, Roger Walker wrote:
  :allow
  Doesn't that last allow line cause an open relay?

NO! The last :allow is needed for other Mailservers delivering mail to 
your
domains listed in rcpthosts. Unless RELAYCLIENT is set qmail does not 
relay
to foreign domains.

No need to shout there, Henning.  Please note the question mark at the 
end of my sentence; I wasn't sure.

If you must use caps, please save them for the idiots that can't figure 
out how to unsubscribe.

cheers,
Todd






On Fri, May 18, 2001 at 06:53:30AM -0400, Todd Finney wrote:
 At 04:47 AM 5/18/01, Henning Brauer wrote:
 On Thu, May 17, 2001 at 08:47:46PM -0400, Todd Finney wrote:
   At 08:55 PM 5/17/01, Roger Walker wrote:
   :allow
   Doesn't that last allow line cause an open relay?
 NO! The last :allow is needed for other Mailservers delivering mail to 
 your
 domains listed in rcpthosts. Unless RELAYCLIENT is set qmail does not 
 relay
 to foreign domains.
 No need to shout there, Henning.  

No offense intended, Todd. Just meant as clarification.


-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)




On 18 May 2001, Mark Delany wrote:

 So you are saying that you've checked the qmail-send logs and there is
 no injection that matches the headers of the bounce? Are you sure?

 If you found a match, then the uid trail will tell you who did it.

The log portion I supplied is indicative of all of the stuff
related to the aol mail. The PID associated with those messages was not
there when I became aware of what was happening, so I can't definitively
trace it.

 Well, if you 

Re: procmail and spambouncer

2001-05-19 Thread Karsten W. Rohrbach

Charles Cazabon([EMAIL PROTECTED])@2001.05.18 13:04:03 +:
 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



isoqlog and multilog not playing nice

2001-05-19 Thread Gary MacKay

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 's250 ' 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



Re: isoqlog and multilog not playing nice

2001-05-19 Thread Justin Heesemann

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 's250 ' 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





restart qmail?

2001-05-19 Thread Cameron Hanover

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.



Re: restart qmail?

2001-05-19 Thread Alex Pennace

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?



Re: restart qmail?

2001-05-19 Thread CH

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?





injecting qmail-queue

2001-05-19 Thread Todd Finney

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








qmail-pop3d and /var/spool/mail or NO /HOME/$USER

2001-05-19 Thread Charles Olds

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




The best way to setup...

2001-05-19 Thread Pascal Nobus

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






Re: qmail-pop3d and /var/spool/mail or NO /HOME/$USER

2001-05-19 Thread Tim Hunter

I can certainly understand not using /etc/passwd but Why not maildirs??
I would really recommend vpopmail or vwhatever 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






Re: qmail-pop3d and /var/spool/mail or NO /HOME/$USER

2001-05-19 Thread Dean Staff

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- ex 546 Fax 613-248-4553
e-mail: [EMAIL PROTECTED] Web: http://www.protus.com




help for show time zone

2001-05-19 Thread new

hello,
  qmail uses GMT to show time zone,like this: 

Received: (qmail 9258 invoked from network); 19 May 2001 23:25:42 -

  How can I let it use GMT+8 or PRC to show time zone.


new
[EMAIL PROTECTED]




Re: help for show time zone

2001-05-19 Thread Mark Delany

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 -
 
   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.