qmail Digest 1 Apr 2001 10:00:00 -0000 Issue 1321

Topics (messages 60056 through 60081):

Re: Divert RBL messages?
        60056 by: Johan Almqvist

Re: Maildir file naming convention
        60057 by: Subba Rao

Re: Be all, end all checkpasswd
        60058 by: Felix von Leitner
        60071 by: Dan Newcombe
        60073 by: Adam McKenna
        60076 by: Peter Cavender

dot-qmail question
        60059 by: Wei Yao Gharib

Re: redundant mail servers
        60060 by: Raul Miller
        60068 by: Adam McKenna

How qmail delivers locally
        60061 by: Al Sparks

Re: qmail and IMAP and checkpassword
        60062 by: Al Sparks
        60063 by: Al Sparks
        60064 by: Al Sparks

How to process queue with qmail?
        60065 by: Gerhard Mourani
        60066 by: Charles Cazabon
        60067 by: Carey Jung
        60069 by: Al Sparks
        60070 by: Gerhard Mourani

CLOSE_WAIT and SMTPD
        60072 by: Andrew Buenaventura

Cannot compile sqwebmail
        60074 by: Mikael Vinding
        60075 by: Peter Cavender
        60077 by: Mikael Vinding

End of the qmail era?
        60078 by: Magnus Bodin
        60080 by: Adam McKenna

qmail smp
        60079 by: Clemens Hermann
        60081 by: Magnus Bodin

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]


----------------------------------------------------------------------


* Tullio Andreatta <[EMAIL PROTECTED]> [010330 15:09]:
> >I'm looking for a way to divert messages that come from RBL listed hosts
> >on a system-wide basis... All messages from hosts that are in the RBL
> >should go to the spamtrap user for example...
> I patched rblsmtpd adding an option -T who set RELAYCLIENT to option argument
> when the host is in rbl (instead of starting it's limited smtp server.)
> Then I can use virtualdomain support to catch all messages coming from a
> spam source. See:

Thanks, it works like a charm!

I'll make a few companion scripts (one to re-inject the message if the
admin determines it to be legit and one to insert a header so you can
quickly see what RBL it was in).

They'll be on my page below.

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/

PGP signature





On  0, Charles Cazabon <[EMAIL PROTECTED]> wrote:
> Subba Rao <[EMAIL PROTECTED]> wrote:
> > I use Maildir format for my incoming mail. In the past, I have used maildrop
> > as my MDA and now I have switched to procmail. I use Mutt as my MUA and have
> > converted (today) some email from mbox to maildir format. The naming
> > convention of each mail is different for procmail vs maildrop (and mutt
> > converted) email.
> 
> The way names are chosen for files in Maildir/tmp (which are moved to
> Maildir/new when delivery is complete) should not differ among agents.
> The right way to do it is clearly spelled out at:
> http://cr.yp.to/proto/maildir.html
> 
> It's necessary for all agents to use the same rules to prevent
> collisions.
> 
> > The format is listed as follows,
> > 
> > -rw-------  1 subba  users     3599 Mar 28 07:32 985764747.20966_23.myhost:2,S
> > -rw-------  1 subba  users    28883 Mar 28 01:55 __XE,5RUw6.myhost:2,S
> 
> The first one is correct.  The second one does not follow djb's rules
> for naming the file.  If procmail wrote it, your version of procmail is
> broken.
> 
> > How are these random names generated? Is this name generation the property of
> > MUA such as mutt also? I thought it was the domain of MDAs.
> 
> It's part of the Maildir spec.  The MDA names the file; the MUA can add
> flags to it after it first sees it.  The ":2,S" is added by mutt, and is
> legal.
> 

I did download a mbox file from a different machine and converted it into
Maildir format.

        $ mutt -f temp.mbox

This filenames generated in the Maildir were as per Qmail recommended naming
convention, i.e. time.pid.host with the "2,S"

I don't think any MDA played a role in this name generation. It is Mutt that is
handling the name generation.
-- 

Subba Rao
[EMAIL PROTECTED]
http://members.home.net/subba9/




Thus spake Dan Newcombe ([EMAIL PROTECTED]):
> So, that is three patches I can think of that I need.  Something has me
> worried that they are gonna start interferring.

Why don't you also add a web browser to checkpassword?
After all, everybody needs a web browser, right?

Sheesh.




Is this supposed to be humor?

If you don't have a decent answer then either suggets a better solution or
keep quiet.

As much as I hate sendmail, after this response I may just go back to it
if this is what the qmail "community" is like.

On Sat, 31 Mar 2001, Felix von Leitner wrote:

> Thus spake Dan Newcombe ([EMAIL PROTECTED]):
> > So, that is three patches I can think of that I need.  Something has me
> > worried that they are gonna start interferring.
> 
> Why don't you also add a web browser to checkpassword?
> After all, everybody needs a web browser, right?
> 
> Sheesh.
> 








On Sat, Mar 31, 2001 at 10:28:07PM -0500, Dan Newcombe wrote:
> Is this supposed to be humor?
> 
> If you don't have a decent answer then either suggets a better solution or
> keep quiet.
> 
> As much as I hate sendmail, after this response I may just go back to it
> if this is what the qmail "community" is like.

*plonk*

--Adam




Felix:

If you weren't correct most of the time, I would bust on you for being
tactless.  But you are tactless, and usually correct.

cheers,

--Peter

On Sat, 31 Mar 2001, Felix von Leitner wrote:

> Thus spake Dan Newcombe ([EMAIL PROTECTED]):
> > So, that is three patches I can think of that I need.  Something has me
> > worried that they are gonna start interferring.
> 
> Why don't you also add a web browser to checkpassword?
> After all, everybody needs a web browser, right?
> 
> Sheesh.
> 





Hi
  
   I looked into the mailing list of qmail, the
documentation of dot-qmail and the qmail-command and I
am still having the same problem. I do not know if it
is for this group or not.

   I have qmail-1.03, vpopmail-4.9.9 and
sqwebmail-1.2.5. I am trying to set up a notification
by sending email to another address, or through sms. I
put the command line into the .qmail:
"| egrep -e '^From:|Subject:' | Mail -s YouGotMail 
[EMAIL PROTECTED]"
   And it worked but sending messages without stoping
to [EMAIL PROTECTED] It only stopped after the
.qmail file was deleted.
   What did I miss?
   I will appreciate any help.

TIA
Wei Yao Gharib


=====
============================================================
Wei Yao Gharib
System Administrator
Wise Communication
N° 1070, Av. Sahara Sect. 5 Hay Salam 11000 Sale Morocco
Tel: +212(0)37810808              Fax: +212(0)37810773
============================================================

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/?.refer=text




On Fri, Mar 23, 2001 at 11:02:13AM -0500, Russell Nelson wrote:
> Why would you ever have that much email in your incoming mailbox?  Why 
> are you leaving it there?

Some people get 500-1000 message per day.

Yeah, you can sort it into different mail boxes, but you're not going
to get to the low priority mailboxes every day.

FYI,

-- 
Raul




On Sat, Mar 31, 2001 at 05:03:42PM -0500, Raul Miller wrote:
> On Fri, Mar 23, 2001 at 11:02:13AM -0500, Russell Nelson wrote:
> > Why would you ever have that much email in your incoming mailbox?  Why 
> > are you leaving it there?
> 
> Some people get 500-1000 message per day.
> 
> Yeah, you can sort it into different mail boxes, but you're not going
> to get to the low priority mailboxes every day.

Which is why I do stuff like this:

adam@spotted:~$ cat .procmailrc-qmail
:0
* ^Subject.*(courtesy|rudeness)
/dev/null

:0
* ^TO: adam.*@flounder.net
/home/adam/Mail/qmail-relevant/

:0B
* mckenna|flounder|qmail.*howto
/home/adam/Mail/qmail-relevant/

:0
*
/home/adam/Mail/qmail/

--Adam

-- 
Adam McKenna <[EMAIL PROTECTED]> | "No matter how much it changes, 
http://flounder.net/publickey.html   |  technology's just a bunch of wires 
GPG: 17A4 11F7 5E7E C2E7 08AA        |  connected to a bunch of other wires."
     38B0 05D0 8BF7 2C6D 110A        |  Joe Rogan, _NewsRadio_
  4:24pm  up 41 days, 11 min, 11 users,  load average: 0.01, 0.02, 0.00




Reading the man files, I see that qmail has 2 ways that it processes
mail locally (if I’m wrong let me know).  First is the qmail-getpw,
where the passwd file, and then the .qmail file located in a users
$HOME directory is used to determine where mail is delivered based on
the recipient address.

The other way is the qmail-users method, where a data generated from a
file, /var/qmail/users/assign, is used to determine where mail is
delivered locally, based on the recipient address.

1.  If /var/qmail/users/assign exists, but a recipient address is not
in it, or covered by it with its wildcard mechanism, will qmail-local
use qmail-getpw?

2.  Given that there is an aliasing mechanism all in one file, with
qmail-users, why use fastforward?   Are there advantages to fastforward
over qmail-users?
    === Al


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/?.refer=text





--- Michael Boyiazis <[EMAIL PROTECTED]> wrote:
> Hi,
>    We're need a IMAP product that uses Maildir's and we'd like to 
> authenticate using our own hacked checkpassword.
> 
> I've read in the archives that courier-imap uses Maildirs, but can it
> use checkpassword for authentication or will I need something
> like that mentioned below and wrap checkpassword with some perl
> scripts?
> 
> http://www.ornl.gov/its/archives/mailing-lists/qmail/2000/04/msg01189.html
> 
> 
> Thanks,
>  
> Mike.
> 


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/?.refer=text




You probably should subscribe to the courier email list and send the
question there.  It’s very active.  Go to
   http://lists.sourceforge.net/lists/listinfo/courier-users
to subscribe.

I do know that courier has a very extensive authentication scheme (I
estimate that half its documentation deals with authentication) with
lots of choices, and will go through pam if you compile it that way. 
The fact that you can get it to go through pam may answer your question
right there.
    === Al

--- Michael Boyiazis <[EMAIL PROTECTED]> wrote:
> Hi,
>    We're need a IMAP product that uses Maildir's and we'd like to 
> authenticate using our own hacked checkpassword.
> 
> I've read in the archives that courier-imap uses Maildirs, but can it
> use checkpassword for authentication or will I need something
> like that mentioned below and wrap checkpassword with some perl
> scripts?
> 
> http://www.ornl.gov/its/archives/mailing-lists/qmail/2000/04/msg01189.html
> 
> 
> Thanks,
>  
> Mike.


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/?.refer=text




Whoops, I didn't include my reply in last message.

You probably should subscribe to the courier email list and send the
question there.  It’s very active.  Go to
   http://lists.sourceforge.net/lists/listinfo/courier-users
to subscribe.

I do know that courier has a very extensive authentication scheme (I
estimate that half its documentation deals with authentication) with
lots of choices, and will go through pam if you compile it that way. 
The fact that you can get it to go through pam may answer your question
right there.
    === Al

--- Michael Boyiazis <[EMAIL PROTECTED]> wrote:
> Hi,
>    We're need a IMAP product that uses Maildir's and we'd like to 
> authenticate using our own hacked checkpassword.
> 
> I've read in the archives that courier-imap uses Maildirs, but can it
> use checkpassword for authentication or will I need something
> like that mentioned below and wrap checkpassword with some perl
> scripts?
> 
> http://www.ornl.gov/its/archives/mailing-lists/qmail/2000/04/msg01189.html
> 
> 
> Thanks,
>  
> Mike.
> 


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/?.refer=text




Hi,

I would like to know how to process queue with qmail, there is a command
utility to do it?

--
Gerhard Mourani - [EMAIL PROTECTED]
Operation & Development Manager
OpenNA.com - http://www.openna.com/
--






Gerhard Mourani <[EMAIL PROTECTED]> wrote:
> 
> I would like to know how to process queue with qmail, there is a command
> utility to do it?

It's automatic.  You don't need to fiddle with it.  Dan put a lot of work into
coming up with a sane, unique-per-message retry schedule.

If you must, however, fudge with the quadratic retry schedule qmail uses,
read the documentation for qmail-send.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------




You can send an ALRM signal to qmail-send to have it run through everything
in the queue immediately.  E.g., "killall -ALRM qmail-send" on RH Linux.

> -----Original Message-----
> From: Gerhard Mourani [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, March 31, 2001 8:18 PM
> To: [EMAIL PROTECTED]
> Subject: How to process queue with qmail?
>
>
> Hi,
>
> I would like to know how to process queue with qmail, there is a command
> utility to do it?
>
> --
> Gerhard Mourani - [EMAIL PROTECTED]
> Operation & Development Manager
> OpenNA.com - http://www.openna.com/
> --
>
>
>
>





It looks like a
   kill -s SIGALRM pid
(I’m using RedHat 6.2) where you are using the pid of the qmail-send
daemon, will cause the daemon to send any messages outstanding in the
queue.  This according to my reading of the qmail-send man page, and
the kill man page.

I haven’t actually tried it.
    === Al

--- Charles Cazabon <[EMAIL PROTECTED]> wrote:
> Gerhard Mourani <[EMAIL PROTECTED]> wrote:
> > 
> > I would like to know how to process queue with qmail, there is a command
> > utility to do it?
> 
> It's automatic.  You don't need to fiddle with it.  Dan put a lot of work into
> coming up with a sane, unique-per-message retry schedule.
> 
> If you must, however, fudge with the quadratic retry schedule qmail uses,
> read the documentation for qmail-send.
> 
> Charles
> -- 
> -----------------------------------------------------------------------
> Charles Cazabon                            <[EMAIL PROTECTED]>
> GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
> Any opinions expressed are just that -- my opinions.
> -----------------------------------------------------------------------


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/?.refer=text




Thank you for the good answer, it's working :-)

Carey Jung wrote:

> You can send an ALRM signal to qmail-send to have it run through everything
> in the queue immediately.  E.g., "killall -ALRM qmail-send" on RH Linux.
>
> > -----Original Message-----
> > From: Gerhard Mourani [mailto:[EMAIL PROTECTED]]
> > Sent: Saturday, March 31, 2001 8:18 PM
> > To: [EMAIL PROTECTED]
> > Subject: How to process queue with qmail?
> >
> >
> > Hi,
> >
> > I would like to know how to process queue with qmail, there is a command
> > utility to do it?
> >
> > --
> > Gerhard Mourani - [EMAIL PROTECTED]
> > Operation & Development Manager
> > OpenNA.com - http://www.openna.com/
> > --
> >
> >
> >
> >

--
Gerhard Mourani - [EMAIL PROTECTED]
Operation & Development Manager
OpenNA.com - http://www.openna.com/
--






when I did a netstat -an in my obsd 2.8 box, I found out several connections
in close_wait state.  i know that this state is normal but mine is weird
since it doesn't go away.  qmail-smtpd freezes because of this.  kill -HUP
doesn't solve the problem but even if it does, I think it's not practical to
do it every few hours.  The only thing that solves this problem in my case
right now is reboot.  any ideas?




I really need some input here - I have been
trying to compile sqwebmail on mandrake 7.2

I have gcc and qmail and vpopmail compiled and
works great.

Everything looks fine until I get here :

checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gawk... (cached) gawk
checking for gcc... (cached) gcc
checking whether the C compiler
(gcc -O3 -fomit-frame-pointer -pipe -s -mcpu=pentiumpro -march=pentiumpro -f
fast-math -fexpensive-optimizations ) works... yes
checking whether the C compiler
(gcc -O3 -fomit-frame-pointer -pipe -s -mcpu=pentiumpro -march=pentiumpro -f
fast-math -fexpensive-optimizations ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... no
checking for g++... no
checking for gcc... gcc
checking whether the C++ compiler
(gcc -O3 -fomit-frame-pointer -pipe -s -mcpu=pentiumpro -march=pentiumpro -f
fast-math -fexpensive-optimizations ) works... no
configure: error: installation or configuration problem: C++ compiler cannot
create executables.
configure: error: ./configure failed for bdbobj

And then no joy :(

By the way - can anyone reach inter7.com ? I havent been able to
for the last 2 days.

ANY help MUCH appreciated - really stuck here!

Thanks!!
Mikael





I dunno about Mandrake; I run RedHack 6.2 modified...however:

A cursory search shows the existance of
/usr/bin/autoheader
which rpm -qf indicates is part of the "autoconf" package

Do you have that package installed?

--Pete

On Sun, 1 Apr 2001, Mikael Vinding wrote:

> I really need some input here - I have been
> trying to compile sqwebmail on mandrake 7.2
> 
> I have gcc and qmail and vpopmail compiled and
> works great.
> 
> Everything looks fine until I get here :
> 
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... (cached) yes
> checking for working aclocal... missing
> checking for working autoconf... missing
> checking for working automake... missing
> checking for working autoheader... missing
> checking for working makeinfo... missing
> checking for gawk... (cached) gawk
> checking for gcc... (cached) gcc
> checking whether the C compiler
> (gcc -O3 -fomit-frame-pointer -pipe -s -mcpu=pentiumpro -march=pentiumpro -f
> fast-math -fexpensive-optimizations ) works... yes
> checking whether the C compiler
> (gcc -O3 -fomit-frame-pointer -pipe -s -mcpu=pentiumpro -march=pentiumpro -f
> fast-math -fexpensive-optimizations ) is a cross-compiler... no
> checking whether we are using GNU C... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for c++... no
> checking for g++... no
> checking for gcc... gcc
> checking whether the C++ compiler
> (gcc -O3 -fomit-frame-pointer -pipe -s -mcpu=pentiumpro -march=pentiumpro -f
> fast-math -fexpensive-optimizations ) works... no
> configure: error: installation or configuration problem: C++ compiler cannot
> create executables.
> configure: error: ./configure failed for bdbobj
> 
> And then no joy :(
> 
> By the way - can anyone reach inter7.com ? I havent been able to
> for the last 2 days.
> 
> ANY help MUCH appreciated - really stuck here!
> 
> Thanks!!
> Mikael
> 





Is this the one?

# rpm -qa | grep autoconf
autoconf-2.13-7mdk

In that case it is installed - same problem.

There isnt a usr/bin/autoheader file though?

-----Original Message-----
From: Peter Cavender [mailto:[EMAIL PROTECTED]]
Sent: 1. april 2001 00:10
To: Mikael Vinding
Cc: [EMAIL PROTECTED]
Subject: Re: Cannot compile sqwebmail


I dunno about Mandrake; I run RedHack 6.2 modified...however:

A cursory search shows the existance of
/usr/bin/autoheader
which rpm -qf indicates is part of the "autoconf" package

Do you have that package installed?

--Pete

On Sun, 1 Apr 2001, Mikael Vinding wrote:

> I really need some input here - I have been
> trying to compile sqwebmail on mandrake 7.2
>
> I have gcc and qmail and vpopmail compiled and
> works great.
>
> Everything looks fine until I get here :
>
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... (cached) yes
> checking for working aclocal... missing
> checking for working autoconf... missing
> checking for working automake... missing
> checking for working autoheader... missing
> checking for working makeinfo... missing
> checking for gawk... (cached) gawk
> checking for gcc... (cached) gcc
> checking whether the C compiler
>
(gcc -O3 -fomit-frame-pointer -pipe -s -mcpu=pentiumpro -march=pentiumpro -f
> fast-math -fexpensive-optimizations ) works... yes
> checking whether the C compiler
>
(gcc -O3 -fomit-frame-pointer -pipe -s -mcpu=pentiumpro -march=pentiumpro -f
> fast-math -fexpensive-optimizations ) is a cross-compiler... no
> checking whether we are using GNU C... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for c++... no
> checking for g++... no
> checking for gcc... gcc
> checking whether the C++ compiler
>
(gcc -O3 -fomit-frame-pointer -pipe -s -mcpu=pentiumpro -march=pentiumpro -f
> fast-math -fexpensive-optimizations ) works... no
> configure: error: installation or configuration problem: C++ compiler
cannot
> create executables.
> configure: error: ./configure failed for bdbobj
>
> And then no joy :(
>
> By the way - can anyone reach inter7.com ? I havent been able to
> for the last 2 days.
>
> ANY help MUCH appreciated - really stuck here!
>
> Thanks!!
> Mikael
>







(2001-apr-01) 
Sendmail, Inc. and the Postfix project have announced to make
the sendmail 10 release as a joint venture project. It will be a milestone
in email server development when the most installed server merges it source
with the most secure one. "We originally wanted to do the merge with
D.J.Bernsteins qmail-project but when reviewing the source we found it to be
so hard to read and that is definitively one of our first security issues to
deal with." said a Sendmail Consortium representative.

<http://www.sendmail.net,,,news,2001,apr,01,3,5,@000000030315464031/sm10/>


/magnus

--
http://x42.com/




On Sun, Apr 01, 2001 at 11:21:04AM +0200, Magnus Bodin wrote:
> 
> 
> (2001-apr-01) 

heh.

> Sendmail, Inc. and the Postfix project have announced to make
> the sendmail 10 release as a joint venture project. It will be a milestone
> in email server development when the most installed server merges it source
> with the most secure one. "We originally wanted to do the merge with
> D.J.Bernsteins qmail-project but when reviewing the source we found it to be
> so hard to read and that is definitively one of our first security issues to
> deal with." said a Sendmail Consortium representative.
> 
> <http://www.sendmail.net,,,news,2001,apr,01,3,5,@000000030315464031/sm10/>

Come on now.  You can do better than this.

--Adam




Hi,

does qmail support systems with more then one processor (Intel)? If so, How
can I enable SMP-Support to really use both processors? Are there any
ressources about this issue on the web? I did not find any.

Thanks in advance for any hints

/ch





On Sun, Apr 01, 2001 at 11:45:22AM +0200, Clemens Hermann wrote:
> 
> does qmail support systems with more then one processor (Intel)? If so, How
> can I enable SMP-Support to really use both processors? Are there any
> ressources about this issue on the web? I did not find any.

It's up to your operating system. qmail is not threaded, so SMP-support will
be effective when the different qmail processes will be scheduled to use
processor #1, #2 or any else.

/magnus

--
http://x42.com/


Reply via email to