qmail Digest 22 Dec 1999 11:00:01 -0000 Issue 857

Topics (messages 34656 through 34717):

Re: Compiling qmail on Solaris
        34656 by: Greg Owen

Re: anybody using smtp-auth with qmail ?  (NOT smtp after pop)
        34657 by: smoerk.gmx.de

Re: Two questions: Return-Path rewriting and AUTH packets
        34658 by: Sam
        34668 by: thomas.erskine-dated-13f024134cc321ea.crc.ca

Re: strange..
        34659 by: Dave Sill

Re: tcpserver logging
        34660 by: Dave Sill
        34672 by: Keith Warno
        34676 by: Dave Sill
        34679 by: Keith Warno
        34680 by: Faried Nawaz
        34681 by: Marek Narkiewicz
        34682 by: Dave Sill

Re: multilog not logging.. problem fixed
        34661 by: Dave Sill

Re: Problems running qmail
        34662 by: Dave Sill

Converting PMMail files to Maildir or mbox format
        34663 by: Subba Rao
        34666 by: Charles Cazabon
        34695 by: Sam
        34703 by: Frederik Lindberg
        34716 by: Petr Novotny

Re: Qmail is killing my mySQL server!
        34664 by: Michael Cunningham
        34670 by: Jon P. deOng
        34674 by: Markus Stumpf

Segmentation fault in qmail log
        34665 by: David C. Maple
        34667 by: Dave Sill
        34669 by: David C. Maple
        34671 by: Dave Sill

Qmail site down..
        34673 by: Philip Gabbert
        34675 by: Dave Sill
        34677 by: Martin A. Brown
        34678 by: Martin A. Brown
        34693 by: Russell Nelson

Thnx.. One other thing - Grabbing ENV Values?
        34683 by: Philip Gabbert
        34691 by: Magnus Bodin

trouble opening remote
        34684 by: Ronny Haryanto
        34686 by: bert hubert

Re: Tidbit..
        34685 by: Russell Nelson

problem qmail / checkpassword
        34687 by: Michael Neubert
        34688 by: bert hubert
        34689 by: bert hubert
        34690 by: petervd.vuurwerk.nl
        34715 by: Petr Novotny

Re: sending mail
        34692 by: Dave Sill

qmail scanner
        34694 by: farber.admin.f-tech.net
        34699 by: Chris L. Mason

Forwarding
        34696 by: Carsten Witt
        34698 by: Martin A. Brown
        34700 by: Todd A. Jacobs

real date stamp in log prob
        34697 by: Cameron Arnott

Permissions problem
        34701 by: Todd A. Jacobs
        34702 by: Russell Nelson
        34706 by: Todd A. Jacobs
        34708 by: Ang Sei Heng
        34711 by: Russell Nelson

qmail routing
        34704 by: Leonid Massarsky
        34714 by: petervd.vuurwerk.nl

3 quickies!
        34705 by: Marc-Adrian Napoli
        34707 by: Todd A. Jacobs

ldap and qmail
        34709 by: Kristina
        34710 by: Russell Nelson
        34712 by: Kristina
        34717 by: Andre Oppermann

Re: Save 50-80% on International Calls and Win $500 in Free phone calls!
        34713 by: abc

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]


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


>> Dec 17 16:10:17 host1 qmail: 945414617.771422 alert: unable
>> to opendir mess/0, sleeping...
>
> The permissions of /var/qmail/queue/mess  are :drwxr-x---

        All right - I've just poked through the code to look at what causes
that error, and I'm stumped ;>. 

        At a wild guess, make sure that /var/qmail/bin/qmail-queue and
/var/qmail/queue/mess/* are owned by the same user and group (qmaild:qmail,
I think) and that qmail-queue is setuid.

        Anybody else have more light than I do?

-- 
        gowen -- Greg Owen -- [EMAIL PROTECTED]





Hello Olivier,

I found your message in my qmail mailing list archive. Is the smtpd
patch now working for you? I installed it, but it works only with the
standard checkpassword. It doesn't work with checkvpw.

To Bruce: checkvpw also does not work with smtp-auth perl scripts from
Mrs. Brisby. So checkvpw have to be different from checkpassword.

Smoerk

On Fri, 12 Nov 1999 09:38:39 +0100, Olivier M. wrote:

>Netscape & Outlook allow to setup a login/passwd pair for
>smtp outgoing mails : I saw a kind of patch on http://www.nimh.org, but
>I can't understand how it work : it doesn't call any "checkpasswd" program.
>
>Is anybody using this (or other smtp-auth) patch ? If possible with vmailmgrd.






On Tue, 21 Dec 1999, Jim Breton wrote:

> On Tue, 21 Dec 1999, Sam wrote:
> 
> > The "return path" is specified solely by MUA, so this is entirely a Pegasus
> > Mail configuration issue.  It is possible that other mail servers take it
> > upon themselves to rewrite the return address, but they should not really
> > do that, and it's none of their jobs.
> 
> Whoa, are you sure about that?  I don't think this is correct.  Seems to
> me that the smtp daemon writes the header.  Maybe there are some cases
> where the client supplies one... but I don't think you can flat out say
> it's not the MTA.
> 
> Here's a snippet from the qmail-local man page:
> 
>  The message's envelope sender is sender.  qmail-local
>        records sender in a new Return-Path header field.

What it says is that the qmail-local simply records the value of the
envelope sender in the headers.

The actual envelope sender is set by the MUA.

Again, this is a configuration issue with your MUA.

--
Sam





On Mon, 20 Dec 1999, Mike van der Velden wrote:

[snip]
> Second, the firewall people have started to complain that ever since the
> switch-over to qmail, they are seeing a lot of "auth" packets to and
> from the qmail server to various remote sites.  They want to know what
> is going on.  What sort of extra packets does qmail send out?  Are some
> of these "auth" communications initiated by outside systems?

If you don't want tcpserver to do ident queries (you are using tcpserver,
aren't you?), add the "-R" option.

> If I've missed something in the FAQs or docs, I apologize.  Please point
> me in the right direction.
> 
> Mike van der Velden
> 

-- 
"Life is much too important to be taken seriously."
Thomas Erskine        <[EMAIL PROTECTED]>        (613) 998-2836





"Marc-Adrian Napoli" <[EMAIL PROTECTED]> wrote:

>Anyone know how i could chase this up?

Have you considered looking at the logs?

-Dave




"Keith Warno" <[EMAIL PROTECTED]> wrote:

>   tcpserver -v -u 7770 -g 2108 0 smtp /var/qmail/bin/qmail-smtpd \
>   2>&1 | /var/qmail/bin/splogger smtpd 3 &
>
>Um ok, the uid and gid are diff on my box :>  So's the qmail path but other
>than that it's a cut/paste and msgs are getting blurted out to the terminal.

Odds are good that you're using a shell that doesn't use the "2>&1"
syntax to redirect stderr to stdout.

-Dave





----- Original Message -----
From: "Dave Sill" <[EMAIL PROTECTED]>
> "Keith Warno" <[EMAIL PROTECTED]> wrote:
>
> >   tcpserver -v -u 7770 -g 2108 0 smtp /var/qmail/bin/qmail-smtpd \
> >   2>&1 | /var/qmail/bin/splogger smtpd 3 &
> >
> >Um ok, the uid and gid are diff on my box :>  So's the qmail path but
other
> >than that it's a cut/paste and msgs are getting blurted out to the
terminal.
>
> Odds are good that you're using a shell that doesn't use the "2>&1"
> syntax to redirect stderr to stdout.
>
> -Dave

If it were that easy I would have spotted it, even at 230am :)

The shell is bash.





"Keith Warno" <[EMAIL PROTECTED]> wrote:
>From: "Dave Sill" <[EMAIL PROTECTED]>
>> "Keith Warno" <[EMAIL PROTECTED]> wrote:
>>
>> >   tcpserver -v -u 7770 -g 2108 0 smtp /var/qmail/bin/qmail-smtpd \
>> >   2>&1 | /var/qmail/bin/splogger smtpd 3 &
>> >
>> >Um ok, the uid and gid are diff on my box :>  So's the qmail path but
>other
>> >than that it's a cut/paste and msgs are getting blurted out to the
>terminal.
>>
>> Odds are good that you're using a shell that doesn't use the "2>&1"
>> syntax to redirect stderr to stdout.
>>
>> -Dave
>
>If it were that easy I would have spotted it, even at 230am :)
>
>The shell is bash.

OK, pardon me. So what to the messages you see look like? Is anything
going to syslog? What does:

    echo foo | /var/qmail/bin/splogger smtpd 3

do? Facility 3 is (usually?) daemon. Check /usr/include/sys/syslog.h.
Leave it off, and splogger will default to 2 (mail), which is probably 
what you want.

-Dave





----- Original Message -----
From: "Dave Sill" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 21, 1999 12:24 PM
Subject: Re: tcpserver logging


> "Keith Warno" <[EMAIL PROTECTED]> wrote:
> >From: "Dave Sill" <[EMAIL PROTECTED]>
> >> "Keith Warno" <[EMAIL PROTECTED]> wrote:
> >>
> >> >   tcpserver -v -u 7770 -g 2108 0 smtp /var/qmail/bin/qmail-smtpd \
> >> >   2>&1 | /var/qmail/bin/splogger smtpd 3 &
> >> >
> >> >Um ok, the uid and gid are diff on my box :>  So's the qmail path but
> >other
> >> >than that it's a cut/paste and msgs are getting blurted out to the
> >terminal.
> >>
> >> Odds are good that you're using a shell that doesn't use the "2>&1"
> >> syntax to redirect stderr to stdout.
> >>
> >> -Dave
> >
> >If it were that easy I would have spotted it, even at 230am :)
> >
> >The shell is bash.
>
> OK, pardon me. So what to the messages you see look like? Is anything
> going to syslog? What does:
>
>     echo foo | /var/qmail/bin/splogger smtpd 3
>
> do? Facility 3 is (usually?) daemon. Check /usr/include/sys/syslog.h.
> Leave it off, and splogger will default to 2 (mail), which is probably
> what you want.
>
> -Dave


It turned out to be a minor goof in the rc script.  I spelled a variable
wrong.  These things happen during the wee hours of the AM :)

Sorry about that; thanks for your help.

kw





"Keith Warno" <[EMAIL PROTECTED]> writes:
  
  All seems well tho I can't seem to figure out why things are getting logged
  to my terminal rather than to a log file somewhere.

  [...]  
  
     tcpserver -v -u 7770 -g 2108 0 smtp /var/qmail/bin/qmail-smtpd \
     2>&1 | /var/qmail/bin/splogger smtpd 3 &
  
  [...]
  
  To be honest I have no idea what facility 3 is (second arg to splogger); at
  any sane hour of the day I probably would

You're close.  Read /usr/include/syslog.h (or maybe it's /../sys/syslog.h
for you).  3 is "daemon" for me.

I use splogger without specifying any facility to get my tcpserver logs
placed in my mail log.




On Tue, 21 Dec 1999 11:24:23 -0500, Keith Warno wrote:
>----- Original Message -----
>From: "Dave Sill" <[EMAIL PROTECTED]>
>> "Keith Warno" <[EMAIL PROTECTED]> wrote:
>>
>> >   tcpserver -v -u 7770 -g 2108 0 smtp /var/qmail/bin/qmail-smtpd \
>> >   2>&1 | /var/qmail/bin/splogger smtpd 3 &
>> >
>> >Um ok, the uid and gid are diff on my box :>  So's the qmail path but
>other
>> >than that it's a cut/paste and msgs are getting blurted out to the
>terminal.
>>
>> Odds are good that you're using a shell that doesn't use the "2>&1"
>> syntax to redirect stderr to stdout.

Does qmail-smtpd send its logging information to stderr or am i missing something here?





Marek Narkiewicz <[EMAIL PROTECTED]> wrote:

>>> >   tcpserver -v -u 7770 -g 2108 0 smtp /var/qmail/bin/qmail-smtpd \
>>> >   2>&1 | /var/qmail/bin/splogger smtpd 3 &
>
>Does qmail-smtpd send its logging information to stderr

qmail-smtpd doesn do any logging, but tcpserver does.

>or am i missing something here?

I don't know. What are you getting at?

-Dave




Cameron Arnott <[EMAIL PROTECTED]> wrote:

>hi all just thought i'd let you know that i've found out why multilog
>wasn't logging under supervise mode..
>
>the dir
>/var/qmail/supervise/<process> has to chowned to be sticky.. then the
>multilog scriptt in /var/qmail/supervise/<process>/run will be run..

Not exactly. The directory has to be *chmod*'d to be sticky in order
for svscan to start a supervise for the "log" subservice.

>It's documented on
>http://cr.yp.to/daemontools/svscan.html

LWQ does include the necessary chmod commands:

    chmod +t /var/qmail/supervise/qmail-send
    chmod +t /var/qmail/supervise/qmail-smtpd

-Dave




Cameron Arnott <[EMAIL PROTECTED]> wrote:

>    Sorry but this is a long message but it'll tell you everything about
>how i have qmail setup

Thanks. It's rare for someone to include all the necessary information
in their initial problem report. :-)

>[root@top supervise]# vdir -R
>.:
>total 3
>drwxrwxr-x   4 root     root         1024 Dec 19 01:43 qmail-pop3d
>drwxrwxr-x   4 root     root         1024 Dec 19 01:43 qmail-send
>drwxrwxr-x   4 root     root         1024 Dec 19 01:43 qmail-smtpd
>
>qmail-pop3d:
>total 3
>drwxrwxr-t   2 root     root         1024 Dec 19 00:22 log
>-rwxr-xr-x   1 root     root          158 Dec 19 07:56 run
>drwx------   2 root     root         1024 Dec 21 10:42 supervise

As you know by now, the top-level subdirs should have the sticky bit
set to enable the log subservice. You have the sticky bit set on the
log subdirectly. Close, but no cigar.

>[root@top qmail-pop3d]#cat run
>exec /usr/local/bin/tcpserver 0 pop-3 /var/qmail/bin/qmail-popup
>mail.kat.net.au \
>        /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 &

Remove the "&" from the end of the line.

-Dave





I am in the process of moving my mail from a OS/2 box. The mail client
here is PMMail. Each email is stored in a seperate file, like in Maildir.
I have moved these files to linux, but cannot read them using Mutt to
convert them to Maildir named files. The PMMail files are named in 7.3 format,
which is like ABCXYZ1.MSG

When I issue the command,

$ file *.MSG

I get the following output

FKBOL40.MSG: RFC 822 mail text
FKOE9A0.MSG: RFC 822 mail text
FKQ6D20.MSG: RFC 822 mail text
FKU7OB0.MSG: RFC 822 mail text
FKVW7B0.MSG: ASCII text
FKXO320.MSG: RFC 822 mail text
FKXO370.MSG: RFC 822 mail text

How do you convert these files into mbox or Maildir format? I want to be able
to read these messages using Mutt MUA.

Thank you in advance.

Subba Rao
[EMAIL PROTECTED]
http://pws.prserv.net/truemax/

 => Time is relative. Here is a new way to look at time. <=
http://www.smcinnovations.com




Subba Rao <[EMAIL PROTECTED]> wrote:
> 
> $ file *.MSG
> 
> I get the following output
> 
> FKBOL40.MSG: RFC 822 mail text
> FKOE9A0.MSG: RFC 822 mail text
> FKQ6D20.MSG: RFC 822 mail text
> FKU7OB0.MSG: RFC 822 mail text
> FKVW7B0.MSG: ASCII text
> FKXO320.MSG: RFC 822 mail text
> FKXO370.MSG: RFC 822 mail text
> 
> How do you convert these files into mbox or Maildir format? I want to be able
> to read these messages using Mutt MUA.

Well, if you're using qmail as your MTA, something like the following should
be a quick 'n' dirty way to do it.  Just set the two addresses in the
script below to both be your local email address:

#!/bin/bash
for file in "$@"
  do 
    qmail-inject -f [EMAIL PROTECTED] [EMAIL PROTECTED] <"$file"
  done


Charles
-- 
----------------------------------------------------
Charles Cazabon         <[EMAIL PROTECTED]>
Any opinions expressed are just that -- my opinions.
----------------------------------------------------




On Tue, 21 Dec 1999, Subba Rao wrote:

> 
> I am in the process of moving my mail from a OS/2 box. The mail client
> here is PMMail. Each email is stored in a seperate file, like in Maildir.
> I have moved these files to linux, but cannot read them using Mutt to
> convert them to Maildir named files. The PMMail files are named in 7.3 format,
> which is like ABCXYZ1.MSG
> 
> When I issue the command,
> 
> $ file *.MSG
> 
> I get the following output
> 
> FKBOL40.MSG: RFC 822 mail text
> FKOE9A0.MSG: RFC 822 mail text
> FKQ6D20.MSG: RFC 822 mail text
> FKU7OB0.MSG: RFC 822 mail text
> FKVW7B0.MSG: ASCII text
> FKXO320.MSG: RFC 822 mail text
> FKXO370.MSG: RFC 822 mail text
> 
> How do you convert these files into mbox or Maildir format? I want to be able
> to read these messages using Mutt MUA.

Try sticking them into the Maildir/new directory, then run mutt and see if
it picks them up.





On Tue, Dec 21, 1999 at 09:09:11AM -0500, Subba Rao wrote:
> 
> I am in the process of moving my mail from a OS/2 box. The mail client
> here is PMMail. Each email is stored in a seperate file, like in Maildir.
> I have moved these files to linux, but cannot read them using Mutt to
> convert them to Maildir named files. The PMMail files are named in 7.3 format,
> which is like ABCXYZ1.MSG

They are just the message, but in dos/CRLF format. There are several ways
to convert them. The easiest if to ftp from the OS/2 box to the unix
box into the ~Maildir/new/ folder using "ascii" mode.

You can then see them with e.g. Mutt.

FWIW - PMMail98 for win32 is ok but of course it doesn't run on unix ;-)

--Fred





-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 22 Dec 99, at 5:46, Frederik Lindberg wrote:
> They are just the message, but in dos/CRLF format. There are several ways
> to convert them. The easiest if to ftp from the OS/2 box to the unix box
> into the ~Maildir/new/ folder using "ascii" mode.

Huh? FTP the easiest? On my PC, the easiest was
tr -d "\r" <input >output
Putting it into a for... cycle is left to the reader as an excercise.

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOGCcMVMwP8g7qbw/EQKeYQCgwUh/oiPitVRP0UUUaphTpWU823gAoJoO
NzHsqteQtvqtqViQDQCTlyTk
=5s7z
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
                                                             [Tom Waits]




Sound like you need to look into mod_perl, mod_dbi so you can have
persistant
database connections for your server.

Mike



----- Original Message -----
From: Eric Peters <[EMAIL PROTECTED]>
To: Michael Boman <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, December 21, 1999 3:23 AM
Subject: Re: Qmail is killing my mySQL server!


> makes you think about that doesn't it <grin>
>
> you probably want to consult the mysql mailing list for perf tuning
>
> Eric
>
> On Tue, 21 Dec 1999, Michael Boman wrote:
> > On Mon, Dec 20, 1999 at 11:55:25PM -0800, Eric Peters wrote:
> > > its probably rather simple - your probably using the decaprecated
mysql_connect
> > > in the CGI possibly - rather than the mysql_real_connect api -
> > >
> > > well to be simpler than that make sure your majority of the
connections are
> > > connecting through teh mysql named pipe (the socket) rather than
tcp/ip
> > > connections
> > >
> > > Eric
> > >
> >
> > Err.. It's on three different computers: Webserver, Mailserver, mySQL
server.
> >
> > /Mike
> >
> > > On Mon, 20 Dec 1999, Michael Boman wrote:
> > > > I am running following setup:
> > > >
> > > > qmail 1.03 + mysql patch
> > > > tcpserver etc.
> > > >
> > > > Right now qmail is killing the mySQL database server with requests.
I've
> > > > seen ppl here on the list with 30k-50k users and I wonder how you
manage
> > > > to keep the mySQL server alive.
> > > >
> > > > We have about 10k clients. On our homepage there is a CGI program
that
> > > > checks your email the moment you login.
> > > >
> > > > Problems so far:
> > > >
> > > > The maximum connections to the mySQL server exceeds the limit,
causing
> > > > downtime on our mail- and web server  as it depends on the same
mySQL
> > > > server.
> > > >
> > > > So, is there any way to keep the mySQL connections down while
keeping
> > > > a high uptime of web- and mail server? Anyone written a
proxy/wrapper
> > > > for mySQL to limit the number of connections to the real mySQL
server?
> > > >
> > > > Future setup: qmail + vpopmail with even higher number of users.
> > > >
> > > > Please advice
> > > >
> > > > Michael Boman
> > > >
> > > > PS
> > > > Having a separate mySQL servers for mail and web is not a option, as
> > > > it would give our CGI programs more to do and by that making
> > > > the web-server load too high... Plus it would be another server
> > > > to manage.
> > > > DS
> > > >
> > > >
> > > > --
> > > > W I Z O F F I C E . C O M  -  Your Online Wizard
> > > > 16 Tannery Lane, Cristal Time Building, #06-00, Singapore 347778
> > > > Ring  : (65) 844 3228 [ext 118]  Fax : (65) 842 7228
> > > > email : [EMAIL PROTECTED]    URL : http://www.wizoffice.com
> > > --
> > >
> > > ----------------------------------------------------------------------
> > > Eric Peters
> > > I Do: http://www.tekmetrics.com/transcript.jsp?pid=143745
> > > [EMAIL PROTECTED] - [EMAIL PROTECTED] - [EMAIL PROTECTED]
> > > ----------------------------------------------------------------------
> >
> > --
> > W I Z O F F I C E . C O M  -  Your Online Wizard
> > 16 Tannery Lane, Cristal Time Building, #06-00, Singapore 347778
> > Ring  : (65) 844 3228 [ext 118]  Fax : (65) 842 7228
> > email : [EMAIL PROTECTED]    URL : http://www.wizoffice.com
> --
>
> ----------------------------------------------------------------------
> Eric Peters
> I Do: http://www.tekmetrics.com/transcript.jsp?pid=143745
> [EMAIL PROTECTED] - [EMAIL PROTECTED] - [EMAIL PROTECTED]
> ----------------------------------------------------------------------
>





Definitely need persistant connections. We use M$ SQL 7 for our
authentication via RADIATOR which is an sql based radius server. It uses
persistant connections (via perl::DBI) and we have no problems with 10k+
users. 
jpd


At 09:18 AM 12/21/99 -0500, you wrote:
>Sound like you need to look into mod_perl, mod_dbi so you can have
>persistant
>database connections for your server.
>
>Mike
>
>
>
>----- Original Message -----
>From: Eric Peters <[EMAIL PROTECTED]>
>To: Michael Boman <[EMAIL PROTECTED]>
>Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
>Sent: Tuesday, December 21, 1999 3:23 AM
>Subject: Re: Qmail is killing my mySQL server!
>
>
>> makes you think about that doesn't it <grin>
>>
>> you probably want to consult the mysql mailing list for perf tuning
>>
>> Eric
>>
>> On Tue, 21 Dec 1999, Michael Boman wrote:
>> > On Mon, Dec 20, 1999 at 11:55:25PM -0800, Eric Peters wrote:
>> > > its probably rather simple - your probably using the decaprecated
>mysql_connect
>> > > in the CGI possibly - rather than the mysql_real_connect api -
>> > >
>> > > well to be simpler than that make sure your majority of the
>connections are
>> > > connecting through teh mysql named pipe (the socket) rather than
>tcp/ip
>> > > connections
>> > >
>> > > Eric
>> > >
>> >
>> > Err.. It's on three different computers: Webserver, Mailserver, mySQL
>server.
>> >
>> > /Mike
>> >
>> > > On Mon, 20 Dec 1999, Michael Boman wrote:
>> > > > I am running following setup:
>> > > >
>> > > > qmail 1.03 + mysql patch
>> > > > tcpserver etc.
>> > > >
>> > > > Right now qmail is killing the mySQL database server with requests.
>I've
>> > > > seen ppl here on the list with 30k-50k users and I wonder how you
>manage
>> > > > to keep the mySQL server alive.
>> > > >
>> > > > We have about 10k clients. On our homepage there is a CGI program
>that
>> > > > checks your email the moment you login.
>> > > >
>> > > > Problems so far:
>> > > >
>> > > > The maximum connections to the mySQL server exceeds the limit,
>causing
>> > > > downtime on our mail- and web server  as it depends on the same
>mySQL
>> > > > server.
>> > > >
>> > > > So, is there any way to keep the mySQL connections down while
>keeping
>> > > > a high uptime of web- and mail server? Anyone written a
>proxy/wrapper
>> > > > for mySQL to limit the number of connections to the real mySQL
>server?
>> > > >
>> > > > Future setup: qmail + vpopmail with even higher number of users.
>> > > >
>> > > > Please advice
>> > > >
>> > > > Michael Boman
>> > > >
>> > > > PS
>> > > > Having a separate mySQL servers for mail and web is not a option, as
>> > > > it would give our CGI programs more to do and by that making
>> > > > the web-server load too high... Plus it would be another server
>> > > > to manage.
>> > > > DS
>> > > >
>> > > >
>> > > > --
>> > > > W I Z O F F I C E . C O M  -  Your Online Wizard
>> > > > 16 Tannery Lane, Cristal Time Building, #06-00, Singapore 347778
>> > > > Ring  : (65) 844 3228 [ext 118]  Fax : (65) 842 7228
>> > > > email : [EMAIL PROTECTED]    URL : http://www.wizoffice.com
>> > > --
>> > >
>> > > ----------------------------------------------------------------------
>> > > Eric Peters
>> > > I Do: http://www.tekmetrics.com/transcript.jsp?pid=143745
>> > > [EMAIL PROTECTED] - [EMAIL PROTECTED] - [EMAIL PROTECTED]
>> > > ----------------------------------------------------------------------
>> >
>> > --
>> > W I Z O F F I C E . C O M  -  Your Online Wizard
>> > 16 Tannery Lane, Cristal Time Building, #06-00, Singapore 347778
>> > Ring  : (65) 844 3228 [ext 118]  Fax : (65) 842 7228
>> > email : [EMAIL PROTECTED]    URL : http://www.wizoffice.com
>> --
>>
>> ----------------------------------------------------------------------
>> Eric Peters
>> I Do: http://www.tekmetrics.com/transcript.jsp?pid=143745
>> [EMAIL PROTECTED] - [EMAIL PROTECTED] - [EMAIL PROTECTED]
>> ----------------------------------------------------------------------
>>
>
>
>




On Tue, Dec 21, 1999 at 05:01:22PM +0800, Michael Boman wrote:
> The problem isnt either the database server, it's fine tuned to the maximum. The
> problem is that SMTP/POP3 is causing ALLOT of traffic to the database server.
> 
> It wouldn't matter if we put Oracle or MS Sql instead, 'cause the traffic will still
> be there. What I am looking for is a way to slow down the queries, limit them some 
>how,
> to the database server.

What do you mean by ALOT of traffic?
We've changed POP3 auth to a MySQL database (homegrown scripts etc.)
and had problems during prime times that the mysql server wasn't
responding fast enough thus up to 120 checkpassword scripts were "in the
queue" on the POP3 server waiting for connections and some of them dying
due to timeouts.
I set up a test environment and noticed that the mysql server was only
able to handle 3-4 requests a second. Inspecting the tables I found out
that we had defined an INDEX false. This had the effect that the INDEX
was unusable for the authent requests. Fixing this and stress testing in
the testing environment got us more than 400 successful requests per
second. We have about 15K userbase and now it runs smoothly without
problems.

Maybe this helps.

        \Maex

-- 
SpaceNet GmbH             |   http://www.Space.Net/   | Stress is when you wake
Research & Development    | mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0    | realize you haven't
D-80807 Muenchen          |  Fax: +49 (89) 32356-299  | fallen asleep yet.





In my maillog I get:

Dec 21 09:41:31 zimba qmail: 945787291.119817 starting delivery 530: msg
78810 to local [EMAIL PROTECTED]
Dec 21 09:41:31 zimba qmail: 945787291.121236 status: local 1/10 remote
0/20
Dec 21 09:41:31 zimba qmail: 945787291.259721 delivery 530: deferral:
Segmentation_fault_-_core_dumped/
Dec 21 09:41:31 zimba qmail: 945787291.260009 status: local 0/10 remote
0/20
Dec 21 09:41:41 zimba qmail: 945787301.269991 starting delivery 531: msg
78808 to local [EMAIL PROTECTED]
Dec 21 09:41:41 zimba qmail: 945787301.271411 status: local 1/10 remote
0/20
Dec 21 09:41:41 zimba qmail: 945787301.429934 delivery 531: deferral:
Segmentation_fault_-_core_dumped/
Dec 21 09:41:41 zimba qmail: 945787301.431421 status: local 0/10 remote
0/20

Does anyone have any idea what could be causing this?  Other messages are
going through with no difficulty, but every couple of messages is this
Seg-fault.

I'm running qmail on FreeBSD 3.2.

--
[EMAIL PROTECTED]

David C. Maple
V.P. Information Systems
Advanced Communications Group

  'The bigger it bloats, the harder it falls.'
                -- "The 48 Laws of Power" (R. Greene, J Elffers)

....





"David C. Maple" <[EMAIL PROTECTED]> wrote:

>Dec 21 09:41:31 zimba qmail: 945787291.119817 starting delivery 530: msg
>78810 to local [EMAIL PROTECTED]
>Dec 21 09:41:31 zimba qmail: 945787291.121236 status: local 1/10 remote
>0/20
>Dec 21 09:41:31 zimba qmail: 945787291.259721 delivery 530: deferral:
>Segmentation_fault_-_core_dumped/
>
>Does anyone have any idea what could be causing this?

Looks like the message delivery agent (MDA) is dumping core. Find a
core dump and do "file core". That will tell you which program is
broken, and, if you're handy with a debugger, where and how.

-Dave




That's a problem I can't find any core files on the system.

Dave

--
[EMAIL PROTECTED]

David C. Maple
V.P. Information Systems
Advanced Communications Group

  'The bigger it bloats, the harder it falls.'
                -- "The 48 Laws of Power" (R. Greene, J Elffers)

....

On Tue, 21 Dec 1999, Dave Sill wrote:

> "David C. Maple" <[EMAIL PROTECTED]> wrote:
> 
> >Dec 21 09:41:31 zimba qmail: 945787291.119817 starting delivery 530: msg
> >78810 to local [EMAIL PROTECTED]
> >Dec 21 09:41:31 zimba qmail: 945787291.121236 status: local 1/10 remote
> >0/20
> >Dec 21 09:41:31 zimba qmail: 945787291.259721 delivery 530: deferral:
> >Segmentation_fault_-_core_dumped/
> >
> >Does anyone have any idea what could be causing this?
> 
> Looks like the message delivery agent (MDA) is dumping core. Find a
> core dump and do "file core". That will tell you which program is
> broken, and, if you're handy with a debugger, where and how.
> 
> -Dave
> 





Please don't CC me on replies to the list.

"David C. Maple" <[EMAIL PROTECTED]> wrote:

>That's a problem I can't find any core files on the system.

Which MDA(s) is the .qmail file in question running?

-Dave





Okay.. Qmail's site is down ;( 
or at least traceroute is unable to trace to the site.

So I'll ask here, just a quickie, I want to forward all email coming to
my domain gpsmac.com to another domain, changing the domain name to one
that recognized by the recipient. 
I have: 
gpsmac.com:alias-gpsmac

and in ~alias/.qmail-alias-gpsmac
&{$USER}@gpsmac.net

Is this correct?
I was going to try and search the archive and locate it in there, but
I'm unable to get to the qmail site and thus unable to locate the link
to the qmail list archive.

Just a quickie.. 

Thnx.. 

Philip




[EMAIL PROTECTED] wrote:

>and in ~alias/.qmail-alias-gpsmac
>&{$USER}@gpsmac.net
>
>Is this correct?

Close. Try:

    |forward "$USER"@gpsmac.net

>I was going to try and search the archive and locate it in there, but
>I'm unable to get to the qmail site and thus unable to locate the link
>to the qmail list archive.

Bookmark LWQ for future reference. It's got pointers to the list
archives.

-Dave




Philip,

I suspect that you want to use $EXT, not $USER (which in this case would
expand to be "alias".  And I think you really want to use forward:

| forward ${EXT}@gpsmac.net

-Martin

-- 
Martin A. Brown --- Wonderfrog Enterprises --- [EMAIL PROTECTED]

On Tue, 21 Dec 1999, Philip Gabbert wrote:

-->
-->Okay.. Qmail's site is down ;( 
-->or at least traceroute is unable to trace to the site.
-->
-->So I'll ask here, just a quickie, I want to forward all email coming to
-->my domain gpsmac.com to another domain, changing the domain name to one
-->that recognized by the recipient. 
-->I have: 
-->gpsmac.com:alias-gpsmac
-->
-->and in ~alias/.qmail-alias-gpsmac
-->&{$USER}@gpsmac.net
-->
-->Is this correct?
-->I was going to try and search the archive and locate it in there, but
-->I'm unable to get to the qmail site and thus unable to locate the link
-->to the qmail list archive.
-->
-->Just a quickie.. 
-->
-->Thnx.. 
-->
-->Philip
-->





Philip,

I like Dave's reply better.   :-)

-Martin

-- 
Martin A. Brown --- Wonderfrog Enterprises --- [EMAIL PROTECTED]

On Tue, 21 Dec 1999, Martin A. Brown wrote:

-->Philip,
-->
-->I suspect that you want to use $EXT, not $USER (which in this case would
-->expand to be "alias".  And I think you really want to use forward:
-->
-->| forward ${EXT}@gpsmac.net
-->
-->-Martin
-->
-->





Philip Gabbert writes:
 > 
 > Okay.. Qmail's site is down ;( 

Yes, I finally tracked the problem down to a dead CPU fan.  You get
the oddest symptoms when your machine has a brain fever.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!





Thank you very much Martin and Dave.. 
Turns out that I need $EXT2 for forwarding, and the name of my alias
files was incorrect as well, should have been .qmail-gpsmac-default for
just .qmail-gpsmac (I presume, I just used the -default)

One other thing. I want to create a quick perl script to print out all
the arguments and enviroment valiables that are appearent when
qmail-send sends the email. This would help me better understand qmail.

I've created a test email account: [EMAIL PROTECTED], but when I send my
email to there, it gets lost, and nothing comes out of my script. Here's
my .qmail-test file:

|preline /home/guice/tmp/test.pl

test.pl contains:
#!/usr/bin/perl

open (FLE, ">file.text");
foreach $key (keys  %ENV )
{   print FLE "$key\t$ENV{$key}\n";  }
foreach (@ARGV)
{  print FLE $_ . "\n";  }
close (FLE);
exit (0);

Nothing gets sent to file.text... Any ideas? Or does anybody already
have a script that will do this for me that I can install. I just want
something simple, just enough so I can see everything avaliable when
qmail-send is invoked.

Thnx again.. 

Philip

BTW: tmp is set to 777 and test.pl is set to 755.

Dave Sill wrote:
> 
> [EMAIL PROTECTED] wrote:
> 
> >and in ~alias/.qmail-alias-gpsmac
> >&{$USER}@gpsmac.net
> >
> >Is this correct?
> 
> Close. Try:
> 
>     |forward "$USER"@gpsmac.net
> 
> >I was going to try and search the archive and locate it in there, but
> >I'm unable to get to the qmail site and thus unable to locate the link
> >to the qmail list archive.
> 
> Bookmark LWQ for future reference. It's got pointers to the list
> archives.
> 
> -Dave




On Tue, Dec 21, 1999 at 11:47:49AM -0700, Philip Gabbert wrote:
> 
> Thank you very much Martin and Dave.. 
> Turns out that I need $EXT2 for forwarding, and the name of my alias
> files was incorrect as well, should have been .qmail-gpsmac-default for
> just .qmail-gpsmac (I presume, I just used the -default)
> 
> One other thing. I want to create a quick perl script to print out all
> the arguments and enviroment valiables that are appearent when
> qmail-send sends the email. This would help me better understand qmail.
> 
> I've created a test email account: [EMAIL PROTECTED], but when I send my
> email to there, it gets lost, and nothing comes out of my script. Here's
> my .qmail-test file:
> 
> |preline /home/guice/tmp/test.pl
> 
> test.pl contains:
> #!/usr/bin/perl
> 
> open (FLE, ">file.text");
> foreach $key (keys  %ENV )
> {   print FLE "$key\t$ENV{$key}\n";  }
> foreach (@ARGV)
> {  print FLE $_ . "\n";  }
> close (FLE);
> exit (0);
> 
> Nothing gets sent to file.text... Any ideas? Or does anybody already
> have a script that will do this for me that I can install. I just want
> something simple, just enough so I can see everything avaliable when
> qmail-send is invoked.
> 
> Thnx again.. 
> 
> Philip
> 
> BTW: tmp is set to 777 and test.pl is set to 755.

Note: The dir doesn't need to be world or group writable as the script is
run as the user owning the dir. 

The script is effectively run in the users home directory; thus ">file.text"
will create a file in the users home directory.

I myself has used this script a few times to do something similar, but at the
same time include the incoming message and return the lot to the sender:
(note that the message body return is xml-parsable as well.

~test/.qmail:
--cut here----------------------------
| /home/guice/tmp/env_echo.pl
--cut here-----------------

env_echo.pl:
----cut here --------------------------
#!/usr/bin/perl
# env_echo.pl [EMAIL PROTECTED] 1999-02-18
use strict;

my $inmail; while (<STDIN>) { $inmail .= <STDIN>; }
my $sender = $ENV{SENDER};
my $modsender = $sender;
#$modsender =~ s/\@/\=/;
my $from = "env\@example.com";

open MAIL,"| /var/qmail/bin/qmail-inject";
print MAIL "From: $from\nTo: $sender\n".
           "Subject: mail environment\n".
           "\n";

print MAIL "<script path=\"$0\"\n";
print MAIL "       current=\"".qx(pwd)."\"/>\n";
foreach (sort keys %ENV)
{
    print MAIL "<env name=\"$_\" value=\"$ENV{$_}\"/>\n";
}

print MAIL "\n\n<incoming>\n$inmail\n</incoming>";

close MAIL;
exit 0;
----cut here --------------------------



cheers, 

   magnus


-- 
http://x42.com/





Hi,

I keep getting hundreds of these in my logs (with different numbers):

945803383.619689 warning: trouble opening remote/5/1569; will try again later
945803383.619908 warning: trouble opening remote/0/3036; will try again later
945803383.619921 warning: trouble opening remote/8/1986; will try again later
945803383.619933 warning: trouble opening remote/12/4175; will try again later
945803383.619945 warning: trouble opening remote/20/3815; will try again later
945803383.619957 warning: trouble opening remote/16/1396; will try again later
945803383.619970 warning: trouble opening remote/5/2811; will try again later

All other deliveries run fine though. What could be the problem?

-- 
Ronny Haryanto




On Tue, Dec 21, 1999 at 01:09:44PM -0600, Ronny Haryanto wrote:

> I keep getting hundreds of these in my logs (with different numbers):
> 
> 945803383.619689 warning: trouble opening remote/5/1569; will try again later
> 945803383.619908 warning: trouble opening remote/0/3036; will try again later
> 945803383.619921 warning: trouble opening remote/8/1986; will try again later

Do you perhaps have multiple qmail instances running? Try strace or truss to
see what qmail is doing.

Regards,


bert hubert.

-- 
    +---------------+  |              http://www.rent-a-nerd.nl
    | nerd for hire |  |                  
    +---------------+  |                     - U N I X -
            |          |          Inspice et cautus eris - D11T'95




Philip Gabbert writes:
 > 
 > I was looking over the Qmail homepage and I found that you can 

"usually".  The key word missing here is "usually".

 > create a rcpthosts file with the following shell command:

Yeah, I could do this:

sed -e 's/^[^@]*@//' -e 's/:.*//' <virtualdomains | cat - locals | uniq >rcpthosts

But that makes it harder to understand the relationship between
virtualdomains, locals, and rcpthosts, which is the real reason why I
wrote that shell script.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!




I'm an newbie to qmail (and also linux) and hope to find help.

After setting up qmail on SuSE-Linux 6.1 I found a problem with my
pop3-server.

When contacting the pop3-server the messages "authorization failed"
appears. I start the pop3-server in /etc/inetd.conf with this line:

pop3 stream tcp nowait root /var/qmail/bin/qmail-popup qmail-popup 
michael.neubert.de /bin/checkpassword /var/qmail/bin/qmail-pop3d
/home/$USER/.mailspool/ 


After a few tests, I found the following:

run 1. test as user

michael@michael:~ > /var/qmail/bin/qmail-popup host /bin/checkpassword
pwd
+OK <569.945710144@host>
user linux
+OK
pass 12345
-ERR authorization failed
michael@michael:~ > 


run 2. test as root

michael:~ # /var/qmail/bin/qmail-popup host /bin/checkpassword pwd
+OK <548.945710015@host>
user linux
+OK
pass 12345
/home/linux
michael:~ # 

I have already checked the rights of /var/qmail...  and
/bin/checkpassword. All looks like described in the qmail
INSTALL...-files.

Thanks in advance for any idea!

Michael





On Tue, Dec 21, 1999 at 08:27:05PM +0100, Michael Neubert wrote:

> I'm an newbie to qmail (and also linux) and hope to find help.

You've come to the right place.

> michael:~ # /var/qmail/bin/qmail-popup host /bin/checkpassword pwd
> +OK <548.945710015@host>
> user linux
> +OK
> pass 12345
> /home/linux
> michael:~ # 
> 
> I have already checked the rights of /var/qmail...  and
> /bin/checkpassword. All looks like described in the qmail
> INSTALL...-files.

You probably have shadow passwords. These cannot be read by any user but
root. This means that checkpassword needs to be 'set user id root', suid
root for short. Try this:

chown root:root /bin/checkpassword
chmod +s /bin/checkpassword

Regards,

bert hubert.

-- 
    +---------------+  |              http://www.rent-a-nerd.nl
    | nerd for hire |  |                  
    +---------------+  |                     - U N I X -
            |          |          Inspice et cautus eris - D11T'95




On Tue, Dec 21, 1999 at 08:36:07PM +0100, bert hubert wrote:

> You probably have shadow passwords. These cannot be read by any user but
> root. This means that checkpassword needs to be 'set user id root', suid
> root for short. Try this:
> 
> chown root:root /bin/checkpassword
> chmod +s /bin/checkpassword

DO NOT DO THIS. Sorry. Braino on my part. checkpassword needs to be invoked
by root, it should not be suid.

Regards,

bert hubert.

-- 
    +---------------+  |              http://www.rent-a-nerd.nl
    | nerd for hire |  |                  
    +---------------+  |                     - U N I X -
            |          |          Inspice et cautus eris - D11T'95




On Tue, Dec 21, 1999 at 08:40:06PM +0100, bert hubert wrote:
> On Tue, Dec 21, 1999 at 08:36:07PM +0100, bert hubert wrote:
> 
> > You probably have shadow passwords. These cannot be read by any user but
> > root. This means that checkpassword needs to be 'set user id root', suid
> > root for short. Try this:
> > 
> > chown root:root /bin/checkpassword
> > chmod +s /bin/checkpassword
> 
> DO NOT DO THIS. Sorry. Braino on my part. checkpassword needs to be invoked
> by root, it should not be suid.

And, as ahu and I discussed on irc, a suid checkpassword is just a /bin/su
with a difficult interface and no logging :)

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/womanizer/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
|                             Bjarne Stroustrup, Inventor of C++




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 21 Dec 99, at 20:36, bert hubert wrote:
> You probably have shadow passwords. These cannot be read by any user but
> root. This means that checkpassword needs to be 'set user id root', suid
> root for short. Try this:
> 
> chown root:root /bin/checkpassword
> chmod +s /bin/checkpassword

Huh? Since checkpassword runs as root anyway (that's who 
spawns it), it doesn't needs suid root. Plus, noone else should be 
running checkpassword (unless you are inviting everyone to a 
dictionary attack against passwords). In other words, DON'T EVER 
DO THAT!

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOGCajVMwP8g7qbw/EQK+QwCeORD2HfIXMKb15jpPiRwaUWuFz2cAoKNu
eitdAeSF8Lum22w374d68yLy
=Q6bR
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
                                                             [Tom Waits]




"Stephan Weaver" <[EMAIL PROTECTED]> wrote:

>when i send a email locally it sends.
>thats from syslog reports.
>but when i type mail i dont receive mail locally

Where are you having your mail delivered? $HOME/Mailbox?
$HOME/Maildir/? /var/spool/mail?

Have you made sure that "mail" is looking in the right place?

-Dave




has anyone come to a final howto on getting any of the virus scanning
programs to integrate in qmail?

I did see one about amavis(?) working but there were no details as to ftp
sites for binaries.

Thanks.

Paul Farber
Farber Technology
[EMAIL PROTECTED]
Ph  570-628-5303
Fax 570-628-5545





On Tue, Dec 21, 1999 at 05:45:43PM -0500, [EMAIL PROTECTED] wrote:
> has anyone come to a final howto on getting any of the virus scanning
> programs to integrate in qmail?
> 
> I did see one about amavis(?) working but there were no details as to ftp
> sites for binaries.
> 

Hi,

Take a look at my website:

http://www.unixzone.com/virus/


Chris





Hi anybody,

How can I forward a mail to another adress. Must I compile another modul. Or
can I put this in /var/qmail/aliases/ ?

Thanks to anybody


CU
     Carsten






Carsten,

It depends a great deal on your setup.  I'll describe the answer for a
generic setup now:

A) favorite.net is in /var/qmail/control/locals
B) there is no UNIX user "martin.buber"
C) you want to forward "[EMAIL PROTECTED]" to [EMAIL PROTECTED]

You create a the following file:

~alias/.qmail-martin:buber
==============================
&[EMAIL PROTECTED]

        - - - -

OK, notice that any "." in a username becomes a ":" in a filename.  This
disambiguates filesystem "."s from email address "."s, since "." has a
special meaning in a filesystem context.

Now, you can use an ampersand, or nothing as the first character of the
line.

If you have a more specific question, please ask.  Also check out the Life
with Qmail page.  It's excellent documentation.

(Und wenn Sie sich lieber auf Deutsch fragen wollen, fragen Sie bitte.)

-Martin

-- 
Martin A. Brown --- Wonderfrog Enterprises --- [EMAIL PROTECTED]

On Wed, 22 Dec 1999, Carsten Witt wrote:

-->Hi anybody,
-->
-->How can I forward a mail to another adress. Must I compile another modul. Or
-->can I put this in /var/qmail/aliases/ ?
-->
-->Thanks to anybody
-->
-->
-->CU
-->     Carsten
-->
-->
-->





On Wed, 22 Dec 1999, Carsten Witt wrote:

> How can I forward a mail to another adress. Must I compile another
> modul. Or can I put this in /var/qmail/aliases/ ?

echo forwardee > ~alias/.qmail-forwarding:address

-- 
Todd A. Jacobs
Network Systems Engineer





Hi,
        First i'd like to thank all those people out there for their
help in fixing up my 3 problems in an excelent time..

Now my problem is that i want to get maillog to log with human readable
times..

I know that i have to use the tai64nlocal command but where exactly and
how..

here is one of my logging scripts..

cat /var/qmail/supervise/qmail-send/log/run

#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
/var/log/qmail/qmail.send







Running 'make check' returns the following:

        instcheck: warning: /var/qmail/alias has wrong permissions
        instcheck: warning: .../bin/sendmail has wrong group
        instcheck: warning: .../bin/sendmail has wrong permissions

How can I find out what the "right" permissions are?

-- 
Todd A. Jacobs
Network Systems Engineer





Todd A. Jacobs writes:
 > Running 'make check' returns the following:
 > 
 >      instcheck: warning: /var/qmail/alias has wrong permissions
 >      instcheck: warning: .../bin/sendmail has wrong group
 >      instcheck: warning: .../bin/sendmail has wrong permissions
 > 
 > How can I find out what the "right" permissions are?

Read the source of instcheck.  It'll point you to hier.c
Or else just run install ("make setup") again.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!




On Wed, 22 Dec 1999, Russell Nelson wrote:

> Read the source of instcheck.  It'll point you to hier.c Or else just
> run install ("make setup") again.

Any chance that re-running the installation could clobber something?

-- 
Todd A. Jacobs
Network Systems Engineer





Did you added the correct user/group for qmail?

See the INSTALL.ids and install the respective group and user for the
system.

Good Luck,

Sei Heng

"Todd A. Jacobs" wrote:

> Running 'make check' returns the following:
>
>         instcheck: warning: /var/qmail/alias has wrong permissions
>         instcheck: warning: .../bin/sendmail has wrong group
>         instcheck: warning: .../bin/sendmail has wrong permissions
>
> How can I find out what the "right" permissions are?
>
> --
> Todd A. Jacobs
> Network Systems Engineer





Todd A. Jacobs writes:
 > On Wed, 22 Dec 1999, Russell Nelson wrote:
 > 
 > > Read the source of instcheck.  It'll point you to hier.c Or else just
 > > run install ("make setup") again.
 > 
 > Any chance that re-running the installation could clobber something?

No, although you'll probably want to stop qmail before you do the install.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!




Hi,

How do I get a host running qmail-smtpd to route (forward) all incoming
mail to another smtp host?
Thanks in advance.

        --Leonid





On Wed, Dec 22, 1999 at 02:04:41AM -0500, Leonid Massarsky wrote:
> Hi,
> 
> How do I get a host running qmail-smtpd to route (forward) all incoming
> mail to another smtp host?

Clear out control/locals and control/virtualdomains.
Put all domains you want to relay for in control/rcpthosts.
Put ':anothersmtphost' in control/smtproutes.

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/womanizer/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
|                             Bjarne Stroustrup, Inventor of C++




hi all!

1. anyone have any suggestions as to what to use for anti-spam measures?
there seems to be a number of options.

2. anyone have any ideas on putting restrictions on the size of
incoming/outgoing mails to certain mailboxes?

3. anyone on the list have details on the up and coming ezmlm-idx 0.40? :-]

Regards,

Marc-Adrian Napoli
Connect Infobahn Australia
+61 2 92811750





On Wed, 22 Dec 1999, Marc-Adrian Napoli wrote:

> 1. anyone have any suggestions as to what to use for anti-spam
> measures? there seems to be a number of options.

http://cr.yp.to/rblsmtpd.html

-- 
Todd A. Jacobs
Network Systems Engineer





So far the only documentation I have found on the qmail-ldap patch is
at http://www.nrg4u.com/qmail/QLDAPINSTALL.

Are there any other documents around?

Your response much appreciated,
Kristina





Kristina writes:
 > So far the only documentation I have found on the qmail-ldap patch is
 > at http://www.nrg4u.com/qmail/QLDAPINSTALL.

Yeah, they're assuming that you want everything they want: ldap user
lookups, clustering, and gratuitious anti-spam patches.

 > Are there any other documents around?

No, but it's really not too hard to hack something up.  Exactly what
you need depends on exactly what your ldap is exporting.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!




I want to do email routing where qmail on the mail hub looks up the ldap
database
for mail host information so that it can route mail to the mail servers. That
way I
do not have to add user accounts on solaris. All user info for email routing
 is
centrally administered on the LDAP server.

By the way, the QLDAPINSTALL document mentions that I need Netscape LDAP sdk
(libldapss130).
What is this for and where do I download it??

Thanks for any help,
Kristina

At 02:20 99/12/22 -0500, you wrote:
> Kristina writes:
>  > So far the only documentation I have found on the qmail-ldap patch is
>  > at http://www.nrg4u.com/qmail/QLDAPINSTALL.
> 
> Yeah, they're assuming that you want everything they want: ldap user
> lookups, clustering, and gratuitious anti-spam patches.
> 
>  > Are there any other documents around?
> 
> No, but it's really not too hard to hack something up.  Exactly what
> you need depends on exactly what your ldap is exporting.
> 
> -- 
> -russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
> Crynwr sells support for free software  | PGPok | Government schools are so
> 521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
> Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homescho
ol!
>   





Russell Nelson wrote:
> 
> Kristina writes:
>  > So far the only documentation I have found on the qmail-ldap patch is
>  > at http://www.nrg4u.com/qmail/QLDAPINSTALL.
> 
> Yeah, they're assuming that you want everything they want: ldap user
> lookups, clustering, and gratuitious anti-spam patches.

Yes, because it's what we use our environment. We currently don't make
money with it and you simply get what we have. 

On the other side, it's pretty much what an ISP needs.

>  > Are there any other documents around?
> 
> No, but it's really not too hard to hack something up.  Exactly what
> you need depends on exactly what your ldap is exporting.

Yes, once you get used to qmail hacking it becomes very easy... ;-)

-- 
Andre




>Received: from muncher.math.uic.edu (muncher.math.uic.edu [131.193.178.181])
>          by mxb.atmajaya.ac.id (2.6 Build 1 (Berkeley 8.8.6)/8.8.4) with SMTP
>         id QAA00475 for <[EMAIL PROTECTED]>; Tue, 21 Dec 1999 
>16:22:53 +0700
>Received: (qmail 6765 invoked by uid 1002); 21 Dec 1999 09:26:34 -0000
>Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>Precedence: bulk
>Delivered-To: mailing list [EMAIL PROTECTED]
>Received: (qmail 3781 invoked from network); 21 Dec 1999 09:26:32 -0000
>Received: from 1cust184.tnt4.nyc3.da.uu.net (HELO in2.ibm.net) (63.23.114.184)
>  by muncher.math.uic.edu with SMTP; 21 Dec 1999 09:26:32 -0000
>From: <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Date: Tue, 21 Dec 1999 00:50:04
>Message-Id: <[EMAIL PROTECTED]>
>Subject: Save 50-80% on International Calls and Win $500 in Free phone calls!
>Mime-Version: 1.0
>Content-Type: text/plain; charset="us-ascii"
>Content-Transfer-Encoding: 7bit
>

It seems that this mailling list should subscribe to DUL service (see
http://www.mail-abuse.org/dul) to prevent direct to MX spamming like this
(PS: this person use UU.net and telnet to muncher.math.uic.edu port 25 to
send email to this mailling list, if this mailling list use DUL service,
than he wouldn't do this, since his connection would be refused)



Reply via email to