qmail Digest 1 Feb 2000 11:00:00 -0000 Issue 898

Topics (messages 36365 through 36433):

Re: Rretriving from mail server
        36365 by: Subba Rao
        36366 by: Md. Sifat Ullah Patwary
        36368 by: Robert Sander

Re: Qmail anti-virus package?
        36367 by: Rainer Link
        36385 by: Jason Haar

queue time
        36369 by: Md. Sifat Ullah Patwary
        36370 by: Chris Johnson

tcpserver
        36371 by: Andreas Altenburg
        36372 by: Chris Johnson
        36373 by: Delanet Administration
        36374 by: Keith Warno
        36375 by: Andreas Altenburg
        36376 by: Dave Sill
        36430 by: Andreas Altenburg
        36431 by: Andreas Altenburg

Re: default to mailing list
        36377 by: Dave Sill

Re: spammer lurking
        36378 by: Dave Sill
        36384 by: Peter Green
        36387 by: Dave Sill
        36389 by: Steve Wolfe
        36390 by: petervd.vuurwerk.nl

Re: Mail accept without existing homedir
        36379 by: Dave Sill

virtual domains
        36380 by: Brian Moon
        36383 by: Dave Sill

Re: "Upgrade" causing "temporary failure"
        36381 by: Dave Sill

Re: Supervise won't kill tcpserver
        36382 by: Dave Sill

Re: qmail and the sender part III
        36386 by: Subba Rao

Re: What MUA do you use?
        36388 by: Cyril Bitterich

init script
        36391 by: Andreas Altenburg
        36392 by: Steve Wolfe
        36394 by: Dave Sill
        36397 by: Andreas Altenburg
        36403 by: Andreas Altenburg
        36404 by: Philip Gabbert
        36405 by: Andreas Altenburg

maillog file not rotating?
        36393 by: Tkrin
        36402 by: Stephen Mills

Filtering out email addresses with pipe symbol
        36395 by: Charles Leeds
        36396 by: Petr Novotny
        36410 by: Martin Lesser

tcpserver docs
        36398 by: A Hoffman
        36400 by: Andreas Altenburg

�nit script
        36399 by: Andreas Altenburg
        36401 by: Philip Gabbert

SMTP problem
        36406 by: Andreas Altenburg
        36408 by: Steve Wolfe

smtp-poplock question
        36407 by: Adam Michaud

setuser
        36409 by: Andreas Altenburg
        36424 by: Anand Buddhdev

ANNOUNCE: SMTP AUTH - important bugfix
        36411 by: listy-dyskusyjne Krzysztof Dabrowski

dot-forward?
        36412 by: Jacob Joseph

using fetchmail on qmail
        36413 by: Md. Sifat Ullah Patwary
        36414 by: Md. Sifat Ullah Patwary
        36415 by: Okky
        36416 by: Md. Sifat Ullah Patwary

a Questing
        36417 by: Md. Sifat Ullah Patwary
        36418 by: Chris Johnson

qmail-qstat - problem with queue??
        36419 by: TAG

Qmail POP3
        36420 by: Muhammad Ali
        36421 by: Michael Boman
        36422 by: Magnus Bodin

No local delivery??? HELP!
        36423 by: Erwin van Kroonenburg
        36432 by: Erwin van Kroonenburg

ISP and qmail
        36425 by: jandj

unsubscribe qmail
        36426 by: ChangHyun Bang

qmail + UUCP address
        36427 by: Okky

subscribe qmail
        36428 by: ChangHyun Bang

where is the mistake
        36429 by: Andreas Altenburg
        36433 by: Vincent Schonau

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]


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


On  0, "Md. Sifat Ullah Patwary" <[EMAIL PROTECTED]> wrote:
> Hi all,
> 
> I can say qmail to retry to send all of its queued mail by giving a ALRM
> signal to qmail-send. But is there any way to say qmail to retrieve queued
> mail from other SMTP server? I know it is by fetchmail. But I need qmail
> solution.
> 

You can use qmail-pop3d daemon as the pop server. This daemon works only
with the Maildir format mail.

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





At 07:26 AM 1/31/00 -0500, you wrote:
>On  0, "Md. Sifat Ullah Patwary" <[EMAIL PROTECTED]> wrote:
>> Hi all,
>> 
>> I can say qmail to retry to send all of its queued mail by giving a ALRM
>> signal to qmail-send. But is there any way to say qmail to retrieve queued
>> mail from other SMTP server? I know it is by fetchmail. But I need qmail
>> solution.
>> 
>
>You can use qmail-pop3d daemon as the pop server. This daemon works only
>with the Maildir format mail.
>


This is not the answer of my question. I can work with qmail-ppp3d. Its the
qmail pop3 setver. My question was how can I use qmail as fetchmail.

thanks.

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





On Mon, Jan 31, 2000 at 08:01:06PM +0600, Md. Sifat Ullah Patwary wrote:

> This is not the answer of my question. I can work with qmail-ppp3d. Its the
> qmail pop3 setver. My question was how can I use qmail as fetchmail.

Just use fetchmail and let it deliver to the local smtp port.

-- 
Robert Sander                                 www.gurubert.de





Erwin van Kroonenburg wrote:

Hi!
> I was wondering if there is an anti-virus update or package for qmail to check
> incoming mail for virusses.

Short question, short answer :-)
See http://www.unixzone.com/virus/

HTH

best regards,
Rainer Link

-- 
Rainer Link, eMail: [EMAIL PROTECTED], WWW: http://rainer.w3.to/
Student of Communication Engineering/Computer Networking, University of
Applied Sciences,Furtwangen,Germany,http://www.ce.is.fh-furtwangen.de/




On Mon, Jan 31, 2000 at 11:03:23AM +0100, Erwin van Kroonenburg wrote:
> I was wondering if there is an anti-virus update or package for qmail to
> check incoming mail for virusses.

See http://www.geocities.com/jhaar/ - qmail-specific virus scanner.

-- 
Cheers

Jason Haar

Unix/Network Specialist, Trimble NZ
Phone: +64 3 3391 377 Fax: +64 3 3391 417
               




Hi all,

How long qmail can queue a messages? Is there any control to change it?

Sifat.





> How long qmail can queue a messages? Is there any control to
> change it?

RTFM qmail-send

Chris






hi,

i installed ucspi-tcp and i am running qmail under the tcpserver. My basic problem: I added the line

tcpserver -v -u 7770 -g 2108 smtp /var/qmail/bin/qmail-smtpd \ 2>&1 | var/qmail/bin splogger smtpd 3 &

to a boot script.

The error that appeares is: Command not found...

Where is the mistake???

 

Andreas





On Mon, Jan 31, 2000 at 05:07:27PM +0100, Andreas Altenburg wrote:
> hi,
> 
> i installed ucspi-tcp and i am running qmail under the tcpserver. My basic
> problem: I added the line
> 
> tcpserver -v -u 7770 -g 2108 smtp /var/qmail/bin/qmail-smtpd \ 2>&1 |
> var/qmail/bin splogger smtpd 3 &
> 
> to a boot script.
> 
> The error that appeares is: Command not found...
> 
> Where is the mistake???

The problem may be that /usr/local/bin is not in the PATH when your boot
scripts are running. Also, where you have:

var/qmail/bin splogger

you should have

/var/qmail/bin/splogger

Chris




No preceeding forward slash on the call to splogger (not to mention the
space in it). Should read as follows:

tcpserver -v -u 7770 -g 2108 smtp /var/qmail/bin/qmail-smtpd \ 2>&1 |
/var/qmail/bin/splogger smtpd &

--
Stephen Comoletti
Systems Administrator
Delanet, Inc.  http://www.delanet.com
ph: (302) 326-5800 fax: (302) 326-5802

Andreas Altenburg wrote:

>
>
> hi,
>
> i installed ucspi-tcp and i am running qmail under the tcpserver. My
> basic problem: I added the line
>
> tcpserver -v -u 7770 -g 2108 smtp /var/qmail/bin/qmail-smtpd \ 2>&1 |
> var/qmail/bin splogger smtpd 3 &
>
> to a boot script.
>
> The error that appeares is: Command not found...
>
> Where is the mistake???
>
>
>
> Andreas







er..
 
Probably in the "splogger" part eh?
 
Try:
 
tcpserver -v -u 7770 -g 2108 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 | /var/qmail/bin/splogger smtpd 3 &
 
(notice ya need a zero in there too.  check out the man on tcpserver!!)
----- Original Message -----
Sent: 31 January 2000, Monday 11:07
Subject: tcpserver

hi,

i installed ucspi-tcp and i am running qmail under the tcpserver. My basic problem: I added the line

tcpserver -v -u 7770 -g 2108 smtp /var/qmail/bin/qmail-smtpd \ 2>&1 | var/qmail/bin splogger smtpd 3 &

to a boot script.

The error that appeares is: Command not found...

Where is the mistake???

 

Andreas





also look at life with qmail for a more elegant solution
what do you mean with more elegant??? Do i really need the tcpserver or is inetd ok as well????
 
 
 
----- Original Message -----
Sent: Monday, January 31, 2000 11:07 AM
Subject: tcpserver

hi,

i installed ucspi-tcp and i am running qmail under the tcpserver. My basic problem: I added the line

tcpserver -v -u 7770 -g 2108 smtp /var/qmail/bin/qmail-smtpd \ 2>&1 | var/qmail/bin splogger smtpd 3 &

to a boot script.

The error that appeares is: Command not found...

Where is the mistake???

 

Andreas





"Andreas Altenburg" <[EMAIL PROTECTED]> wrote:

>  also look at life with qmail for a more elegant solution
>
>  what do you mean with more elegant???

>From the Jargon File:

  elegant

  [from mathematical usage] adj. Combining simplicity, power, and a
  certain ineffable grace of design. Higher praise than `clever',
  `winning', or even cuspy.

  The French aviator, adventurer, and author Antoine de
  Saint-Exup'ery, probably best known for his classic children's book
  "The Little Prince", was also an aircraft designer. He gave us
  perhaps the best definition of engineering elegance when he said "A
  designer knows he has achieved perfection not when there is nothing
  left to add, but when there is nothing left to take away."

>  Do i really need the tcpserver or is inetd ok as well????

inetd is "ok". tcpserver is "good". If you don't like services being
disabled simply because they're busy, don't use inetd. If you want the 
ability to control access to services by host, don't use inetd. If you 
want the ability to limit the maximum concurrent connections to a
service, don't use inetd.

-Dave




can anyone send me a boot script for the tcpserver which logs not to the
console, but into the logfiles???






i did and use this script:
 
start)
    echo -n "Starting qmail: svscan"
    cd /var/qmail/supervise
    env - PATH="$PATH" svscan &
    echo $! > /var/run/svscan.pid
    echo "."
    ;;
 
There is no error message during startup, qmail-send etc. are running, but i am not able to send mails from a client using the qmail server (error: server not reachable).
 
When using the comman "tcpserver ..." it works just fine, but the traffic is logged to the console.
 
Do I have to add a line in the script above?




"J.M. Roth \(iip\)" <[EMAIL PROTECTED]> wrote:

>but what if there is a mailing list that's already defined, like:
>[EMAIL PROTECTED]
>Now, [EMAIL PROTECTED] should go to the mailing list. I don't wanna copy
>the whole thing.
>If I simply put &[EMAIL PROTECTED] into .qmail-default the whole directory
>seems messed up because mails are returned and say that users that DO exist
>didn't exist, which simply is not true.

Putting "&[EMAIL PROTECTED]" in a .qmail file is exactly what you should
do. If that doesn't work right, you'll need to provide more details if
you want help figuring out why.

-Dave




Martin Randall <[EMAIL PROTECTED]> wrote:

>It could be happening at the archive at :-
>   ~~~~~
>http://www.ornl.gov/its/archives/mailing-lists

Yes, it could. There are also other archives of the list--don't know
if they all cloak addresses.

>I wonder what they are using to store them.

MHonArc, see:

  http://www.oac.uci.edu/indiv/ehood/mhonarc.html

Which doesn't seem to offer address cloaking.

-Dave




On Mon, Jan 31, 2000 at 01:22:03PM -0500, Dave Sill wrote:
> Martin Randall <[EMAIL PROTECTED]> wrote:
> 
> >I wonder what they are using to store them.
> 
> MHonArc, see:
> 
>   http://www.oac.uci.edu/indiv/ehood/mhonarc.html
> 
> Which doesn't seem to offer address cloaking.

Ah, but it does:

  http://www.oac.uci.edu/indiv/ehood/MHonArc/doc/resources/spammode.html

/pg
-- 
Peter Green
Gospel Communications Network, SysAdmin
[EMAIL PROTECTED]




Peter Green <[EMAIL PROTECTED]> wrote:

>> Which doesn't seem to offer address cloaking.
>
>Ah, but it does:
>
>  http://www.oac.uci.edu/indiv/ehood/MHonArc/doc/resources/spammode.html

OK, I've already found that and turned it on. It's better, but it
still leaves a lot of addresses uncloaked.

Now, how can I reprocess the existing archives with -spammode?

-Dave




> OK, I've already found that and turned it on. It's better, but it
> still leaves a lot of addresses uncloaked.
>
> Now, how can I reprocess the existing archives with -spammode?

   Use a different archival program. : )

    These questions aren't directly related to QMail, but they do have some
relevance to the topic, so I'll plead for forgiveness.

    It seems like there isn't any decent mail archiving system out there.
Some, like MoHnArc (or however you spell it) have some neat features, but
there aren't any that really kick butt.  A while ago, I started writing my
own archiving program for a mailing list that I'm on, using PostgreSQL for
the storage.  Having it in a database really allows for great flexibility
in archival/retrieval.  There's just one problem... threading.  I've been
trying to come up with a decent method of threading the messages, but since
few (if any) mail clients seem to use a "in-response-to" header (or
whatever the name of it is), it's getting very hard to do more than just
seperate the original from a reply.

   If anybody wants to help me out, maybe I'll archive the QMail list once
I get the package done.  (There, does that justify asking this on the QMail
list?)  As far as spam harvesting, the database stores the email address of
the author, but does not show it to end users.  One of the planned features
is the ability to email the author via a form, so that you never see the
email address in question.  It allows for contacting authors, but without
opening them up to spam.  The author can decide whether to reply or not.

steve






On Mon, Jan 31, 2000 at 01:06:24PM -0700, Steve Wolfe wrote:
> > OK, I've already found that and turned it on. It's better, but it
> > still leaves a lot of addresses uncloaked.
> >
> > Now, how can I reprocess the existing archives with -spammode?
> 
[snip]
> the storage.  Having it in a database really allows for great flexibility
> in archival/retrieval.  There's just one problem... threading.  I've been
> trying to come up with a decent method of threading the messages, but since
> few (if any) mail clients seem to use a "in-response-to" header (or
> whatever the name of it is), it's getting very hard to do more than just
> seperate the original from a reply.

Check out the archives of the php3 mailing list, lots of discussion about
threading and SQL there...

> list?)  As far as spam harvesting, the database stores the email address of
> the author, but does not show it to end users.  One of the planned features
> is the ability to email the author via a form, so that you never see the
> email address in question.  It allows for contacting authors, but without
> opening them up to spam.  The author can decide whether to reply or not.

Hmm this is quite a good one, most big free online archives do use forms
that you need to click on to mail someone, but this might be even better..

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/madly in love/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++




Arne Hinrichsen <[EMAIL PROTECTED]> wrote:

>- a mail comes in from outside oder inside (same effect) to: [EMAIL PROTECTED]
>- joe exists as a user on that machine
>- joe's homedir is defined as /home/joe but does not exist due to a mistake

If ~joe doesn't exist, then there's no user "joe", as far as qmail is
concerned. See "man qmail-getpw". Delivery defaults to user "alias" in 
this case.

>- there is a file /var/qmail/alias/.qmail-joe which is empty

If a .qmail file is empty (0 bytes), it's equivalent to the
defaultdelivery specified in the qmail-start command. See "man
dot-qmail". If a .qmail is non-empty but contains no delivery
instructions (i.e., it consists only of comments) the mail is silently 
dropped (i.e., successfully delivered nowhere).

>Jan 28 14:29:23 ruth qmail: 949066163.819267 starting delivery 1083: msg 299898 to 
>local [EMAIL PROTECTED]
>Jan 28 14:29:23 ruth qmail: 949066163.983478 delivery 1083: success: did_0+0+1/

The "did_0+0+1" means it did 0 local forwards, 0 remote forwards, and
1 file delivery, so the message was written to a file somewhere.

>but its not locally deliverd to /var/spool/mail/$USER (procmail).

What does your qmail-start command look like?

>where is this mail gone ? It's not in postmasters mailbox nor anywhere else I
>looked.

Did you look in alias's mailbox?

>Is it deleted due to the empty .qmail-joe user ?

No.

-Dave




Ok, I have added a new virtual domain to our server.

The DNS:
-------------------------
Server:  dns.circle.net
Address:  209.95.64.46

jumpspot.net    preference = 10, mail exchanger = smtp.jumpspot.net
jumpspot.net    nameserver = dns.circle.net
jumpspot.net    nameserver = dns2.circle.net
smtp.jumpspot.net       internet address = 209.95.64.26
dns.circle.net  internet address = 209.95.64.46
dns2.circle.net internet address = 209.95.64.47

rcpthosts:
-------------------------
jumpspot.net
.jumpspot.net

virtualdomains:
-------------------------
jumpspot.net:richm-jumpspot
.jumpspot.net:richm-jumpspot

I killed and restarted qmail.

When I send mail to [EMAIL PROTECTED] I get:

"relaying to <[EMAIL PROTECTED]> prohibited by administrator"

What do I need to do?

Brian Moon
----------------------------------------------------------------------
dealnews LLC
Makers of dealnews, dealmac
http://dealnews.com/ | http://dealmac.com/







"Brian Moon" <[EMAIL PROTECTED]> wrote:

>When I send mail to [EMAIL PROTECTED] I get:
>
>"relaying to <[EMAIL PROTECTED]> prohibited by administrator"
>
>What do I need to do?

Enable selective relaying. See:

  http://Web.InfoAve.Net/~dsill/lwq.html#relaying

-Dave




"Mark E. Drummond" <[EMAIL PROTECTED]> wrote:

>I recently "upgraded" to the latest versions of ucspi-tcp and
>daemontools on my qmail based MX. Although it seems to be operating just
>fine, I get the following messages on the console:
>
>supervise: fatal: unable to acquire qmail-send/supervise/lock: temporary
>failure
>supervise: fatal: unable to acquire log/supervise/lock: temporary
>failure
>supervise: fatal: unable to acquire qmail-smtpd/supervise/lock:
>temporary failure
>supervise: fatal: unable to acquire log/supervise/lock: temporary
>failure
>
>Here is one of the directories in question:
>
>ls -l /var/qmail/supervise/qmail-send/supervise
>total 2
>prw-------   1 root     other          0 Jan 27 23:34 control|
>-rw-------   1 root     other          0 Jan 27 23:30 lock
>prw-------   1 root     other          0 Jan 27 23:30 ok|
>-rw-r--r--   1 root     other         18 Jan 27 23:35 status
>
>This is on Solaris 7. Compared against my Slackware Linux box,
>everything looks the same. The 2 are set up identically.

I've seen that before, but I'm not sure what's going on. I usually
kill of the processes, clear out the directories, and restart.

-Dave




Bill Rogers <[EMAIL PROTECTED]> wrote:

>Using the straight script out of LWQ a: script stop
>will kill smtpd and pop3 supervise, but not the underlying
>tcpserver and then restarting doesn't work becasue the port
>is bound.
>
>Here's the run files:
>#!/bin/sh
>QMAILDUID=`id -u qmaild`
>NOFILESGID=`id -g qmaild`
>exec /usr/local/bin/softlimit -m 2000000 \
>    /usr/local/bin/tcpserver -v -p -x /etc/tcprules.d/qmail-smtpd.cdb \
>        -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 \
>          |/usr/local/bin/tai64n |/usr/local/bin/tai64nlocal
>and
>#!/bin/sh
>exec env PATH="/var/qmail/bin:$PATH" \
>  /usr/local/bin/softlimit -m 2000000 \
>    /usr/local/bin/tcpserver -v -R 0 pop-3 qmail-popup famvid.com \
>        checkpassword qmail-pop3d Maildir 2>&1 \
>          |/usr/local/bin/tai64n |/usr/local/bin/tai64nlocal

These run scripts aren't "straight out of LWQ". The pipes are the
problem.

-Dave




On  0, [EMAIL PROTECTED] wrote:
> 
> 
> My trouble is that on my System (RH 6.0) qmail seems unable
> to parse multi-word settings in MAILUSER or, even worse,
> makes several senders out of
> 
>     MAILHOST='arcormail.de (R. M. Lampert)'
> 
> going on like this:
> 
>    From: [EMAIL PROTECTED], \(R.M."Lampert\)"@localhost.localdomain
> 
> Any ideas what I have forgotten?  The mutt settings I did according to
> Mikko's instructions are working fine.  It's just that qmail
> overwrites all entries in the `From: ' and the `Return-Path:' lines
> according to its own settings. 
> 

The *MAIL* variables cannot use multi-worded string variables. The MAILHOST
or QMAILHOST has to have the host.domain and cannot accept values with space
in them. The same is true for (Q)MAILUSER.

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




Hi Mark,

"Mark E. Drummond" wrote:
> 
> Chris Garrigues wrote:
> >
> > Sounds like a job for PDF.  It'll even look the same everywhere.
> 
> PDF is very nice, I'd love to see it as a defacto standard, if not PS,
> but Acrobat costs $$$ and I refuse to spend $$$ on something when a
> perfectly good (free) alternative is available.

Try pdf-tex. You'd have to learn LaTex for that but then you could write everything to
pdf-files without having to pay for it. And if you don't want to write plain LaTex -- 
Lyx
is your friend.


Ciao,

Cyril





my problem is very basic, but i do not find a solution:
 
I am using the init script from http://web.infoave.net/~dsill/lwq.html
 
I created a link in rc3.d. But when starting the system the error : Could not found such file or directory occurs. It's when the system tries to load S80qmail. But the file is correctly linked. And i do not see any errors in the file. Where is my mistake???




> my problem is very basic, but i do not find a solution:
>
> I am using the init script from http://web.infoave.net/~dsill/lwq.html
>
> I created a link in rc3.d. But when starting the system the error : Could
> not found such file or directory occurs. It's when the system tries to
load
> S80qmail. But the file is correctly linked. And i do not see any errors
in
> the file. Where is my mistake???

  Well, try:

cat /etc/rc.d/rc[runlevel]/S80qmail

 from the command line, chances are that it will display the file just
fine, telling you that it is in fact linked correctly.  Then, let's look at
the pertinant lines from the script:

case "$1" in
  start)
    echo -n "Starting qmail: svscan"
    cd /var/qmail/supervise

   Does "/var/qmail/supervise" exists?

    env - PATH="$PATH" svscan &
    echo $! > /var/run/svscan.pid

  does /var/run exist?

   You can see the strategy here, that should at least help you find the
source of the error, and then it should be much easier to remedy.

steve





"Steve Wolfe" <[EMAIL PROTECTED]> wrote:

>> my problem is very basic, but i do not find a solution:
>>
>> I am using the init script from http://web.infoave.net/~dsill/lwq.html
>>
>> I created a link in rc3.d. But when starting the system the error : Could
>> not found such file or directory occurs. It's when the system tries to
>load
>> S80qmail. But the file is correctly linked. And i do not see any errors
>in
>> the file. Where is my mistake???
>
>  Well, try:
>
>cat /etc/rc.d/rc[runlevel]/S80qmail
>
> from the command line, chances are that it will display the file just
>fine, telling you that it is in fact linked correctly.  Then, let's look at
>the pertinant lines from the script:

First, check the "magic number" (the first line of the script):

head -1 /etc/rc.d/rc[runlevel]/S80qmail | od -c

You should see:

0000000   #   !   /   b   i   n   /   s   h  \n
0000012

If you see something that ends with "\r  \n", then the file is in DOS
format, and you can fix it by doing:

tr -d '\012' </usr/local/sbin/qmail >/tmp/foo
cp /tmp/foo /usr/local/sbin/qmail

-Dave




yes, thanks a lot. It was a dos format. Now there is a syntax error, but
that much more clear. One further question. When changing to runtime level1
and then back to 3 the script is not loaded, although it is located there.
Do I need a reboot?





> case "$1" in

> start)

> echo -n "Starting qmail: svscan"

> cd /var/qmail/supervise

> env - PATH="$PATH" svscan &

> echo &! > /var/run/svscan.pid



o.k. the script runs without error. Its said "Starting qmail: svscan." How
can I put in if it is done?

When looking up with ps it is not shown. How can I test, if qmail is
running?







If you've setup qmail as the Life with Qmail suggests, run top and look for
the user 'qmails' .. If not, run ps -aex (command varies from OS to OS) and
look for qmail-send
you have to use a switch on ps to view ALL processes on your machine..

Philip

Andreas Altenburg wrote:

> > case "$1" in
>
> > start)
>
> > echo -n "Starting qmail: svscan"
>
> > cd /var/qmail/supervise
>
> > env - PATH="$PATH" svscan &
>
> > echo &! > /var/run/svscan.pid
>
> o.k. the script runs without error. Its said "Starting qmail: svscan." How
> can I put in if it is done?
>
> When looking up with ps it is not shown. How can I test, if qmail is
> running?





yeah, qmail-send and qmail-smtp are running. But I am nor able to send mails
with the use of this smtp server. My client reports (server nor found). It
is definitely not a client problem, it worked when running qmail as inetd.

So what did I miss?






My maillog file did not rotate this past week.  All log data is still
going to the maillog.1.  The maillog file was created, but it has zero
bytes of data.

Has anyone ever had this happen to them?  Any ideas?  The box is RedHat
6.0 running qmail 1.03.

Thanks for you input.

Dan





Title: RE: maillog file not rotating?

make sure the maillog has proper rights, then give syslogd a HUP


--Stephen


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Tkrin
Sent: Tuesday, February 01, 2000 7:45 AM
To: Qmail List
Subject: maillog file not rotating?


My maillog file did not rotate this past week.  All log data is still
going to the maillog.1.  The maillog file was created, but it has zero
bytes of data.

Has anyone ever had this happen to them?  Any ideas?  The box is RedHat
6.0 running qmail 1.03.

Thanks for you input.

Dan





Qmail Gurus,

We were audited and one of the findings was that our qmail server allowed
addresses with the pipe symbol in them, which was reported in our audit as a
bad practice.

Is there any way to block email addresses (sender or recipient) with the
pipe symbol in them via configuration files, or would I have to patch the
code?

Thanks,
Fox
[EMAIL PROTECTED]





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

On 31 Jan 00, at 16:09, Charles Leeds wrote:
> We were audited and one of the findings was that our qmail server
> allowed addresses with the pipe symbol in them, which was reported in
> our audit as a bad practice.

Why exactly? Unless you stuff the e-mails into sendmail, or unless 
you do badly shell expansion, there's no problem; in the latter 
case, you have got a problem with addresses containing a 
semicolon as well.

> Is there any way to block email addresses (sender or recipient) with
> the pipe symbol in them via configuration files, or would I have to
> patch the code?

You need to patch the code. Perhaps some of the spamcontrol 
patches allow this check.

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

iQA/AwUBOJYKdVMwP8g7qbw/EQLkUACgu93N6wo4vYaUb50OELXUyYGYV5AAoM8h
j0vL7o44xyHR9Fb8vaw6MSFx
=pY1L
-----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]




"Charles Leeds" <[EMAIL PROTECTED]> writes:

> We were audited and one of the findings was that our qmail server allowed
> addresses with the pipe symbol in them, which was reported in our audit as a
> bad practice.

IIRC this test is sendmail-specific. I.e. Nessus reports problems with
the pipe symbol addressing (AFAIK was the pipe symbol important for
mailing with uucp). The test results positive if the MTA accepts
RCPT TO: |[EMAIL PROTECTED] I don't know whether other auditing
tools use the same way, but in any case you won't have a problem with
qmail - it delivers such false adressed mails to the postmaster.

Perhaps the auditor doesn't know the qmail-features as well?

Martin






 I am looking for info on tcpserver config. The files that come with it
are kind of sparse on syntax and examples. Is there a site that has mroe
info?
 Also, is it better used in place of, or in combination with tcp wrappers?


   =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-:
   
       Aodhan of Mountainview
       Internet Guy
   
        Ad Astra Per Aspera
                "A Rough Road Leads To The Stars"

   =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-:





Do you know:

http://web.infoave.net/~dsill/lwq.html

??





my script:


case "$1" in
start)
echo -n "Starting qmail: svscan"
cd /var/qmail/supervise
env - PATH="$PATH" svscan &
echo &! > /var/run/svscan.pid
echo "."
;;


the error:

env: svscan no such file or directory


i do not understand exactly the meaning of "svscan". Where is my mistake???





Your problem is this line:
env - PATH="$PATH" svscan &

the svscan isn't found. Either you don't have that app, or it's not in your
path. Nothing more..

Philip

Andreas Altenburg wrote:

> my script:
>
> case "$1" in
> start)
> echo -n "Starting qmail: svscan"
> cd /var/qmail/supervise
> env - PATH="$PATH" svscan &
> echo &! > /var/run/svscan.pid
> echo "."
> ;;
>
> the error:
>
> env: svscan no such file or directory
>
> i do not understand exactly the meaning of "svscan". Where is my mistake???





The command telnet localhost 25 shows a message : Connection refused.

Whith ps I see that qmail-send etc. are running.

Why is the connection refused? Do I have to configuer tecpserver??





> The command telnet localhost 25 shows a message : Connection refused.
>
> Whith ps I see that qmail-send etc. are running.
>
> Why is the connection refused? Do I have to configuer tecpserver??

  Maybe it doesn't like the looks of your packets.  : )

   You need to be running an SMTP server to accept mail on the SMTP port,
qmail-SMTPD is the one you're likely to go with, and yes, it should be
handled by tcpserver.   Once you have tcp server installed (see
http://www.flounder.net/qmail/qmail-howto.html, notably
http://www.flounder.net/qmail/qmail-howto.html#10a ), a line such as:

/usr/local/bin/tcpserver -x/etc/tcp.smtp.cdb -u502 -g501 0 smtp
/var/qmail/bin/qmail-smtpd &

  In your init script will start it up.  You may want to use the RBL
(real-time black hole) or other spam filter, but that's up to you.  The
above URL's have plenty of info.

steve






I know this isn't strictly a qmail question, but since David Harris's
smtp-poplock package is mentioned on www.qmail.org, and I've seen other
people mentioning here that they use it, this seems like the best place to
ask...

I'm experimenting with smtp-poplock to provide smtp-after-pop.  Looks to
be working like a charm (thanks, David!), but I've got a question about
the smtp-poplock.static_allowed file -- specifically, are wildcards
(or addresses with netmasks) allowed here?  For example, could I do any
of the following (if 12.34.56.* were a class C that I owned):

12.34.56.
12.34.56.*
12.34.56.0/24

to specify the entire range of addresses in that class C network?

The output of "showallowed" heads the IP address column with "ipaddr (and
netmask)", which makes me think that something like this is possible, but
I'm not sure what the syntax would be.

Thanks in advance for any help,
Adam





i installed tcpserver and daemontools, but cannot locate the comman "setuser". Which mistake did I make??




On Tue, Feb 01, 2000 at 12:37:08AM +0100, Andreas Altenburg wrote:

>    i installed tcpserver and daemontools, but cannot locate the comman
>    "setuser". Which mistake did I make??

You most likely installed version 0.61 of daemontools, and this doesn't
have setuser. That command has been replaced by setuidgid.

-- 
See complete headers for more info




Hello,

Please, please forgive me, but yesterday's version of my SMTP AUTH patch 
does not work. It was my mistake during "securing" it a bit and it went out 
unchecked. Grab the latest version from:

http://www.elysium.pl/members/brush/qmail-smtpd-auth/

I have checked it with Eudora 4.2.2 few minutes ago so i can guarantee , 
that it'll work this time.

Keep the bug reports comming (i've got 1 already :) ).

Kris





Would it be possble for someone to suggest what I may have wrong?  Here's
the log:

Jan 31 17:15:30 mail qmail: 949367730.833331 status: local 1/10 remote 0/20
Jan 31 17:15:30 mail qmail: 949367730.840983 starting delivery 374: msg
25378 to local [EMAIL PROTECTED]
Jan 31 17:15:30 mail qmail: 949367730.842333 status: local 2/10 remote 0/20
Jan 31 17:15:31 mail qmail: 949367731.106074 delivery 373: deferral:
/bin/sh:_dot-forward:_command_not_found/
Jan 31 17:15:31 mail qmail: 949367731.107440 status: local 1/10 remote 0/20
Jan 31 17:15:31 mail qmail: 949367731.119466 delivery 374: deferral:
/bin/sh:_dot-forward:_command_not_found/
Jan 31 17:15:31 mail qmail: 949367731.120929 status: local 0/10 remote 0/20





Hi all,

I issued the command 'fetchmail -p ETRN mail.xxx.com' and fetchmail gave
the result as below: (The mail.xxx.com is a qmail server)

fetchmail: mail.spnetctg.com's SMTP listener does not support ETRN
fetchmail: client/server protocol error while fetching from mail.spnetctg.com
fetchmail: Query Status=4



Any help?

Sifat.





Hi all,

I issued the command 'fetchmail -p ETRN mail.xxx.com' and fetchmail gave
the result as below: (The mail.xxx.com is a qmail server)

fetchmail: mail.spnetctg.com's SMTP listener does not support ETRN
fetchmail: client/server protocol error while fetching from mail.spnetctg.com
fetchmail: Query Status=4

in vervose mode (fetchmail -v -p mail.spnetctg.com) it gave more result:

fetchmail: 4.6.3 querying mail.spnetctg.com (protocol ETRN) at Tue Feb
10:54:48 2000
fetchmail: SMTP< 200 Welcome to SpectraNet Ltd. ESMTP
fetchmail: SMTP> EHLO mail.spnetctg.com
fetchmail: SMTP< 250-Welcome to SpectraNet Ltd.
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250 8BITMINE
fetchmail: mail.spnetctg.com's SMTP listener does not support ETRN
fetchmail: ETRN> QUIT
fetchmail: SMTP< 221 Welcome to SpectrNet Ltd.
fetchmail: client/server protocol error while fetching from mail.spnetctg.com
fetchmail: Query Status=4

Any help?

Sifat.





I use qmail on my server, and run fetchmail as daemon to
check my external POP account.

Here's my command line:
fetchmail -u <user> --monitor -v my.external.pop.server

Without -p, fetchmail will try every available protocol to
use and if there's none, it exits with an error.

-Okky

On Tue, 1 Feb 2000, Md. Sifat Ullah Patwary wrote:

> Hi all,
> 
> I issued the command 'fetchmail -p ETRN mail.xxx.com' and fetchmail gave
> the result as below: (The mail.xxx.com is a qmail server)
> 
> fetchmail: mail.spnetctg.com's SMTP listener does not support ETRN
> fetchmail: client/server protocol error while fetching from mail.spnetctg.com
> fetchmail: Query Status=4
> 
> 
> 
> Any help?
> 
> Sifat.
> 
> 







Thanks Okky,
But I need fetchmail not to use pop account rather Queued mail from an SMTP
(qmail smtp) server. (Off line basis)

Any solution please.



At 12:09 PM 2/1/00 +0700, you wrote:
>I use qmail on my server, and run fetchmail as daemon to
>check my external POP account.
>
>Here's my command line:
>fetchmail -u <user> --monitor -v my.external.pop.server
>
>Without -p, fetchmail will try every available protocol to
>use and if there's none, it exits with an error.
>
>-Okky
>
>On Tue, 1 Feb 2000, Md. Sifat Ullah Patwary wrote:
>
>> Hi all,
>> 
>> I issued the command 'fetchmail -p ETRN mail.xxx.com' and fetchmail gave
>> the result as below: (The mail.xxx.com is a qmail server)
>> 
>> fetchmail: mail.spnetctg.com's SMTP listener does not support ETRN
>> fetchmail: client/server protocol error while fetching from
mail.spnetctg.com
>> fetchmail: Query Status=4
>> 
>> 
>> 
>> Any help?
>> 
>> Sifat.
>> 
>> 
>
>
>
>
>





A question.
Does qmail support ETRN, then how?

Sifat.





> Does qmail support ETRN, then how?

Check the list archives at (for one) http://msgs.securepoint.com/qmail/. The
topic has been discussed at great length.

Chris





HI ALL,

Can someone explain the following - I do a qmail-qstat and I get the
following reply:
find: cannot open queue/todo/*: No such file or directory
messages in queue: 330
messages in queue but not yet processed: -1

I have checked the queue/todo directory - and there is nothing there:
also is has the correct permissions:
qmailq:qmail

There has been 330 messages in the queue for 3 days now and even though
I use the kill -ALRM qmail-send it still does not deliver those
messages??

I have also tried the queue-fix prog and still no luck in fixing the
above problem

Please help?

THANKS

--Tonino




Haylo....
 
I got stick with a very little but conflicting problem. I want to enable POP3 on my Qmail server. But simultaneously I want to run Procmail for mail delivery using "/var/spool/mail" rather than Mailbox or Maildir. However I am not able to run POP Daemon either on Procmail or Maildir/Mailbox. The resulting message while connecting to POP D server appears:
 
$ Telnet Qmail.mynet.com.pk 25
$ user
$ pass
 
User has no mail folder in ~user/Maildir.
Password not authenticated.
 
 
What the hell is this problem and how to handle it.
 




If you want /var/spool/mail/user delivery use qpopper as pop3 server.
qmail POP3 server only supports Maildir format.

Best regards
 Michael Boman

On Tue, Feb 01, 2000 at 11:07:56AM +0500, Muhammad Ali wrote:
> Haylo....
> 
> I got stick with a very little but conflicting problem. I want to enable POP3 on my 
>Qmail server. But simultaneously I want to run Procmail for mail delivery using 
>"/var/spool/mail" rather than Mailbox or Maildir. However I am not able to run POP 
>Daemon either on Procmail or Maildir/Mailbox. The resulting message while connecting 
>to POP D server appears:
> 
> $ Telnet Qmail.mynet.com.pk 25
> $ user
> $ pass
> 
> User has no mail folder in ~user/Maildir.
> Password not authenticated. 
> 
> 
> What the hell is this problem and how to handle it.
> 

-- 
W I Z O F F I C E . C O M   P T E   L T D  -  Your Online Wizard
16 Tannery Lane, Crystal Time Building, #06-00, Singapore 347778
Voice : (65) 844 3228 [ext 118]  Fax : (65) 842 7228
Pager : (65) 92 93 29 49         ICQ : 5566009
eMail : [EMAIL PROTECTED]    URL : http://www.wizoffice.com




On Tue, Feb 01, 2000 at 11:07:56AM +0500, Muhammad Ali wrote:
> Haylo....
> 
> I got stick with a very little but conflicting problem. I want to enable POP3 on my 
>Qmail server. But simultaneously I want to run Procmail for mail delivery using 
>"/var/spool/mail" rather than Mailbox or Maildir. However I am not able to run POP 
>Daemon either on Procmail or Maildir/Mailbox. The resulting message while connecting 
>to POP D server appears:
> 
> $ Telnet Qmail.mynet.com.pk 25
> $ user
> $ pass

What are you doing? 

POP3 service uses port 110.

This is how a sample POP3-session looks like:

[magnus@lungsot]$ telnet dbc.mtview.ca.us 110
Trying 172.17.27.3...
Connected to dbc.mtview.ca.us.
Escape character is '^]'.
+OK <[EMAIL PROTECTED]>
USER mali
+OK 
PASS tanstaaf
+OK 
LIST
+OK 
.
QUIT
+OK 
Connection closed by foreign host.
[magnus@lungsot]$

 
> User has no mail folder in ~user/Maildir.
> Password not authenticated. 

You must use maildir. /var/spool/mail is _not_ an option.
 
> What the hell is this problem and how to handle it.

You must read the documentation for the pop3 service you choose
to use.

/magnus

-- 
http://x42.com/





Hi,

I've just upgraded qmail from 0.94 to 1.03 and now there's no local 
delivery of email!
When I sent email from anywhere on the internet to our mailhost it 
immediately delivers.
When I sent email from inside our LAN to an account on the mailhost the 
message is put in the queue and as far as I can see it isn't deliverd!

What to do?

Regards,

Erwin







I looked in my logs and discovered a file not found... this was a mailquotacheck 
script which I forgot to copy. The problem is solved.



-----Oorspronkelijk bericht-----
Van:    Erwin van Kroonenburg [SMTP:[EMAIL PROTECTED]]
Verzonden:      Tuesday, February 01, 2000 9:23 AM
Aan:    '[EMAIL PROTECTED]'
Onderwerp:      No local delivery??? HELP!


Hi,

I've just upgraded qmail from 0.94 to 1.03 and now there's no local 
delivery of email!
When I sent email from anywhere on the internet to our mailhost it 
immediately delivers.
When I sent email from inside our LAN to an account on the mailhost the 
message is put in the queue and as far as I can see it isn't deliverd!

What to do?

Regards,

Erwin






Hello
       We are setting up an small ISP and would like to use qmail for our
mail server. I have installed and tested qmail # echo to: me |
/var/qmail/bin/qmail-inject.. This works fine the mail shows up in the
specified users mail box..Where I get stuck is with pop3. I have also
installed ucspi-tcp,daemontools and rblsmtpd. I am unable to send and
receive mail to and from remote hosts. I have MX records setup in our name
server.. Can some point me in the right direction I don't want to go back to
M.S.

Jerry





unsubscribe qmail by [EMAIL PROTECTED]

--
------------------------------------------------------------
ChangHyun-Bang <[EMAIL PROTECTED]> http://kldp.org/~winchild






Could anyone suggest me how to make qmail understand
addresses such as [EMAIL PROTECTED], and then deliver
it accordingly?

TIA
Okky





subscribe qmail

--
------------------------------------------------------------
ChangHyun-Bang <[EMAIL PROTECTED]> http://kldp.org/~winchild






this is my boot script:

-----------------------------
ulimit -v 2048
csh -cf '/var/qmail/rc &'
supervise /var/lock/qmail-smtpd
tcpserver -v -x/etc/tcp.smtp.cdb -u$USERID -g$GROUPID 0 25 \
rblsmtpd qmail-smtpd 2>&1 | stuidgid qmaill accustamp | \
setuidgid qmaill cyclog -s5000000 -n5 /var/log/qmail/qmail-smtpd &
echo "."
;;

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

an error occurs with the command "setuidgid qmaill cyclog ...."
cyclog cannot be found.

what is the meaning of this line? how can I replace it??





At 10:33 AM 1/2/2000 +0100, Andreas Altenburg wrote:
>this is my boot script:
>
>-----------------------------
>ulimit -v 2048
>csh -cf '/var/qmail/rc &'
>supervise /var/lock/qmail-smtpd
>tcpserver -v -x/etc/tcp.smtp.cdb -u$USERID -g$GROUPID 0 25 \
>rblsmtpd qmail-smtpd 2>&1 | stuidgid qmaill accustamp | \
>setuidgid qmaill cyclog -s5000000 -n5 /var/log/qmail/qmail-smtpd &
>echo "."
>;;

accustamp and cyclog are part of daemontools-0.53. setuidgid is in 
daemontools-0.6x. stuidgid doesn't exists anywhere on my system; you 
probably mean 'setuidgid'.

>an error occurs with the command "setuidgid qmaill cyclog ...."
>cyclog cannot be found.
>
>what is the meaning of this line? how can I replace it??

You probably don't have the older version of daemontools installed. Also, 
you shouldn't use pipes in the bootscript.

 From your emails to the list it seems that you're attempting to use qmail 
using serveral different approaches. You should probably start over, and 
follow the instructions at
    <URL:http://web.infoave.net/~dsill/lwq.html#installation> *exactly*.

If that doesn't work for you, ask the list, but be sure to quote *precise* 
error-messages. Also, please make sure you include the relevant 
information. In another message you wrote:

>i did and use this script:
>
>start)
>     echo -n "Starting qmail: svscan"
>     cd /var/qmail/supervise
>     env - PATH="$PATH" svscan &
>     echo $! > /var/run/svscan.pid
>     echo "."
>     ;;
>
>There is no error message during startup, qmail-send etc. are running, but 
>i am not able to send mails from a client using the qmail server (error: 
>server not reachable).

The people on this list can't help you with the information you give here: 
the snippet you show here just starts svscan. For us to know which programs 
supervise should be running, we need to have an idea of the contents of 
/var/qmail/supervise. You don't tell us what's in your PATH. You say 
qmail-send is running, but proceed to ask a question about qmail-smtpd.

A 'server not reachable' message would mean that your client can't make a 
network connection to the host your qmail installation is running on; 
'connection refused' would mean you don't have anything listening on port 25.

Also, when following up to messages on a mailing-list, please let your 
mailer create the subject-line (see the Subject: of this message), and 
quote the relevant parts of the email your replying to.

Following the installation instructions in Life With qmail *to the letter* 
is your best bet.

Good luck.

Vince.



Reply via email to