qmail Digest 23 Nov 2000 11:00:01 -0000 Issue 1192

Topics (messages 52699 through 52748):

Problems starting qmail
        52699 by: Phil_Hedley.Mitel.COM
        52717 by: Dave Sill

Re: Help with open relay questions
        52700 by: Charles Cazabon

Re: qmail enhancements
        52701 by: Robert Varga

Re: Postgres
        52702 by: tong

Re: Command + Delivery?
        52703 by: Charles Cazabon

Re: How insall qmail relay server in an DMZ
        52704 by: Ricardo Cerqueira

Re: secrets and lies
        52705 by: zone
        52731 by: Raul Miller
        52736 by: David L. Nicol
        52742 by: Al

Has anyone created a Web Admin module for qmail ?
        52706 by: �rjan V�llestad
        52719 by: Robin S. Socha

Re: ezmlm...
        52707 by: David Dyer-Bennet
        52740 by: Marc-Adrian Napoli

Re: Starting qmail: problem with svscan
        52708 by: Joao Costa
        52709 by: Joao Costa
        52713 by: Dave Sill
        52720 by: Joao Costa
        52721 by: Dave Sill
        52725 by: Joao Costa

Hostname Lookup
        52710 by: Warren Small
        52715 by: Andy Bradford
        52723 by: Warren Small

lot of problems
        52711 by: Jesus Arnaiz
        52714 by: Dave Sill

missing tcp.smtp.cdb
        52712 by: Mate Wierdl

Re: Adding CR to bare LFs
        52716 by: andrew.tic.ch

Re: Quicky mail list
        52718 by: Robin S. Socha
        52729 by: Tim Burden

Problem with "make setup check" in Aix 4.3
        52722 by: Fernando Barreto

Re: IMAP and Maildir
        52724 by: tim.hunter.cimx.com
        52728 by: Kris Kelley

Need a pointer on unsubscribing
        52726 by: Stephen Smith

How do I unsubscib to this list?
        52727 by: Stephen Smith

Proper way to start qmail-pop3d
        52730 by: Michael French

mail.info file size
        52732 by: Chris Olson
        52741 by: Peter Green

Qmail and RedHat7
        52733 by: m
        52737 by: Sean Reifschneider
        52738 by: m
        52739 by: Romeyn Prescott

Re: Courier or qmail
        52734 by: Matt Brown

Sqwebmail password problems
        52735 by: Roberto Samarone Araujo \(RSA\)

Help! Emergency
        52743 by: James Moore

Announce: Automatic mail archiving
        52744 by: Sean Reifschneider
        52746 by: Piotr Kasztelowicz

problems with the spamcontrol patch
        52745 by: Charles Warwick

some strange logs.
        52747 by: Eric Yu
        52748 by: Jagadish.N

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]


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


Hi all,

I've just re-installed qmail following the procedures in 'Life with qmail'.
When I use the command /usr/local/sbin/qmail start I get :-

Starting qmail: svscan.
:No such file or directory
:No such file or directory
:No such file or directory
:No such file or directory
...recursively

Can someone give me a hint as to what is happening ?

Something I was not sure of during the install procedure is the setting up of
maildir and users.
I believe I need to do this as I intend to use qmail-pop3d

I have used the approach as detailed in the installation and set up var/qmail/rc
as :-
exec env - PATH="/var/qmail/bin:$PATH"  qmail-start "`cat
/var/qmail/control/defaultdelivery`"

in /var/qmail/control/defaultdelivery I have :-
./Maildir/

Do I need to use maildirmake for each user ? or is this done automatically if a
mail is recieved for a valid username ?

Thanks,
Phil hedley






[EMAIL PROTECTED] wrote:

>I've just re-installed qmail following the procedures in 'Life with qmail'.
>When I use the command /usr/local/sbin/qmail start I get :-
>
>Starting qmail: svscan.
>:No such file or directory
>:No such file or directory
>:No such file or directory
>:No such file or directory
>...recursively

What platform is this?

What is the output of this:

  ls -lR /var/qmail/supervise

>Do I need to use maildirmake for each user ? or is this done
>automatically if a mail is recieved for a valid username ?

You need to do the maildirmake for each existing user *as that
user*. For new users, you might be able to do a maildirmake in the
skeleton (template) directory used by your system's adduser/useradd
utility, q.v.

-Dave




Eric Walters <[EMAIL PROTECTED]> wrote:
> 
> I have an qmail server setup and running,  but am having difficulty getting
> it to selectively relay.
> 
> I have a server setup so that it is using virtualdomains.  The users of the
> mail system connect to it from the Internet to send and receive email.
> Therefore I need it to allow people to send messages from a local user to a
> remote user.  It seems to be allowing all email to pass through.

You've probably got no /var/qmail/control/rcpthosts file, and are therefore
an open relay.  This is Very Bad (tm).

The file should contain lines for each domain you are willing to accept email
for -- this should be 'localhost', any proper names for the box and its local
domains (contents of /var/qmail/control/locals) and the domains in
virtualdomains.

Then, to allow your virtualdomain users on the net at large to send mail 
through you, install a POP-before-SMTP solution which allows people to relay
from any IP address _if_ they successfully check their mail with POP3
first.  The best POP-before-SMTP package (IMO) is Bruce Guenter's
excellent relay-ctrl.

See http://em.ca/~bruceg/relay-ctrl/ for more info.

As an alternative, your virtualdomain users really should be relaying their
mail through the SMTP server of their ISP -- this is what the ISP's SMTP
servers are for.

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






On Tue, 21 Nov 2000, Johan Van Gompel wrote:

> (1) check if a FQDN exists for the sender's IP (if not: no go);

If tcpserver has the -h option then it looks up FQDN and puts it in
TCPREMOTEHOST. If you use -p option as well, then it even verifies it, and
unsets TCPREMOTEHOST if it cannot be matched (no A or CNAME to the FQDN
matches the remote ip-literal). You can write a wrapper before
qmail-smtpd, which calls qmail-smtpd if TCPREMOTEHOST is set, or echoes
the error message of your selection and terminates. It will do the trick I
think.

> (2) allow POP3 access via SSL only;

Use stunnel (see my post in the stunnel list regarding this).

> (3) extract any mail attachment and check it for various things;
>     (viruses, unallowed extensions, etc.)

See the amavis website regarding this.

> (4) support delivery to same users at different domains;

Virtual domain feature in qmail.

> (5) allow only a more rigid form of authentication;
>     (e.g. POP-before-SMTP)


See www.qmail.org for a solution solving this (there is at least two
solutions there), or the vpopmail package regarding this.

Regards,

Robert Varga





Try
        http://www.csusb.net/free/qmail/index.html

wehre a simple script makes use of Postgres  to implement a 
single-system-user-account POP3 scheme and can resolve 
[EMAIL PROTECTED] from [EMAIL PROTECTED]  



-----Original Message-----
From: Peter van Dijk [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 22, 2000 8:16 AM
To: [EMAIL PROTECTED]
Subject: Re: Postgres


On Wed, Nov 15, 2000 at 03:14:10PM -0200, Cleiton Luiz Siqueira wrote:
>     Does anyone know how I can set up qmail with postgres database?

As far as I know, nobody has written up the necessary patches yet.

If you could elaborate on your needs, we might be able to help you out.

For example, I use qmail (no shit :) with tables generated from mySQL. I
don't need any mySQL patches to qmail for that, just a way to get my
data from mysql to my tables
(http://www.dataloss.net/software/mysqlquery/ is what I use, homegrown
tool :)

Greetz, Peter
-- 
dataloss networks
'/ignore-ance is bliss' - me
'Het leven is een stuiterbal, maar de mijne plakt aan t plafond!' - me




Todd A. Jacobs <[EMAIL PROTECTED]> wrote:
> I'm struggling to understand something in the dot-qmail files. If I want
> to run something, and use the error code to determine if the mail should
> be delivered, how do I do that?

It's documented fairly well in the man page for qmail-command. 

> At the moment, I have a .qmail-test file that contains a call to an RBL
> lookup utilityi that returns 100 if it's a blocked IP, and 0 otherwise. It
> reads:
> 
>       |ck4spam
>       &nospam
> 
> The problem is that the mail disappears into the bitbucket regardless of
> the errorlevel returned.

This looks like it should work -- except the second line should probably
be a Maildir or mbox delivery line, rather than a forward line (forward could
loop back to this .qmail file).

Perhaps your script is broken.  You didn't post it, so we can't tell.
Plus, qmail never sends mail to the bitbucket without a trace.  Your logs
will say exactly what happens to mail that goes through this .qmail file.

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




On Tue, Nov 21, 2000 at 08:53:32PM -0700, Andy Bradford wrote:
> Thus said Jose AP Celestino on Wed, 22 Nov 2000 01:38:39 GMT:
> 
> > Have you tried rtfm. There's plenty of stuff on this.
> 
> Why don't you RTFM on your MUA so you don't send out duplicate emails 
> to the mailing list...  sheesh.

Triplicate. Eeek! Fix that damn MUA!

RC

-- 
+-------------------
| Ricardo Cerqueira  
| PGP Key fingerprint  -  B7 05 13 CE 48 0A BF 1E  87 21 83 DB 28 DE 03 42 
| Novis  -  Engenharia ISP / Rede T�cnica 
| P�. Duque Saldanha, 1, 7� E / 1050-094 Lisboa / Portugal
| Tel: +351 2 1010 0000 - Fax: +351 2 1010 4459

PGP signature





>
> The Artistic License was explicitly designed to be part of a
> dual-licensing arrangement.  It's not strong enough to stand
> on its own;
> the language hasn't been hammered out nearly well enough.
>

But the idea behind it seems to apply to what may be the desired result:
retaining control.

-
"One of the best examples of pure democracy in action is the lynch mob"
- AA4YU






On Tue, Nov 21, 2000 at 10:07:00PM -0500, Al wrote:
> Not a lawyer but when you put something onto a web page you have
> conformed to a well known pattern that would expect an action to take
> place. For example if I put a stack of leaflets on the counter of a
> local store that said "Rumage sale next Week" and gave an address of
> where to go I do not think that you would have much luck charging
> someone who took a leaflet with stealing. Even though the leaflet does
> not say "take one".

Picking up a leaflet does not involve making a copy of it.

Pulling something off of a web site involves creating a copy on your
local machine.

> Another thing that might make a difference would be some of the rulings that
> came about when Sony was sued for the personal video recorder. What rights
> do you have to record a broadcast program? Is the Internet (or part of the
> Internet's functionality) a defacto agreement to allow the copying of
> certain files (i.e. index.html /pub etc)?

Are you suggesting only certain file names are legal to browse?

-- 
Raul





> Instead, it poses the question: do you have the legal right to use the
> web, in the absence of explicit copyright notices on every document
> element you encounter?


Laws are never about what is allowed.  Laws are about what is prohibited.




> On Tue, Nov 21, 2000 at 10:07:00PM -0500, Al wrote:
> > Not a lawyer but when you put something onto a web page you have
> > conformed to a well known pattern that would expect an
> action to take
> > place. For example if I put a stack of leaflets on the counter of a
> > local store that said "Rumage sale next Week" and gave an address of
> > where to go I do not think that you would have much luck charging
> > someone who took a leaflet with stealing. Even though the
> leaflet does
> > not say "take one".
>
> Picking up a leaflet does not involve making a copy of it.

Right, taking something that is not yours would be stealing, which is what I
said. The point is that when things are set up in well understood way there
is an implied agreement or permission. If you put a file on a server and
configure the http daemon to copy and transmit the file when requested you
have granted permission.

>
> Pulling something off of a web site involves creating a copy on your
> local machine.
>

No, reading a CD-ROM on my own drive and putting the contents on my hard
disk would be _me_ making a copy. Your (their, his, her) server reading a
file into memory and then sending the image across the network is a
different thing:

1) The http and/or ftp daemon was configured to perform this task. The file
must be in a location the server software can access. It required deliberate
action.

2) There is no attempt to hide or protect the files, on the contrary. The
files are placed in a location that by published standards can be be
accessed

3) This is not the same thing as leaving a door open on my house. There are
clear instructions on the web pages that show exactly where the software is
located and how to make the copy.

>
> Are you suggesting only certain file names are legal to browse?
>

I am saying that there are well known standards that create an implied
consent. If I ftp to a server and enter a user name of 'ftp' and it responds
'anonomyous logins permitted' then by convention I may access the /pub
directory and have the server send me a copy of the files that it makes. By
the same standards I may not use a defect in the ftp daemon and fetch
/etc/shadow.

If I connect to port 80 of a machine and its http daemon makes a copy of
index.html I understand that this is happening with the consent of the
server operator.

-
"One of the best examples of pure democracy in action is the lynch mob"
- AA4YU






www.webadmin.com doesn't work...

From.
�rjan V�llestad, iTet AS
Nettverkskonsulent/Linux
Alkeveien 4, 9015 Troms� 
Postboks 2033, 9265 Troms�
Tel: +47 77 67 91 00, Fax: +47 77 67 91 01
Dir: +47 77 64 78 22, GSM: +47 95 92 46 77
E-post: [EMAIL PROTECTED]
Web: http://www.iTet.no

"The LinuX-Files - The source is out there"





* �rjan V�llestad <[EMAIL PROTECTED]> writes:

> www.webadmin.com doesn't work...

Great. How about exchaning the information (1) and signature (11) ratio?
It sure works for me.
-- 
Robin S. Socha <http://socha.net/>




Marc-Adrian Napoli <[EMAIL PROTECTED]> writes on 22 November 2000 at 17:53:10 +1100
 > hi,
 > 
 > does anyone know how to set ezmlm up for a particular mailing list so only
 > people subscribed can send to it?
 > 
 > (and then a way for me to close off the mailing list so no one can
 > subscribe, leaving new additions to be done by me from the command line of
 > the mail server?)

Are you using ezmlm + idx, or bare ezmlm?  If bare ezmlm, my first
advice is to install the idx "patch" (VERY major enhancement).

If running idx, then use the -u and -s switches to ezmlm-make to make
it subscription-moderated and subscriber-only.
-- 
David Dyer-Bennet      /      Welcome to the future!      /      [EMAIL PROTECTED]
SF: http://www.dd-b.net/dd-b/          Minicon: http://www.mnstf.org/minicon/
Photos: http://dd-b.lighthunters.net/




david,

> Marc-Adrian Napoli <[EMAIL PROTECTED]> writes on 22 November 2000 at
17:53:10 +1100
>  > hi,
>  >
>  > does anyone know how to set ezmlm up for a particular mailing list so
only
>  > people subscribed can send to it?
>  >
>  > (and then a way for me to close off the mailing list so no one can
>  > subscribe, leaving new additions to be done by me from the command line
of
>  > the mail server?)
>
> Are you using ezmlm + idx, or bare ezmlm?  If bare ezmlm, my first
> advice is to install the idx "patch" (VERY major enhancement).
>
> If running idx, then use the -u and -s switches to ezmlm-make to make
> it subscription-moderated and subscriber-only.

yup im running ezmlmidx and i've just installed (thanks to daniel dagneaux
for this tip) the ezmlm-web interface to my mailing lists.

its a great litte package if anyone else is thinking of using it, its
located at:

http://rucus.ru.ac.za/~guy/ezmlm/#ezmlm-web

and its those -u and -s switches that i need! perfect!

Regards,

Marc-Adrian Napoli
Network Admin
Connect Infobahn Australia
+61 2 9212 0387





> >Should the service directory have any file? My service directory has
> >none.
>
> /var/qmail/supervise should have qmail-send and qmail-smtpd
> subdirectories.

I have both subdirectories on /var/qmail/supervise.

--
Joao Costa
==========
  DevWeb







> >I have installed qmail by following the steps that Dave Sill provides
> >in his web-site (http://Web.InfoAve.Net/~dsill/lwq.html). Still, when
> >I try to start qmail I get the following error message continuously:
> >
> >-n Starting qmail: svscan
> >/etc/init.d/qmail: /var/qmail/run/svscan.pid: cannot create
>
> Hmm. What platform are you running on? The "-n" is an BSD vs. Sys V
> thing, and is ugly, but won't prevent the script from working. I don't
> know where you got /var/qmail/run/svscan.pid from, though, because the
> script in LWQ uses /var/run/svscan.pid. But even that's not enough to
> cause the following:

I am running on SunOS 5.6.

> >supervise: fatal: unable to acquire qmail-send/supervise/lock: access denied
> >supervise: fatal: unable to acquire log/supervise/lock: access denied
> >supervise: fatal: unable to acquire qmail-smtpd/supervise/lock: access denied
> >supervise: fatal: unable to acquire log/supervise/lock: access denied
>
> What does the following show:
>
>   ls -lR /var/qmail/supervise

/var/qmail/supervise:
total 4
drwxr-xr-t   4 root     other        512 Nov 14 17:25 qmail-send
drwxr-xr-t   4 root     other        512 Nov 14 17:26 qmail-smtpd

/var/qmail/supervise/qmail-send:
total 6
drwxr-xr-x   3 root     other        512 Nov 14 17:26 log
-rwxr-xr-x   1 root     other         29 Nov 14 17:00 run
drwx------   2 root     other        512 Nov 15 12:13 supervise

/var/qmail/supervise/qmail-send/log:
total 4
-rwxr-xr-x   1 root     other         88 Nov 14 17:01 run
drwx------   2 root     other        512 Nov 15 12:13 supervise

/var/qmail/supervise/qmail-send/log/supervise:
total 2
prw-------   1 root     other          0 Nov 14 18:26 control
-rw-------   1 root     other          0 Nov 14 18:26 lock
prw-------   1 root     other          0 Nov 14 17:26 ok
-rw-r--r--   1 root     other         18 Nov 15 12:13 status

/var/qmail/supervise/qmail-send/supervise:
total 2
prw-------   1 root     other          0 Nov 14 18:26 control
-rw-------   1 root     other          0 Nov 14 18:26 lock
prw-------   1 root     other          0 Nov 14 17:25 ok
-rw-r--r--   1 root     other         18 Nov 15 12:13 status

/var/qmail/supervise/qmail-smtpd:
total 6
drwxr-xr-x   3 root     other        512 Nov 14 17:26 log
-rwxr-xr-x   1 root     other        339 Nov 14 17:03 run
drwx------   2 root     other        512 Nov 15 12:13 supervise

/var/qmail/supervise/qmail-smtpd/log:
total 4
-rwxr-xr-x   1 root     other         94 Nov 14 17:05 run
drwx------   2 root     other        512 Nov 15 12:13 supervise

/var/qmail/supervise/qmail-smtpd/log/supervise:
total 2
prw-------   1 root     other          0 Nov 14 18:26 control
-rw-------   1 root     other          0 Nov 14 18:26 lock
prw-------   1 root     other          0 Nov 14 17:26 ok
-rw-r--r--   1 root     other         18 Nov 15 12:13 status

/var/qmail/supervise/qmail-smtpd/supervise:
total 2
prw-------   1 root     other          0 Nov 14 18:26 control
-rw-------   1 root     other          0 Nov 14 18:26 lock
prw-------   1 root     other          0 Nov 14 17:26 ok
-rw-r--r--   1 root     other         18 Nov 15 12:13 status

>   ls -ld / /var /var/qmail /var/qmail/supervise

drwxr-xr-x  26 root     root        1024 Nov 14 16:02 /
drwxrwxrwt  23 root     sys          512 Oct 31 17:01 /var
drwxr-xr-x   9 root     qmail        512 Nov 14 17:56 /var/qmail
drwxr-xr-x   4 root     other        512 Nov 14 16:58 /var/qmail/supervise

> >What is svscan suppose to do?
>
> It monitors the service directory and runs "supervise" on services as
> needed.
>
> >How can I get the parameters of svscan
> >(read svscan's instructions)?
>
> LWQ has a section on daemontool which contains a link to the on-line
> documentation:
>
>   http://Web.InfoAve.Net/~dsill/lwq.html#daemontools

--
Joao Costa
==========
  DevWeb







Joao Costa <[EMAIL PROTECTED]> wrote:

>> >I have installed qmail by following the steps that Dave Sill provides
>> >in his web-site (http://Web.InfoAve.Net/~dsill/lwq.html). Still, when
>> >I try to start qmail I get the following error message continuously:
>> >
>> >-n Starting qmail: svscan
>> >/etc/init.d/qmail: /var/qmail/run/svscan.pid: cannot create
>>
>> Hmm. What platform are you running on? The "-n" is an BSD vs. Sys V
>> thing, and is ugly, but won't prevent the script from working. I don't
>> know where you got /var/qmail/run/svscan.pid from, though, because the
>> script in LWQ uses /var/run/svscan.pid. But even that's not enough to
>> cause the following:
>
>I am running on SunOS 5.6.

You can replace the

  echo -n "blah blah blah: "

with

  echo "blah blah blah: \c"

I'm still concerned about /var/qmail/run/svscan.pid
vs. /var/run/svscan.pid. Was this something you changed intentionally?

>> >supervise: fatal: unable to acquire qmail-send/supervise/lock: access denied
>> >supervise: fatal: unable to acquire log/supervise/lock: access denied
>> >supervise: fatal: unable to acquire qmail-smtpd/supervise/lock: access denied
>> >supervise: fatal: unable to acquire log/supervise/lock: access denied
>>
>> What does the following show:
>>
>>   ls -lR /var/qmail/supervise
>
>[snipped]

OK, that all looks good.

These are the same symptoms you get if you run "qmail start" twice
without a "qmail stop" in between. What does the following show:

  qmail stat
  ps -ef |grep qmail

-Dave




> >>   qmail stat
> >
> >qmail: command not found
>
> Make that:
>
>   /usr/local/sbin/qmail stat

/var/qmail/supervise: does not exist

> >>   ps -ef |grep qmail
> >
> >qmailr  2099  2096  0   Nov 14 ?        0:00 qmail-rspawn
> >  qmaild  2087  2082  0   Nov 14 ?        0:00 /usr/local/bin/tcpserver -v -p -x
> >/etc/tcp.smtp.cdb -c 20 -u 1040 -g 107 0 smtp
> >    root  2710  2471  1 18:46:53 pts/0    0:00 grep qmail
> >    root  2080  1641  0   Nov 14 ?        0:01 supervise qmail-send
> >  qmaill  2085  2081  0   Nov 14 ?        0:00 /usr/local/bin/multilog t
> >/var/log/qmail
> >    root  2082  1641  0   Nov 14 ?        0:01 supervise qmail-smtpd
> >  qmaill  2089  2083  0   Nov 14 ?        0:00 /usr/local/bin/multilog t
> >/var/log/qmail/smtpd
> >  qmails  2096  2080  0   Nov 14 ?        0:00 qmail-send
> >    root  2098  2096  0   Nov 14 ?        0:00 qmail-lspawn ./Maildir
> >  qmailq  2100  2096  0   Nov 14 ?        0:00 qmail-clean
>
> That looks good, and shows that qamil has been running since Nov 14.
>
> So what's not working?

--
Joao Costa
==========
  DevWeb







Joao Costa <[EMAIL PROTECTED]> wrote:

>>   /usr/local/sbin/qmail stat
>
>/var/qmail/supervise: does not exist

But obviously is does, since (1) everything is working, and (2) you
recently posted  the output of "ls -lR /var/qmail/supervise". Sounds
like your /usr/local/sbin/qmail script is corrupt. You might try
re-downloading it from:

  http://Web.InfoAve.net/~dsill/qmail-script-dt61.exe

-Dave




> >>   /usr/local/sbin/qmail stat
> >
> >/var/qmail/supervise: does not exist
>
> But obviously is does, since (1) everything is working, and (2) you
> recently posted  the output of "ls -lR /var/qmail/supervise". Sounds
> like your /usr/local/sbin/qmail script is corrupt. You might try
> re-downloading it from:
>
>   http://Web.InfoAve.net/~dsill/qmail-script-dt61.exe

Thanks a lot Dave. I'll do it and I'll post you the result of it.


--
Joao Costa
==========
  DevWeb







I installed qmail for the first time about a month ago and set it up as a
test central mail hub for some of our servers. It was working fine until
recently when I started seeing this:

--Q-ID-- --Size-- -----Q-Time----- ------------Sender/Recipient------------
HAA17817       73 Wed Nov 22 07:45 warren
                 (Deferred: Name server: qmail.mainstream.net: host name
looku)
                                   [EMAIL PROTECTED]

(Yes, this is a sendmail mailq...)

I'm sure a lot of you will say that the problem is obviously a DNS lookup
issue but I can lookup this server name successfully from the same server
that is having problems talking to the qmail server. This problem is also
not confined to one server and I can change the configuration to send the
mail to our current mail hub and it will be delivered successfully.

I have rebooted qmail.mainstream.net just so I could be sure the system was
initializing properly. I can send mail from qmail.mainstream.net
successfully. I have made no other changes to the server in the last month.
Here's what I have running:

 8603  p1- I      0:00.04 /usr/local/bin/tcpserver -l0 -x /etc/tcp.smtp.cdb
-v -u 6001 -g 601 0 smtp /var/qmail/bin/qmail-smtpd
 8604  p1- I      0:00.04 /var/qmail/bin/splogger smtpd 3
  200  co- S      1:04.99 qmail-send
  206  co- I      0:36.87 splogger qmail
  207  co- S      0:11.08 qmail-lspawn |preline procmail
  208  co- S      0:57.81 qmail-rspawn
  209  co- I      0:00.75 qmail-clean

The logs on qmail don't seem to indicate that anything at all is getting to
the server. I can connect to qmail via telnet qmail.mainstream.net 25 and
get the expected response.

I'm not sure what else to check so any help would be appreciated.

Warren




On Wed, 22 Nov 2000 08:21:10 EST, Warren Small wrote:

> I'm sure a lot of you will say that the problem is obviously a DNS lookup
> issue but I can lookup this server name successfully from the same server
> that is having problems talking to the qmail server. This problem is also
> not confined to one server and I can change the configuration to send the
> mail to our current mail hub and it will be delivered successfully.

I hate to state the obvious, but yes, it is obviously a problem with 
DNS.  Sure, the hostname resolves fine, but your DNS does not return an 
MX for it.  See results below:

[andy@mail andy]$ dnsmx qmail.mainstream.net
dnsmx: fatal: unable to find MX records for qmail.mainstream.net: temporary failure

This should, in the very least return a preference of 0 for the server 
itself.  Instead it is failing---something is misconfigured in your 
DNS.  The same results can be found with dig:

[andy@mail andy]$ dig qmail.mainstream.net mx
; <<>> DiG 8.1 <<>> qmail.mainstream.net mx 
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 40425
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUERY SECTION:
;;              qmail.mainstream.net, type = MX, class = IN

Please, someone correct me if I'm wrong, but I do believe it is a 
problem with DNS. :-)

Andy





Well, it turns out that there _was_ a problem in DNS but it is not the MX
record. The last time someone edited the zone file for mainstream.net, they
tried to comment a line with a # which, just about everywhere else, is
normal. In zone files, this is a big no-no and causes named to reject the
entire file. Hence, the problems with sending mail to the qmail server.

The thing that is weird is that I could send mail to our normal mail hub
(which is running sendmail). Is there something in qmail that would cause
this behavior? And why would nslookup resolve qmail.mainstream.net on the
same server that had trouble sending the mail? 

Warren

Andy Bradford wrote:
> 
> On Wed, 22 Nov 2000 08:21:10 EST, Warren Small wrote:
> 
> > I'm sure a lot of you will say that the problem is obviously a DNS lookup
> > issue but I can lookup this server name successfully from the same server
> > that is having problems talking to the qmail server. This problem is also
> > not confined to one server and I can change the configuration to send the
> > mail to our current mail hub and it will be delivered successfully.
> 
> I hate to state the obvious, but yes, it is obviously a problem with
> DNS.  Sure, the hostname resolves fine, but your DNS does not return an
> MX for it.  See results below:
> 
> [andy@mail andy]$ dnsmx qmail.mainstream.net
> dnsmx: fatal: unable to find MX records for qmail.mainstream.net: temporary failure
> 
> This should, in the very least return a preference of 0 for the server
> itself.  Instead it is failing---something is misconfigured in your
> DNS.  The same results can be found with dig:
> 
> [andy@mail andy]$ dig qmail.mainstream.net mx
> ; <<>> DiG 8.1 <<>> qmail.mainstream.net mx
> ;; res options: init recurs defnam dnsrch
> ;; got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 40425
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
> ;; QUERY SECTION:
> ;;              qmail.mainstream.net, type = MX, class = IN
> 
> Please, someone correct me if I'm wrong, but I do believe it is a
> problem with DNS. :-)
> 
> Andy




Hi there!

I installed qmail, tcpserver, vpopmail,  but it do not deliver mail well, it
put mails sended by the server well, but when you try to send something from
any server outside it, it fails, it don't show something in the maillog.

Anybody knows something about this?.

Thanks in advance.

Jes�s Arn�iz.




[EMAIL PROTECTED] wrote:

>I installed qmail, tcpserver, vpopmail,  but it do not deliver mail well, it
>put mails sended by the server well, but when you try to send something from
>any server outside it, it fails, it don't show something in the maillog.

What does the following do:

  telnet 0 25

-Dave




Many people worry about its existence.  While it is useful to have it,
you can make your tcpserver line conditionally use it if you include
the -X option:

tcpserver -v -c40 -X -x/etc/smtp.cdb ...

Mate




> bundle of other unix browsers I'm sure.  Is there a way I can have qmail 
> automatically convert bare LFs to CRLFs?  This would be *very* helpful.  

Hi,

I'm not sure if someone replied to this already: Answer, use fixcrio from ucspi-tcp - 
see
the cr.yp.to site for this. Search on 'fixcr' or 'fixcrio' on the archive of this list 
for
more details.

cheers,

Andrew.





* Tim Burden <[EMAIL PROTECTED]> writes:
> 1.  (*) text/plain ( ) message/external-body
                      ^ What is this?

> Using most recent versions of qmail and vpopmail on a RH6.0 thingy 

...which is extremely insecure because it contains lots of software with
security holes the size of Redmond...

> I have a customer "hutch" on a virtual domain who wants to be able to
> easily mail news on specials to his previous customers. 

http://www.ezmlm.org/, look for moderated lists. ezmlm has its own mailing list.
-- 
Robin S. Socha <http://socha.net/>




What 'it' are you referring to?

-----Original Message-----
From: Robin S. Socha <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Wednesday, November 22, 2000 1:54 PM
Subject: Re: Quicky mail list


>* Tim Burden <[EMAIL PROTECTED]> writes:
>> 1.  (*) text/plain ( ) message/external-body
>                      ^ What is this?
>
>> Using most recent versions of qmail and vpopmail on a RH6.0 thingy
>
>...which is extremely insecure because it contains lots of software with
>security holes the size of Redmond...
>
>> I have a customer "hutch" on a virtual domain who wants to be able to
>> easily mail news on specials to his previous customers.
>
>http://www.ezmlm.org/, look for moderated lists. ezmlm has its own mailing
list.
>--
>Robin S. Socha <http://socha.net/>
>






        Hi...
        I don't write english very well so, I'm sorry about any
mistakes...
 
        I'm having a problem here to compile de qmail on Aix 4.3... when I
 did "make setup check", it generate this error after do some compilation:
 ----
         ./compile dns.c
        dns.c:11: parse error before `int'
        make: 1254-004 The error code from the last command is 1.
 
 
        Stop.
 
 ----
        This line is a "extern int h_errno;" 
        What's the problem?? Anybody knowns?

        I have already created the users like in INSTALL.ids...
 
        Please... somebody can help me....
        Bye







I use Courier-IMAP almost exclusively with Outlook and Outlook Express,
seems to work with or without the workarounds enabled, just upgraded to
1.2.x but have been using successfully for over a year.

[EMAIL PROTECTED] writes:

> On Tue, Nov 21, 2000 at 01:01:55PM -0800, Nicholas Leonovich wrote:
> > Courier-IMAP is working well with Maildir for me...
> > http://www.inter7.com
> 
> Does it play nice with Microsoft Outlook or Outlook Express?  The last
> time I checked this package, there was a statement to the effect that
> it didn't.
> 
> Alternatively, can anyone point me at some useful instructions for
> getting UW-IMAP running with Maildir, since (in its default
> configuration), it (mostly) works with Outlook...
> 
> Cheers,
> Roger.
> 
> 


Tim Hunter
CIMx
[EMAIL PROTECTED]
http://www.cimx.com




[EMAIL PROTECTED] wrote:
> On Tue, Nov 21, 2000 at 01:01:55PM -0800, Nicholas Leonovich wrote:
> > Courier-IMAP is working well with Maildir for me...
> > http://www.inter7.com
>
> Does it play nice with Microsoft Outlook or Outlook Express?

I'm running Courier IMAP 1.2.3 and accessing it with Outlook Express 5 on a
Win2K system.  So far, no complaints whatsoever.

It's been a while since I looked closely at the documentation concerning
client compatability, but the only real issue I remember reading about
Outlook is its annoying tendency to sometimes flood the server with IMAP
connections.  Courier IMAP has a way to limit the number of connections per
IP address, so this can be dealt with.

---Kris Kelley






Where do I go to get information on unsubscribing to this list.  I have lost the email.

Stephen

-- 
Stephen Smith
1955 E. Bluefield Ave.
Phoenix, AZ  85022
(602)971-9520





I have lost the information - sorry.

-- 
Stephen Smith
1955 E. Bluefield Ave.
Phoenix, AZ  85022
(602)971-9520




    I wasn't sure what the best way to start qmail-pop3d, so this is how I
did it:
        Created another directory under /var/qmail/supervise called
qmail-pop3d/
        Put a run file in there that starts pop3 service.
        Created a log directory under qmail-pop3d/ and put a run script for
logging in.

    This seems to work just fine, I can pop in and get mail, BUT, my
question is: it doesn't stop the service when I go into /etc/rc.d/init.d/
and type qmail stop.  All of the other services stop except for the pop
service.  I have to manually kill them before I can restart qmail services.
I look in my qmail script for stoping/starting services and it looks like it
should kill everything out of /var/qmail/supervise, but it is not stopping
pop.  What have I missed?  Here is my qmail script:

#!/bin/sh
#

PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin
export PATH

case "$1" in
  start)
    echo -n "Starting qmail: svscan"
    cd /var/qmail/supervise
    env - PATH="$PATH" svscan &
    echo $! > /var/run/svscan.pid
    echo "."
    ;;
  stop)
    echo -n "Stopping qmail: svscan"
    kill `cat /var/run/svscan.pid`
    echo -n " qmail"
    svc -dx /var/qmail/supervise/*
    echo -n " logging"
    svc -dx /var/qmail/supervise/*/log
    echo "."
    ;;
  stat)
    cd /var/qmail/supervise
    svstat * */log
    ;;
  doqueue|alrm)
    echo "Sending ALRM signal to qmail-send."
    svc -a /var/qmail/supervise/qmail-send
    ;;
  queue)
    qmail-qstat
    qmail-qread
    ;;
  reload|hup)
    echo "Sending HUP signal to qmail-send."
    svc -h /var/qmail/supervise/qmail-send
    ;;
  pause)
    echo "Pausing qmail-send"
    svc -p /var/qmail/supervise/qmail-send
    echo "Pausing qmail-smtpd"
    svc -p /var/qmail/supervise/qmail-smtpd
    ;;
  cont)
    echo "Continuing qmail-send"
    svc -c /var/qmail/supervise/qmail-send
    echo "Continuing qmail-smtpd"
    svc -c /var/qmail/supervise/qmail-smtpd
    ;;
  restart)
    echo "Restarting qmail:"
    echo "* Stopping qmail-smtpd."
    svc -d /var/qmail/supervise/qmail-smtpd
    echo "* Sending qmail-send SIGTERM and restarting."
    svc -t /var/qmail/supervise/qmail-send
    echo "* Restarting qmail-smtpd."
    svc -u /var/qmail/supervise/qmail-smtpd
    ;;
  cdb)
    tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp
    chmod 644 /etc/tcp.smtp*
    echo "Reloaded /etc/tcp.smtp."
    ;;
  help)
    cat <<HELP
   stop -- stops mail service (smtp connections refused, nothing goes out)
  start -- starts mail service (smtp connection accepted, mail can go out)
  pause -- temporarily stops mail service (connections accepted, nothing
leaves)
   cont -- continues paused mail service
   stat -- displays status of mail service
    cdb -- rebuild the tcpserver cdb file for smtp
restart -- stops and restarts smtp, sends qmail-send a TERM & restarts it
doqueue -- sends qmail-send ALRM, scheduling queued messages for delivery
 reload -- sends qmail-send HUP, rereading locals and virtualdomains
  queue -- shows status of queue
   alrm -- same as doqueue
    hup -- same as reload
HELP
    ;;
  *)
    echo "Usage: $0
{start|stop|restart|doqueue|reload|stat|pause|cont|cdb|queue|help}"
    exit 1
    ;;
esac

exit 0

Michael French
Asheville Citizen-Times
IT Dept.





Is there a way to limit the size of the /var/log/mail/mail.info file
that qmail generates?
--
Chris




* Chris Olson <[EMAIL PROTECTED]> [001122 17:45]:
> Is there a way to limit the size of the /var/log/mail/mail.info file
> that qmail generates?

That sounds like a syslog file; if it isn't, you'll have to specify what it
is before we can help. Anyway, if it's syslog, I don't think there is a way
to limit it. You can, however, save yourself this and many other headaches
by using multilog, part of the daemontools package (also by djb). You'll be
glad you did. :)

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
Sometimes when I feel like killing someone, I do a little trick to calm myself 
down. I'll go over to the persons house and ring the doorbell. When the person 
comes to the door, I'm gone, but you know what I've left on the porch? A 
jack-o-lantern with a knife stuck in the side of it's head with a note that 
says: 'You.' After that I usually feel a lot better, and no harm done.
 (Jack Handey)





I have installed Qmail before on earlier versions of RedHat and
Mandrake. But this time I am getting the following error messages on the
new RedHat7;

Nov 22 15:42:44 digitalp2 svscan: svc: warning: unable to control
/var/qmail/supervise/qmail-send: file does not exist
Nov 22 15:42:44 digitalp2 svscan: svc: warning: unable to control
/var/qmail/supervise/qmail-smtpd: file does not exist
Nov 22 15:42:44 digitalp2 svscan: svc: warning: unable to control
/var/qmail/supervise/qmail-send/log: file does not exist
Nov 22 15:42:44 digitalp2 svscan: svc: warning: unable to control
/var/qmail/supervise/qmail-smtpd/log: file does not exist

I have checked and made sure that no Sendmail or other pop mail are
running. Basically I follow the Adam D. McKenna qmail HOWTO.

A search of Google and the mailing archives points to someone having
problems with older daemontools, I am using 0.70.

At this stage I am not sure where else to look, any help would be most
welcome.
(has anyone installed qmail on RedHat7 yet...it did seem to compile ok)

Thanks
Malcolm





On Wed, Nov 22, 2000 at 05:46:44PM -0800, m wrote:
>(has anyone installed qmail on RedHat7 yet...it did seem to compile ok)

I've done 4 or 5 installs on KRUD 7, which is RedHat 7 + the errata.
Are you using the RPMs from http://www.em.ca/~bruceg/qmail+patches/

They worked fine for me.  Too bad we can't just put up the pre-compiled
binaries, eh?

Sean
-- 
 Q:  What kind of dog goes "BOFH!  BOFH!"?
 A:  A rootweiler
Sean Reifschneider, Inimitably Superfluous <[EMAIL PROTECTED]>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python




I did not use the RPM's. I compiled the source code from scratch. I guess I
will give those a try.

Sean Reifschneider wrote:

> On Wed, Nov 22, 2000 at 05:46:44PM -0800, m wrote:
> >(has anyone installed qmail on RedHat7 yet...it did seem to compile ok)
>
> I've done 4 or 5 installs on KRUD 7, which is RedHat 7 + the errata.
> Are you using the RPMs from http://www.em.ca/~bruceg/qmail+patches/
>
> They worked fine for me.  Too bad we can't just put up the pre-compiled
> binaries, eh?
>
> Sean
> --
>  Q:  What kind of dog goes "BOFH!  BOFH!"?
>  A:  A rootweiler
> Sean Reifschneider, Inimitably Superfluous <[EMAIL PROTECTED]>
> tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python





At 4:54 PM -0700 11/22/00, Sean Reifschneider wrote:
>On Wed, Nov 22, 2000 at 05:46:44PM -0800, m wrote:
>>(has anyone installed qmail on RedHat7 yet...it did seem to compile ok)
>
>I've done 4 or 5 installs on KRUD 7, which is RedHat 7 + the errata.
>Are you using the RPMs from http://www.em.ca/~bruceg/qmail+patches/
>
>They worked fine for me.  Too bad we can't just put up the pre-compiled
>binaries, eh?
>

I'm a complete qmail newbie, and I just (finally) successfully 
installed qmail on a brand-new RH7 installation.  I had problems, but 
I can attribute all of them to my own impatience and failure to RTFM.

...ROMeyn
-- 


signat-url: http://www2.potsdam.edu/dctm/prescor/signat-url.htm
cubiclecam: http://digirom.potsdam.edu/~prescor/cubiclecam.html
    ^^^ <--- New and improved!    




Sean Reifschneider <[EMAIL PROTECTED]> writes:

> I was kind of put off by the rejection of my message to the Courier
> mailing list.  I detailed what all I had done and what the failure
> was.  I wasn't interested in subscribing, sending the message, then
> unsubscribing.  Whatever.

I don't think it's unreasonable for a mailing list to only accept mail
from subscribers.  Why you expect this is beyond me -- YOUR laziness
is not their problem, especially when the reason mailing lists do this
is to avoid transmitting spam.

-Matt

-- 
| Matthew J. Brown - Senior Network Administrator - NBCi Shopping |
|         1983 W. 190th St, Suite 100, Torrance CA 90504          |
|  Phone: (310) 538-7122    |      Work: [EMAIL PROTECTED]  |
|   Cell: (714) 457-1854    |  Personal: [EMAIL PROTECTED]           |





Hi,

        I set up sqwebmail and it is working fine with Qmail but, I have a
problem. When I add an user to my system, he/she can use webmail using the
his/her password from the password file of the system. If an user change
this password, he/she need to change the password of the sqwebmail otherwise
he/she will need to use the old password to access the webmail.
        Are there any way to keep the user webmail password up date from the
password file of the system ??
        Sorry to this question about sqwebmail.

                        thanks,

                Roberto Samarone Araujo






I setup a list wrong and now people are responding to the list (was 
supposed to be a newsletter type list for an online store), so the 
responses are going to about 60,000 people.  Not good.  I have killed the 
box for now.  I have deleted the list, how can I clean out the queue so 
these message will not go out to all these folks when I fire the box back up.

V/r
Jay




I've just put together a package for automaticly managing mailing list
archives.  The idea being that at times it's nice to save a copy of mail
from a list for later review.

This system uses QMail extensions, Python, MHonArc, and PHP (for dynamicly
generating the archive indexes) to do this.  Assuming you have the above
(lengthy) list of requirements satisfied, autoarch can be set up in under
a minute.

Mail sent to "user-autoarch-listname" will then get archived, including
web interface (if you have MHonArc and Apache or the like).  The first
message coming in creates a new archive.

Available at ftp://ftp.tummy.com/pub/tummy/autoarch/

If anyone has any ideas on how to make it reasonably secure...  ;-)
If you keep the archives private, it should be fine.  It would be nice
to get Google to index them, but that means that your "secret" auto-archive
address is available.  I suppose I could set up some lock-downs so that
the directory had to be created first, and/or the first message sent to
it would limit where messages could come from in the future...

Sean
-- 
 A bus station is where a bus stops. A train station is where a train stops.
 On my desk I have a workstation...
Sean Reifschneider, Inimitably Superfluous <[EMAIL PROTECTED]>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python




On Wed, 22 Nov 2000, Sean Reifschneider wrote:

> I've just put together a package for automaticly managing mailing list
> archives.  The idea being that at times it's nice to save a copy of mail

give this software a search funktion (Mhonarc don't support it)?

Piotr
---
Piotr Kasztelowicz                 <[EMAIL PROTECTED]>
[http://www.am.torun.pl/~pekasz]





Title: problems with the spamcontrol patch

Hi,

I have installed the spamcontrol patch to a base install of Q-Mail and most things seem to work fine.

However, there is one problem.  When I put in an invalid senders (MAIL FROM) address to a SMTP connection, it closes the connection and does not report any message either in the logs or to the client itself.  However, if I use the SMTP connection to send a valid e-mail first, and then try to send one with an invalid senders address on the same connection, it logs correctly to both client and log.  All other log messages (i.e. not allowed to relay) work fine.  And if I include a 'nodnscheck' file with the sender's domain, the mail goes through fine.

Any ideas as to what might be going wrong?  I have installed q-mail 1.03 several times with and without other patches to ensure no other patches were affecting it.

Regards,

Charles Warwick


Please Note:
The information contained in this email is confidential.  If you are not the intended recipient, you may not disclose or use the information in this email in any way.  If you have received this email in error, kindly notify the sender.  The sender does not guarantee the integrity of this email or any attached files.





Dear all,

I found the following qmail-qread message which the message number
doesn't exist in the queue, does anyone know what it means??

    "18 Nov 2000 17:44:56 GMT  #54676  1214  <[EMAIL PROTECTED]>
        local
_error_5.7.1_denied,maximum.messages.reached,[EMAIL PROTECTED]

     19 Nov 2000 07:57:02 GMT  #54679  1229  <[EMAIL PROTECTED]>
        local
_error_5.7.1_denied,maximum.messages.reached,[EMAIL PROTECTED]"

(p.s. please reply to this email)
thanks and regards,

Eric







Hello guys,

                I want to generate mail statistics from my Qmail server. It
should give me bytes  of  messages  passed and number of smtp if possible
pop connections attempted.

I don't  use   multilog.  Log  messages are dumped to the screen and not to
syslog.
Can  any one tell me howto generate statistics and  enable logging in Qmail

Bye .  Jagga

----- Original Message -----
From: Eric Yu <[EMAIL PROTECTED]>
To: cr.yp.to log list <[EMAIL PROTECTED]>; qmail mailing list
<[EMAIL PROTECTED]>
Sent: Thursday, November 23, 2000 3:24 PM
Subject: some strange logs.


> Dear all,
>
> I found the following qmail-qread message which the message number
> doesn't exist in the queue, does anyone know what it means??
>
>     "18 Nov 2000 17:44:56 GMT  #54676  1214  <[EMAIL PROTECTED]>
>         local
>
_error_5.7.1_denied,maximum.messages.reached,please.try.back.in.30.minutes.@
ws1.hk4.outblaze.com
>
>      19 Nov 2000 07:57:02 GMT  #54679  1229  <[EMAIL PROTECTED]>
>         local
>
_error_5.7.1_denied,maximum.messages.reached,please.try.back.in.30.minutes.@
ws1.hk4.outblaze.com"
>
> (p.s. please reply to this email)
> thanks and regards,
>
> Eric
>
>
>
>



Reply via email to