qmail Digest 21 Feb 2001 11:00:01 -0000 Issue 1282

Topics (messages 57606 through 57675):

Re: Mail delivery problems.
        57606 by: Anurag Jalan

Re: Virtual Domains
        57607 by: Charrua

modifying script?
        57608 by: Bill Parker

Re: rcphosts?
        57609 by: Frank Tegtmeyer

Re: warning: trouble opening remote/4/r
        57610 by: Charles Cazabon
        57667 by: flint

Suppressing Bounce Messages
        57611 by: Manvendra Bhangui
        57612 by: Johan Almqvist
        57613 by: Matthew Patterson

1 host with several hostnames
        57614 by: Massimo Quintini
        57619 by: Charles Cazabon

Assistance reading mail headers
        57615 by: George Garvey
        57618 by: Peter van Dijk

Please Help Me Test My AV SW
        57616 by: jsunday.parview.com

unable to establish an smtp connection
        57617 by: Mark Lo
        57620 by: Charles Cazabon
        57622 by: Mark Lo
        57628 by: schoon.amgt.com
        57629 by: schoon.amgt.com
        57636 by: Mark Lo

How do I unsubscribe
        57621 by: Shane Wise
        57668 by: Sumith Ail

badrcptto
        57623 by: Alex Kramarov

(OT) DJB-itization
        57624 by: [gill]
        57625 by: Carl
        57626 by: Charles Cazabon
        57652 by: Robin S. Socha
        57654 by: Henning Brauer
        57655 by: Peter Cavender
        57665 by: Carl

qmail smtp
        57627 by: Pablo Martin De Natale

Re: Ezmlm capacity
        57630 by: Charles Cazabon

The Same email keeps getting sent to qmail
        57631 by: Kep Brown

Listen only to One ethernet Card
        57632 by: Mark Lo
        57634 by: Henning Brauer

Cannot receive mail from other mail server
        57633 by: kali
        57638 by: Kris Kelley

queue keeping messages
        57635 by: Karen
        57640 by: Charles Cazabon
        57647 by: Karen
        57648 by: Jeremy Anttila

Re: Mail hub for relay and outgoing only - no local
        57637 by: Dave Sill

Re: queue is not going down...
        57639 by: Dave Sill

Re: outgoing messages
        57641 by: Dave Sill

Re: pop3 dying
        57642 by: Dave Sill

unable to recieve remote mail
        57643 by: Webmaster
        57644 by: Kris Kelley
        57646 by: Henning Brauer
        57650 by: Sean Escriva
        57651 by: Kris Kelley
        57653 by: Charles Cazabon

Followup: badrcptto
        57645 by: Alex Kramarov

Receipts...
        57649 by: Lukasz Felsztukier

Need Arguments for qmail
        57656 by: Peter Cavender
        57659 by: Kyle
        57666 by: Jason Radford
        57669 by: Mike Jackson
        57672 by: Robin S. Socha
        57673 by: Lincoln Yeoh

Local Deliveries Slow
        57657 by: Manvendra Bhangui

tcpserver prints to console!?!
        57658 by: Paul Farber
        57660 by: Andy Bradford

how to hide the alias-<user_name>
        57661 by: keng heng

multilog not getting messages?
        57662 by: Paul Farber

one user handling hundreds of virtual domains
        57663 by: Winifred Sanchez
        57664 by: Alex Pennace

djbcron
        57670 by: Michael Handler
        57674 by: Frank D. Cringle

email to fax machine
        57671 by: Ami Shamril

dotforward on solaris
        57675 by: Oliver Koch

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]


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


Thanks ..that did it !!!  Now all i need ( oops ! ) to do is to get qmail
to use my ISP's SMTP server ... Do I create /var/qmail/control/smptproutes
with the ISP's smptp IP ? Or is ~defaulthost the appropriate file ?

regards

Anurag

----- Original Message -----
From: "Adam Andrzej Jaworski" <[EMAIL PROTECTED]>
To: "Anurag Jalan" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, February 20, 2001 3:36 PM
Subject: Re: Mail delivery problems.


> Hi,
>
> 1) 'Life with qmail' is excellent but try
http://www.flounder.net/qmail/qmail-howto.html
>    it is my favourite HOWTO (thaaanks to Adam McKenna)
>
> 2) Unable_to_open_./Maildir:_is_a_directory._(#4.2.1) / error means that
either
>    you have bad Maildir structure or missing slash after ./Maildir/ in rc
file
>
>    so, make sure you have there something like:

< SNIP >





        >Yes, the other way is to use /var/qmail/controls/assign file...

        >I posted instructions how to use this file: 

        >Date: Thu, 15 Feb 2001 17:42:07 +0100
        >Subject: Re: How to set up qmail for several "[EMAIL PROTECTED]"?

        >so You can check it out


Hi, thank you for the information. In this sense I would like to make two
queries:

Is the assign file cumulative? That is to say do I have to keep on adding
users in this file or after creating the database for the assign file I
should create a new assign file?
Is this procedure compatible with the type of Add-ons of the vpopmail or
vmailmgr?

Thanks and regards.

Andrés








Hi All,

        My qmail script currently looks like this (see below)

case "$1" in
   start)

         echo -n "Starting: "
         env - PATH="/var/qmail/bin:/usr/local/bin" \
     qmail-start ./Maildir/ /usr/local/bin/accustamp \
     | /usr/local/bin/setuser qmaill /usr/local/bin/cyclog /var/log/qmail &
         echo -n "qmail "

         env - PATH="/var/qmail/bin:/usr/local/bin" \
         tcpserver -H -R -c100 0 pop-3 /var/qmail/bin/qmail-popup \
         $HOSTNAME \
         /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir &
         echo -n "pop "

     env - PATH="/var/qmail/bin:/usr/local/bin" \
         tcpserver -H -R -x /etc/tcp.smtp.cdb -c100 -u501 -g60 0 smtp \
         /var/qmail/bin/qmail-smtpd 2>&1 > /dev/null &
         echo "smtp"
         ;;
   stop)
         echo -n "stopping qmail"
         killall qmail-send
         killall tcpserver
         echo
         ;;
   restart)
         $0 stop
         $0 start
         ;;
   status)
         status qmail
         ;;
   *)
         echo "Usage: qmail {start|stop|restart|status}"
         exit 1
esac

exit 0

Now, what I want to know is i'm running amavis-0.2.1 on my system, and it needs
paths to /bin:/usr/bin, can I modify the env variables above w/out breaking 
anything

example lets make

env - PATH="/var/qmail/bin:/usr/local/bin"

look like this:

env - PATH="/var/qmail/bin:/usr/local/bin:/bin:/usr/bin"

Also, does anyone have some code lying around which would add the ability to
re-compile the tcprules database from the qmail script?

-Bill






> what if i want to relay to all but only from my host ie none other than my
> domain users can actually relay through me

What do you mean by "domain users"? Computers at your LAN?
This situation is covered in the FAQ.
Have a look at
http://cr.yp.to/qmail/faq/servers.html#authorized-relay

Regards, Frank




flint <[EMAIL PROTECTED]> wrote:
> 
> Today,I saw there were many messages like this in the maillog:
> 982653149.920320 warning: trouble opening remote/4/r

Your queue is corrupt.  Did you manually remove any messages from the queue?
Get qmail-queuefix from www.qmail.org to fix this.

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





>> Today,I saw there were many messages like this in the maillog:
>> 982653149.920320 warning: trouble opening remote/4/r

>Your queue is corrupt.  Did you manually remove any messages from the queue?
>Get qmail-queuefix from www.qmail.org to fix this.

>Charles


Thank you. I have really removed the queue. But i have backuped them. Now which is 
better,override the queue with the backed queue or using the queue-fix to fix them.
thanks you help again. 

            flint
            [EMAIL PROTECTED]





I have a problem on my site where lot of my users who have subscribed to external free subscriptions are no longer there. Due to this around 80000 bounce message are getting generated daily and clogging up my queue. Is there any way to silently discard these messages without generating a bounce back message. I am running qmail-1.03
 
Regards Manny




* Manvendra Bhangui <[EMAIL PROTECTED]> [010220 15:28]:
> I have a problem on my site where lot of my users who have subscribed to external 
>free subscriptions are no longer there. Due to this around 80000 bounce message are 
>getting generated daily and clogging up my queue. Is there any way to silently 
>discard these messages without generating a bounce back message. I am running 
>qmail-1.03

Please wrap your lines.

If I understand you correctly, what you really may be looking for is the
badrcptto patch from www.qmail.org. That will let you "bounce" the
messages during the SMTP dialogue, so qmail will not generate the bounce
message.

Discarding all bounce messages is a bad idea.

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

PGP signature





On Tue, 20 Feb 2001, Manvendra Bhangui wrote:
>
>I have a problem on my site where lot of my users who have subscribed to external 
>free subscriptions are no longer there. Due to this around 80000 bounce message are 
>getting generated daily and clogging up my queue. Is there any way to silently 
>discard these messages without generating a bounce back message. I am running 
>qmail-1.03
>
>Regards Manny
>

----------------------------------------
Content-Type: text/html; name="unnamed"
Content-Transfer-Encoding: quoted-printable
Content-Description: 
----------------------------------------

Add an alias file for each of the addresses that these messages is intended for and 
redirect it to the postmaster of the originating domain. I'm sure it will stop real 
fast.

-- 
***********************************
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***********************************





I have installed QMAIL in a host called "realname.aaa.bbb.ccc" (MX
record in DNS). On this server I have defined 10 users. This host should
accept mails for "virtual1.aaa.bbb.ccc", "virtual2.aaa.bbb.ccc" and
"aaa.bbb.ccc" (For example: a mail for [EMAIL PROTECTED] MUST go in
[EMAIL PROTECTED], a mail for [EMAIL PROTECTED] MUST
go in [EMAIL PROTECTED] - with "user01" user of computer 
"realname")

I have done MANY tests with/without virtualdomain but don't
works!!! I have mailed a msg from my account on Excite.it to
[EMAIL PROTECTED]: the Excite's postmaster responds:
Final-Recipient: RFC822; <[EMAIL PROTECTED]> 
Action: failed 
Status: 5.1.2 
Remote-MTA: dns; virtual1.aaa.bbb.ccc

QMAIL Configuration files:
ME:
realname.aaa.bbb.ccc
LOCALS:
localhost
realname.aaa.bb.ccc
RCPTHOSTS:
realname.aaa.bbb.ccc
virtual1.aaa.bbb.ccc
aaa.bbb.ccc
VIRTUALDOMAINS
[EMAIL PROTECTED]:alias-user01
[EMAIL PROTECTED]:alias-user02
[EMAIL PROTECTED]:alias-user01
[EMAIL PROTECTED]:alias-user02
~ALIAS/.QMAIL-USER01-USER01
&[EMAIL PROTECTED]
/ETC/TCP.SMTP
100.100.100.:allow,RELAYCLIENT=""               

In /var/log/maillog there is no msg.

In another test I have deleted virtualdomains and filled locals and
rcpthosts with "realname" and "virtual1" but don't works!! 

I have attached the output oh qmail-showctl

Must I insert the "virtual1" in DNS (MX record) ??????

Excuse for my bad English, best regards and thanks in advance for
helping.

Massimo QUINTINI

==========================================================
= Massimo Quintini                                       =
= Osservatorio Astronomico Collurania Teramo (O.A.C.T.)  =
= Via Mentore Maggini s.n.c.                             =
= 64100 - TERAMO - (Italy)                               =
= Telefono: 39-0861.210490                               =
= Fax: 39-0861.210492                                    =
= http://www.te.astro.it                                 =
==========================================================

showctl.out





Massimo Quintini <[EMAIL PROTECTED]> wrote:
> 
> I have installed QMAIL in a host called "realname.aaa.bbb.ccc" (MX
> record in DNS).

Funny, it doesn't look like there's an MX record for realname.aaa.bbb.ccc .
I can't even find a server which knows about the .ccc domain.

> I have done MANY tests with/without virtualdomain but don't works!!!

That's helpful.

> In /var/log/maillog there is no msg.

Then where are you actually logging qmail output to?

Give us the _real_ hostname and domain names involved.  At a first guess,
the DNS configuration is bad, but we can't check, because you cloaked this.

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




I'm not very good at reading mail headers. Are the following someone trying
to use our system as a relay?

>From [EMAIL PROTECTED] Tue Feb 20 06:45:14 2001
Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 23391 invoked from network); 20 Feb 2001 06:45:14 -0800
Received: from van01.inxservices.lan (192.168.1.6)
  by mwg.inxservices.lan with QMTP; 20 Feb 2001 06:45:14 -0800
Received: (qmail 15892 invoked by alias); 20 Feb 2001 06:45:14 -0800
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 15887 invoked from network); 20 Feb 2001 06:45:12 -0800
Received: from c15.h061013066.is.net.tw ([EMAIL PROTECTED])
  by ns.inxservices.com with SMTP; 20 Feb 2001 06:45:12 -0800
Received: from 61.13.66.15 (c140.h061013121.is.net.tw [61.13.121.140])
        by c15.h061013066.is.net.tw (8.9.3/8.8.7) with SMTP id WAA02003;
        Tue, 20 Feb 2001 22:44:49 +0800
Date: Tue, 20 Feb 2001 22:44:49 +0800
From: [EMAIL PROTECTED]
Message-Id: <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: ¸Éµn¤¤Àô¸ê°Tºô°T®§¡D¡D¸Éµn¤¤Àô¸ê°Tºô°T®§¡D¡D¡D¡D¸Éµn¤¤Àô¸ê°Tºô°T®§¡D¡D¡D
---------------- body snipped ----------------

There is no david_wu here. But I've told qmail to deliver anything to
unknown users at our domain to me, rather than bouncing. As far as I can
tell, this is everything from the logs about this message:

Feb 20 06:45:14 van01 qmail: 982680314.626912 starting delivery 1979: msg 48543 to 
local [EMAIL PROTECTED] 
Feb 20 06:45:14 van01 qmail: 982680314.627059 status: local 1/10 remote 0/20 
Feb 20 06:45:14 van01 qmail: 982680314.820895 delivery 1979: success: 
did_0+1+0/qp_15892/ 
Feb 20 06:45:14 van01 qmail: 982680314.820947 status: local 3/10 remote 1/20 
Feb 20 06:45:14 mwg qmail: 982680314.882874 new msg 61762 
Feb 20 06:45:14 van01 qmail: 982680314.586558 new msg 48543 
Feb 20 06:45:14 van01 qmail: 982680314.586723 info msg 48543: bytes 2947 from 
<[EMAIL PROTECTED]> qp 15887 uid 40 
Feb 20 06:45:14 van01 qmail: 982680314.626912 starting delivery 1979: msg 48543 to 
local [EMAIL PROTECTED] 
Feb 20 06:45:14 van01 qmail: 982680314.627059 status: local 1/10 remote 0/20 
Feb 20 06:45:14 van01 qmail: 982680314.820895 delivery 1979: success: 
did_0+1+0/qp_15892/ 
Feb 20 06:45:14 mwg qmail: 982680314.882874 new msg 61762 
Feb 20 06:45:14 mwg qmail: 982680314.882963 info msg 61762: bytes 3242 from 
<[EMAIL PROTECTED]> qp 23391 uid 40 
Feb 20 06:45:14 van01 qmail: 982680314.915652 delivery 1983: success: 
_192.168.1.3_accepted_message./Remote_host_said:_ok_982680314_qp_23391/Protocol:_qmtp/ 
Feb 20 06:45:14 van01 qmail: 982680314.915809 status: local 0/10 remote 1/20 

It doesn't look like any forwarding happened. If someone is going to start
trying to use us as a relay, though, I'm going to have to start bouncing
mail if the volume increases. So far its only been a few every couple days.

Thanks for any assistance in understanding this.




On Tue, Feb 20, 2001 at 07:00:27AM -0800, George Garvey wrote:
> I'm not very good at reading mail headers. Are the following someone trying
> to use our system as a relay?

No. It's someone sending to a wrong address.

Greetz, Peter.








        This might be a weird request, but I am wondering if anyone would 
be willing to send me virus infected emails to test my setup...   all I have 
here is the Anna, and my AV stops that...   but if a few of you would 
send me different ones, maybe ones that would get by the AV scan...   ???   
Like I said, it's weird, and please send them directly to ME not to the list...   
Thanks!!!


        Jesse

Systems Administrator
ParView, Inc.





Hi,

     I am using qmail as my smtp mail server and pop server, I have found
out something strange.  That is, qmail is not able to established an smtp
connection at the first time.  I didn't mean the mail never being send out,
but it has to be send out sereval times in order to get it delivered.  Is
this normal ??  If no, what causes this problem !!

status: local 0/10 remote 1/20
@400000003a91df743b68a804 delivery 45: deferral:
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/

Thank you so much

Mark





Mark Lo <[EMAIL PROTECTED]> wrote:
> 
> Is this normal ??  If no, what causes this problem !!
> status: local 0/10 remote 1/20
> @400000003a91df743b68a804 delivery 45: deferral:
> Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/

Completely normal.  The remote mailserver didn't accept the connection.
Ignore this error if it occurs infrequently.  qmail will keep trying to
deliver the affected message for a week (default).

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




Hi Charles,

I got the error messages very often, what should I do ??

Mark
----- Original Message ----- 
From: Charles Cazabon <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 20, 2001 11:17 PM
Subject: Re: unable to establish an smtp connection


> Mark Lo <[EMAIL PROTECTED]> wrote:
> > 
> > Is this normal ??  If no, what causes this problem !!
> > status: local 0/10 remote 1/20
> > @400000003a91df743b68a804 delivery 45: deferral:
> > Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
> 
> Completely normal.  The remote mailserver didn't accept the connection.
> Ignore this error if it occurs infrequently.  qmail will keep trying to
> deliver the affected message for a week (default).
> 
> 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.
> -----------------------------------------------------------------------
> 





Mark, Charles and the list,

        I go this error message as well. What caused it for me was an
improperly configured ipchains script used on my public gateway. Once I
configured the script to allow outgoing port 25 requests to anywhere,
that solved the problem. This error msg can be difficult to track down
because there's several ways it can be produced....

HTH

.mark

>----------
>From:  Mark Lo[SMTP:[EMAIL PROTECTED]]
>Sent:  Tuesday, February 20, 2001 7:50 AM
>To:    Charles Cazabon; [EMAIL PROTECTED]
>Subject:       Re: unable to establish an smtp connection
>
>Hi Charles,
>
>I got the error messages very often, what should I do ??
>
>Mark
>----- Original Message ----- 
>From: Charles Cazabon <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, February 20, 2001 11:17 PM
>Subject: Re: unable to establish an smtp connection
>
>
>> Mark Lo <[EMAIL PROTECTED]> wrote:
>> > 
>> > Is this normal ??  If no, what causes this problem !!
>> > status: local 0/10 remote 1/20
>> > @400000003a91df743b68a804 delivery 45: deferral:
>> > Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
>> 
>> Completely normal.  The remote mailserver didn't accept the connection.
>> Ignore this error if it occurs infrequently.  qmail will keep trying to
>> deliver the affected message for a week (default).
>> 
>> 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.
>> -----------------------------------------------------------------------
>> 
>
>




Well, that depends: is qmail taking incoming request or initiating an
outgoing request. This assumes the ipchains script is being used on your
gateway computer. The script for a firewall is different.

incoming request:

-s $anywhere $unprivports
-d $ipaddr 25

outgoing reponses to input request:

-s $ipaddr 25
-d $anywhere $unprivports

Now, initiating a connection, as in relaying email,

outgoing

-s $ipaddr $unprivports
-d $anywhere 25

incoming

-s $anywhere 25
-d $ipaddr $unprivports

(I didn't use the -b option for clarity)

        My ipchains script for a non-firewall installation is not the same as a
firewall. There should be NO services running on your firewall!! The
firewall just passes packets between your DMZ, private internal network
and the wild, wild internet. When I setup my SMTP gateway as a bastion
host outside the firewall, by default I open all privports and then
close all ports that are not needed. I also look for spoofing and other
sundry nasties. If you'd like a copy of it, I could clean it up and send
it your way. I put it together rather quickly, so it's not pretty!

HTH

.mark


>----------
>From:  Mark Lo[SMTP:[EMAIL PROTECTED]]
>Sent:  Tuesday, February 20, 2001 10:07 AM
>To:    Mark Schoonover; [EMAIL PROTECTED]; [EMAIL PROTECTED]
>Subject:       Re: unable to establish an smtp connection
>
>Hi,
>
>you mean : from my ipaddr 25 to anywhere 25 ???
>          or    from my ipaddr 25 to anywhere $unprivports ???
>
>which one is it ??
>
>Thank you
>
>Mark
>----- Original Message -----
>From: <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
><[EMAIL PROTECTED]>
>Sent: Wednesday, February 21, 2001 1:49 AM
>Subject: RE: unable to establish an smtp connection
>
>
>> Mark, Charles and the list,
>>
>> I go this error message as well. What caused it for me was an
>> improperly configured ipchains script used on my public gateway. Once I
>> configured the script to allow outgoing port 25 requests to anywhere,
>> that solved the problem. This error msg can be difficult to track down
>> because there's several ways it can be produced....
>>
>> HTH
>>
>> .mark
>>
>> >----------
>> >From: Mark Lo[SMTP:[EMAIL PROTECTED]]
>> >Sent: Tuesday, February 20, 2001 7:50 AM
>> >To: Charles Cazabon; [EMAIL PROTECTED]
>> >Subject: Re: unable to establish an smtp connection
>> >
>> >Hi Charles,
>> >
>> >I got the error messages very often, what should I do ??
>> >
>> >Mark
>> >----- Original Message -----
>> >From: Charles Cazabon <[EMAIL PROTECTED]>
>> >To: <[EMAIL PROTECTED]>
>> >Sent: Tuesday, February 20, 2001 11:17 PM
>> >Subject: Re: unable to establish an smtp connection
>> >
>> >
>> >> Mark Lo <[EMAIL PROTECTED]> wrote:
>> >> >
>> >> > Is this normal ??  If no, what causes this problem !!
>> >> > status: local 0/10 remote 1/20
>> >> > @400000003a91df743b68a804 delivery 45: deferral:
>> >> > Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
>> >>
>> >> Completely normal.  The remote mailserver didn't accept the connection.
>> >> Ignore this error if it occurs infrequently.  qmail will keep trying to
>> >> deliver the affected message for a week (default).
>> >>
>> >> 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.
>> >> -----------------------------------------------------------------------
>> >>
>> >
>> >
>>
>
>




Hi,

you mean : from my ipaddr 25 to anywhere 25 ???
          or    from my ipaddr 25 to anywhere $unprivports ???

which one is it ??

Thank you

Mark
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, February 21, 2001 1:49 AM
Subject: RE: unable to establish an smtp connection


> Mark, Charles and the list,
>
> I go this error message as well. What caused it for me was an
> improperly configured ipchains script used on my public gateway. Once I
> configured the script to allow outgoing port 25 requests to anywhere,
> that solved the problem. This error msg can be difficult to track down
> because there's several ways it can be produced....
>
> HTH
>
> .mark
>
> >----------
> >From: Mark Lo[SMTP:[EMAIL PROTECTED]]
> >Sent: Tuesday, February 20, 2001 7:50 AM
> >To: Charles Cazabon; [EMAIL PROTECTED]
> >Subject: Re: unable to establish an smtp connection
> >
> >Hi Charles,
> >
> >I got the error messages very often, what should I do ??
> >
> >Mark
> >----- Original Message -----
> >From: Charles Cazabon <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Tuesday, February 20, 2001 11:17 PM
> >Subject: Re: unable to establish an smtp connection
> >
> >
> >> Mark Lo <[EMAIL PROTECTED]> wrote:
> >> >
> >> > Is this normal ??  If no, what causes this problem !!
> >> > status: local 0/10 remote 1/20
> >> > @400000003a91df743b68a804 delivery 45: deferral:
> >> > Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
> >>
> >> Completely normal.  The remote mailserver didn't accept the connection.
> >> Ignore this error if it occurs infrequently.  qmail will keep trying to
> >> deliver the affected message for a week (default).
> >>
> >> 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.
> >> -----------------------------------------------------------------------
> >>
> >
> >
>





As much as I hate people who do what I am doing now....

How do I unsubscribe?!?!

Thanks!
Shane Wise
For Current Nashville Weather
http://www.nashvilleweather.net





mailto:[EMAIL PROTECTED]

Shane Wise writes: 

> As much as I hate people who do what I am doing now.... 
> 
> How do I unsubscribe?!?! 
> 
> Thanks!
> Shane Wise
> For Current Nashville Weather
> http://www.nashvilleweather.net 
> 
 




I just had a virus sent to a distribution list, that is supposed to be for
my organisation internal use only and includes all of my server recipients.
The list is based on .qmail with all recipients names. I was thinking to
block people from sending to his list, read a little ezmlm-idx, but couldn't
find a satisfactory solution with it. 

I recieve mail only through SMTP, so I was thinking :
basically I need to allow sending to this list only from MY users, and
because I know MY users by RELAYCLIENT, the easyest way seems to put the
list name in badrcptto and edit the badrcptto patch to do the checking only
is RELAYCLIENT not set.

Anyone can think of a better way ?






Hi,

I wonder if anyone has put together a package/script to lay on top of any
popular distributions of *nix to replace everything with the DJB version.

For example a base FreeBSD install could have such a distro installed to
replace sendmail with qmail, inetd with ucspi-tcp, BIND with djbdns,
etc. etc.

I would think that to someone who was quite familiar with these tools,
such an overhaul would be relatively easy.

--gill






On Tue, Feb 20, 2001 at 11:10:47AM -0500, [gill] wrote:
> 
> I wonder if anyone has put together a package/script to lay on top of any
> popular distributions of *nix to replace everything with the DJB version.
> 
> For example a base FreeBSD install could have such a distro installed to
> replace sendmail with qmail, inetd with ucspi-tcp, BIND with djbdns,
> etc. etc.
> 
Heh, I was just thinking about something like this. Maybe when I'm done
doing just that I'll look into it. See what it takes to do it, it'd be a
very nice thing to have. I am just now converting to qmail, ucspi-tcp, and
djbdns. Soon I'll do it, I'm hyped about the idea, it'd be cool if some
people talked more about the idea, i.e. what would they want in it.

--Carl--




Carl <[EMAIL PROTECTED]> wrote:
> 
> Soon I'll do it, I'm hyped about the idea, it'd be cool if some
> people talked more about the idea, i.e. what would they want in it.

Wishlist:  a djb replacement for Vixie cron.  Especially topical at the
moment.

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




* Charles Cazabon <[EMAIL PROTECTED]> writes:
> Carl <[EMAIL PROTECTED]> wrote:

>> Soon I'll do it, I'm hyped about the idea, it'd be cool if some
>> people talked more about the idea, i.e. what would they want in it.

> Wishlist: a djb replacement for Vixie cron.  Especially topical at the
> moment.

But it won't happen without DJB changing his distribution policy. 
man hier and his software don't match. This is particularly annoying if
you do cvsups and make world with sendmail, named etc. Oh well...




On Wed, Feb 21, 2001 at 12:13:36AM +0100, Robin S. Socha wrote:
> * Charles Cazabon <[EMAIL PROTECTED]> writes:
> > Carl <[EMAIL PROTECTED]> wrote:
> 
> >> Soon I'll do it, I'm hyped about the idea, it'd be cool if some
> >> people talked more about the idea, i.e. what would they want in it.
> 
> > Wishlist: a djb replacement for Vixie cron.  Especially topical at the
> > moment.
> 
> But it won't happen without DJB changing his distribution policy. 
> man hier and his software don't match. This is particularly annoying if
> you do cvsups and make world with sendmail, named etc. Oh well...

Robin, I've just posted modified makefiles for your favorite OS to avoid
this to misc@ ;-))

(it's OpenBSD, for the other readers)


-- 
Henning Brauer     | BS Web Services
Hostmaster BSWS    | Roedingsmarkt 14
[EMAIL PROTECTED] | 20459 Hamburg
http://www.bsws.de | Germany




> Carl <[EMAIL PROTECTED]> wrote:
> > 
> > Soon I'll do it, I'm hyped about the idea, it'd be cool if some
> > people talked more about the idea, i.e. what would they want in it.
> 
> Wishlist:  a djb replacement for Vixie cron.  Especially topical at the
> moment.
> 
> Charles


Same here.  I sent an off-list email to DJB just a few days ago asking if
he was contemplating such a project.

As far as the DJB-ification tool, what I do is just make a big shell
script that nukes the undesired software, and the does all the normal
un-tarring, configuring, compiling and configuration.  I have had good
luck, for the most part just putting all the actions listed in LWQ into a
shell script.  The only dificulty I can see would be OS or distribution
specific stuff, like where the qmail start file goes.

--Pete





On Tue, Feb 20, 2001 at 10:43:44PM -0500, Peter Cavender wrote:
> 
> Same here.  I sent an off-list email to DJB just a few days ago asking if
> he was contemplating such a project.
> 
> As far as the DJB-ification tool, what I do is just make a big shell
> script that nukes the undesired software, and the does all the normal
> un-tarring, configuring, compiling and configuration.  I have had good
> luck, for the most part just putting all the actions listed in LWQ into a
> shell script.  The only dificulty I can see would be OS or distribution
> specific stuff, like where the qmail start file goes.
> 

Yeah that's about what I had in mind, just making some sort of automated
installer/deinstaller, not actually a distribution of it.

--Carl--

PGP signature





Hi, somebody know how can I delete the outgoing messages tail ?

Thanks







Jasper McIntosh <[EMAIL PROTECTED]> wrote:

> Can I also confirm that Ezmlm doesn't do anything too weird with the qmail
> queue, and that I should still compile qmail with a really high conf-split of
> around 2500 (I read that the Linux FS's like it up there, but I guess that
> subject is more suited to another list:)  

A conf-split that high is pretty much pointless (and it should be prime,
regardless).

As a side note, I've read much to the contrary -- that because of the
efficiency with which Linux caches directory entries, qmail performs best
with a conf-split of 2 for an extremely busy server, and 1 (!) for a
smaller server or busy workstation.

Note this is anecdotal, but it seems reasonable.  Some day when I have
sufficient time, I'll do some real measurements.

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




I have tried going through the qmail archives and have not found this problem anywhere. If it is, please excuse me asking the same question again.

Problem.

Emails sent from outside servers are being recieved over, and over and over again.

Description

Email sent from outside to our inside qmail server keeps getting resent. The email is delivered to all the recipients but the far server nevers gets confirmation of this. Below is a line taken from an external servers log file.

Feb 1 17:40:15 mail1-lax-abov postfix/smtp[18939]: [ID 197553 mail.info] A23E546204: to=<[EMAIL PROTECTED]>, relay

=office.ants.com[64.210.23.51], delay=6760, status=deferred (conversation with office.ants.com[64.210.23.51] timed o

ut while sending end of data -- message may be sent more than once)

The external email server waits an appropriate period of time then attempts to resend the message and experiences the same problem.

This problem occurs with mail sent using mutiple external email servers, from mutiple users. The only common denominator I can find with these email is that all of their reply-to headers are set to internal email addresses.

Case1

User1 is at home and sends an e-mail through their private ISPs email server, with the reply to address set to [EMAIL PROTECTED]

Case2

Process running on an external server uses an external email server to send email, setting the reply-to header to [EMAIL PROTECTED]

Variations

We are not having problems with all the email sent this way. In both Case1 and Case2 we have had email sent to the exact same recipients from the exact same account, during the time between the mutiple email failures as described above, with no problems. I have even gone so far to have one user copy and paste the exact same message into a new message and resend it to the exact same users, and the message behaves appropiately.

Hase anyone experienced the above, if so what did you do to fix it, and barring that does anyone have any ideas what could be causing the problem? It just not seem to be consistant.

Thanks

Kep


  ants.com scout

Kep Brown
Systems, Network and Database Administrator
phone: (805) 560-3781
fax: (805) 560-3991

e: [EMAIL PROTECTED]


 




Hi,

     How to tell qmail only listen to one sigle interface.

for example,

    eth0="203.122.222.222"
    eth0:0="203.122.222.223"

How to tell qmail to use eth0 only for incoming and outgoing connections ??

Thank You

Mark





On Wed, Feb 21, 2001 at 03:48:54AM +0800, Mark Lo wrote:
> Hi,
> 
>      How to tell qmail only listen to one sigle interface.
> 
> for example,
> 
>     eth0="203.122.222.222"
>     eth0:0="203.122.222.223"
> 
> How to tell qmail to use eth0 only for incoming and outgoing connections ??

incoming: man tcpserver
outgoing: AFAIK impossible without patching qmail-remote.c

-- 
Henning Brauer     | BS Web Services
Hostmaster BSWS    | Roedingsmarkt 14
[EMAIL PROTECTED] | 20459 Hamburg
http://www.bsws.de | Germany




Hi, all,
 
I install Qmail in /var/qmail directory, under Linux environ. I encount
 
a qmail SMTP problems, is there anybody help me to resolve my problems.
 
I searched all related doc in www.qmail.org, no result to be reached.
 
thanks in advance.
 
WHAT I CAN DO
I can telnet to my pop3 and smtp server by 25 or 110 port, and can
 
sucessfully send and receive may using SMTP or POP3 instructions.
I can send and receive mail using Sqwebmail successfully.
I can fetch my mail successfully using Outlook, which account's smtp
 
and pop3 server is my qmail server.
 
PROBLEM: But I cannot send mail from remote host to my qmail server,
 
either by Webmail style or mail clients such as Outlook. i.e. from
 
[EMAIL PROTECTED] (remote account) to [EMAIL PROTECTED] (Qmail
 
server's account), the smtp server is smtp.kali.com.cn. the mail cannot
 
 
MY QMAIL SMTP SETTING is as follow:
env - PATH="/var/qmail/bin:/usr/local/bin" \
tcpserver -H -R -l 0 -g 500 -u 503 -t 120 -c 50 -x /etc/tcp.smtp.cdb 0
 
smtp \
/var/qmail/bin/qmail-smtpd 2>&1 | /var/qmail/bin/splogger smtpd 3 &
 
MY /etc/tcp.smtp SETTING (after it I convert to /etc/tcp.smtp.cdb using
 
tcprules) is as follows:
127.0.0.:allow,REALYCLIENT=""
192.168.0.:allow,RELAYCLIENT=""
192.168.1.:allow,RELAYCLIENT=""
:allow,RELAYCLIENT=""
 
LOG VIEW:
no log message appears in /var/log/maillog
 
TROUBLE SNAPSHOT:
when I send a mail from [EMAIL PROTECTED] to [EMAIL PROTECTED] (by
 
outlook,SMTP server
is smtp.kali.com.cn; and also by it's webmail style), the return
 
messages is as follows:
Hi. This is the mail program at mail1.kali.com.cn.
I'm afraid I wasn't able to deliver your message to the following
 
addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
 
Connected to 216.38.174.101 but connection died. (#4.4.2)
I'm not going to try again; this message has been in the queue too
 
long.
/202.106.187.150 does not like recipient.
Remote host said: 445 ·þÎñÆ÷¾Ü¾ø - server rejected (#4.4.4)
Giving up on 202.106.187.150.
I'm not going to try again; this message has been in the queue too
 
long.
/Cann't establish an SMTP connection.
I'm not going to try again; this message has been in the queue too
 
long.
/Cann't establish an SMTP connection.
I'm not going to try again; this message has been in the queue too
 
long.
/Connected to 216.38.174.101 but sender was rejected.
Remote host said: 550 You are blocked as a spamming host.
/202.109.72.194 does not like recipient.
Remote host said: 553 unknown user
Giving up on 202.109.72.194.
/216.136.129.12 failed after I sent the message.
Remote host said: 554 delivery error: dd This user doesn't have a
 
yahoo.com account ([EMAIL PROTECTED]) - mta549.mail.yahoo.com
/209.54.94.5 does not like recipient.
Remote host......
 
--- Below this line is a copy of the message.
 
Received: (mail 347 invoked by uid 0); 20 Feb 2001 15:57:08 -0000
Received: from unknown (HELO linux3) (61.129.64.93)
  by mail1.kali.com.cn with SMTP; 20 Feb 2001 15:57:08 -0000
Message-ID: <017601c09b55$c4e34cd0$[EMAIL PROTECTED]>
From: "kali" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: asdfasdfasdf
Date: Tue, 20 Feb 2001 23:57:04 +0800
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0173_01C09B98.D2E34D60"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
 

--- End of message stripped.
 
George Wang
pls cc also to: [EMAIL PROTECTED]
              or [EMAIL PROTECTED]




> MY /etc/tcp.smtp SETTING (after it I convert
> to /etc/tcp.smtp.cdb using tcprules) is as follows:
> 127.0.0.:allow,REALYCLIENT=""
> 192.168.0.:allow,RELAYCLIENT=""
> 192.168.1.:allow,RELAYCLIENT=""
> :allow,RELAYCLIENT=""

I suspect this is your problem, and if it isn't, it will be.  That last line
is bad, really bad; it's telling your qmail server to accept messages from
anywhere, destined for anywhere, making you an open relay.  Change the last
line to read

:allow

and you'll be better off.  Don't forget to recompile the cdb.

---Kris Kelley








For a couple of weeks now qmail has been keeping messages in the queue about
one to one and a half hours after the message is sent.  So everyone is
complaining that they don't receive their mail right away.

Didn't have any probs before this (except for people incompletely stop and
restart qmail wrong then it wouldn't send messages)
Any suggestions?

qmail version 1.03


Thanks,
Karen Cutrer
Central Texas Communications





Karen <[EMAIL PROTECTED]> wrote:
> 
> For a couple of weeks now qmail has been keeping messages in the queue about
> one to one and a half hours after the message is sent.  So everyone is
> complaining that they don't receive their mail right away.

The permissions on "trigger" are probably wrong.  Check on www.qmail.org, or in 
"Life with qmail", or a qmail FAQ for the solution.

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




thanks for the reply but i did a "make check" in src directory and nothing
complained.
Here is my trigger:

drwxr-x---   2 qmailq   qmail        1024 Dec 16  1999 .
drwxr-x---  11 qmailq   qmail        1024 Dec 16  1999 ..
-rw-------   1 qmails   qmail           0 Jan 12  2000 sendmutex
-rw-r--r--   1 qmailr   qmail        1024 Feb 20 15:15 tcpto
prw--w--w-   1 qmails   qmail           0 Feb 20 15:16 trigger


My mail queue is filling up to enormous amounts of filez too.  they are
preprocessed.

(centex):[/root]#>qmail-qstat
messages in queue: 18045
messages in queue but not yet preprocessed: 0
(centex):[/root]#>

LINUX slackware
kernel 2.2.13 on ASA

Linux version 2.2.13 (root@s2) (gcc version 2.7.2.3)
Detected 497440483 Hz processor.
Memory: 516972k/524224k available (1252k kernel code, 416k reserved, 5540k
data, 44k init)
VFS: Diskquotas version dquot_6.4.0 initialized
Pentium-III serial number disabled.
CPU: Intel Pentium III (Katmai) stepping 02

Thanks,
Karen



-----Original Message-----
From: Charles Cazabon [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 20, 2001 2:55 PM
To: [EMAIL PROTECTED]
Subject: Re: queue keeping messages


Karen <[EMAIL PROTECTED]> wrote:
>
> For a couple of weeks now qmail has been keeping messages in the queue
about
> one to one and a half hours after the message is sent.  So everyone is
> complaining that they don't receive their mail right away.

The permissions on "trigger" are probably wrong.  Check on www.qmail.org, or
in
"Life with qmail", or a qmail FAQ for the solution.

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







-----Original Message-----
From: Karen Cutrer [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 20, 2001 3:56 PM
To: Jeremy Anttila
Subject: RE: queue keeping messages



This is wierd.  I cannot get test messages sent from the internet to
[EMAIL PROTECTED]

yet i got your message right away and in my [EMAIL PROTECTED] mailbox

Also,  I seem to be able to send to the internet ok.

LINUX slackware
kernel 2.2.13 on ASA

Linux version 2.2.13 (root@s2) (gcc version 2.7.2.3)
Detected 497440483 Hz processor.
Memory: 516972k/524224k available (1252k kernel code, 416k reserved, 5540k
data, 44k init)
VFS: Diskquotas version dquot_6.4.0 initialized
Pentium-III serial number disabled.
CPU: Intel Pentium III (Katmai) stepping 02


Here is my trigger:

drwxr-x---   2 qmailq   qmail        1024 Dec 16  1999 .
drwxr-x---  11 qmailq   qmail        1024 Dec 16  1999 ..
-rw-------   1 qmails   qmail           0 Jan 12  2000 sendmutex
-rw-r--r--   1 qmailr   qmail        1024 Feb 20 15:15 tcpto
prw--w--w-   1 qmails   qmail           0 Feb 20 15:16 trigger



 mail queue is filling up to enormous amounts of
filez too. and they are preprocessed.

(centex):[/root]#>qmail-qstat
messages in queue: 18045
messages in queue but not yet preprocessed: 0
(centex):[/root]#>














On Tue, 20 Feb 2001, Jeremy Anttila wrote:

> what is your os and setup that you are using ?
>
>
> -----Original Message-----
> From: Karen [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 20, 2001 2:32 PM
> To: [EMAIL PROTECTED]
> Subject: queue keeping messages
>
>
>
> For a couple of weeks now qmail has been keeping messages in the queue
about
> one to one and a half hours after the message is sent.  So everyone is
> complaining that they don't receive their mail right away.
>
> Didn't have any probs before this (except for people incompletely stop and
> restart qmail wrong then it wouldn't send messages)
> Any suggestions?
>
> qmail version 1.03
>
>
> Thanks,
> Karen Cutrer
> Central Texas Communications
>
>
>






<[EMAIL PROTECTED]> wrote:

>1) How do I prevent qmail from trying to deliver locally on the qmail
>server?

Leave control/locals empty.

>2) How can I correctly set-up the group redirects in a way that will
>eliminate (if not reduce) duplication due to an error sending to one
>address in the group?

List the members in the appropriate ~alias/.qmail-* file.

>3) What would be a good way of redirecting local names to the appropriate
>email address for the local messages from our Sun servers (ie: bobs ->
>[EMAIL PROTECTED]): individual /var/qmail/alias files, or some other
>method?

.qmail files in ~alias.

-Dave




[EMAIL PROTECTED] wrote:

>I have a problem with messages staying in the queue. I was running some
>tests that
>relayed 7,000 messages through one qmail server (n201) to another qmail
>server (saturn) which processed the messages locally. All on a local
>network.
>
>[root@n201 bin]# ./qmail-qstat
>messages in queue: 252
>messages in queue but not yet preprocessed: 0
>
>But there are no qmail connection from n201 to saturn.

Probably because the messages in the queue failed to go through on
their first attempt, and qmail-send is waiting for their retry time to
roll around. You wouldn't want it to retry undeliverables as fast as
it could. That would bog the machine down.

What Do The Logs Say? (tm)

-Dave




kat <[EMAIL PROTECTED]> wrote:

>I want to automate the whole thing i.e.
>when a user send mail from KDEmail, netscape or any email client, it
>should queue the mails in a directory [i.e the user should feel that
>mail is delivered] and when I connect to net it should send
>the mails to the specified addresses. In short, my home PC should act
>as a small server. How is that possible? I have already d/l serialmail
>and other addon packages.Please be specific because I have not yet
>understood qmail fully yet.

In control/virtualdomains:

  :alias-catchall

In /var/qmail/alias/.qmail-catchall:

  ./Outgoing/

Create the maildir:

  /var/qmail/bin/maildirmake /var/qmail/alias/Outgoing
  chown -R alias /var/qmail/alias/Outgoing

Add a maildirsmtp invocation to your "ip-up" script to process the
Outgoing messages.

-Dave




mick <[EMAIL PROTECTED]> wrote:

>Should I add: 
>  | /var/qmail/bin/splogger pop3 3 &
>
>On Sat, 17 Feb 2001, Peter van Dijk wrote:
>
>> On Sat, Feb 17, 2001 at 04:02:58PM +0000, mick wrote:
>> > grep for pop3 on mail.log and daemon.log for pop3 (digital unix) returns
>> > nothing.
>> > this is how it is called:
>> > 
>> > /usr/local/bin/tcpserver 0 pop3 /var/qmail/bin/qmail-popup
>> >   my.domain.com /
>> >     bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &
>> 
>> This startup doesn't specify any logging.

I recommend multilog over splogger because syslog is inefficient,
insecure, and unreliable.

-Dave




I'm fairly new at this, last week was the first time I had ever comfit's qmail. but it 
was working fine for a while, now we are
unable to receive any messages from remote hosts. Local mail works fine, and even 
sending mail to a remote host has no problems,
it;s receiving mail which is a problem. My first thought was that it was a dns err but 
I checked the mx record and it's accurate as
far as I know:

pbgnw.com. IN MX 10 mail.pbgnw.com.; EXTREF

where can I look to figure out what's wrong? I followed law nearly exactly although 
I'm using splogger and procmail.
is there more info you need?






> ...now we are unable to receive any messages from remote hosts.

You mentioned local mail works fine.  Does that mean email sent from one
local user logged in directly to the machine to another local user works
fine?  If so, then the problem may be that something's not listening for
remote SMTP connections.  Try a telnet connection to port 25 and see what
you see.

If you're certain that something is listening (be it tcpserver or inetd or
the like), and that it's properly calling qmail-smtpd, then What Do the Logs
Say?

---Kris Kelley






On Tue, Feb 20, 2001 at 01:26:27PM -0800, Webmaster wrote:
> I'm fairly new at this, last week was the first time I had ever comfit's qmail. but 
>it was working fine for a while, now we are
> unable to receive any messages from remote hosts. Local mail works fine, and even 
>sending mail to a remote host has no problems,
> it;s receiving mail which is a problem. My first thought was that it was a dns err 
>but I checked the mx record and it's accurate as
> far as I know:
> 
> pbgnw.com. IN MX 10 mail.pbgnw.com.; EXTREF

Thats not what dns gives out. Your MX points to 216.157.10.110.
Two errors
a) MX must always point to hostnames, not IPs
b) there is nothing responding on port 25 on this machine

> where can I look to figure out what's wrong? I followed law nearly exactly although 
>I'm using splogger and procmail.
> is there more info you need?
> 
> 
> 

-- 
Henning Brauer     | BS Web Services
Hostmaster BSWS    | Roedingsmarkt 14
[EMAIL PROTECTED] | 20459 Hamburg
http://www.bsws.de | Germany




thx for kick in the rear, i'm not sure why i didn't realize that before
i figured it out quickly now though:

[root@pbgnw log]# dig mx pbgnw.com

; <<>> DiG 8.2 <<>> mx pbgnw.com
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUERY SECTION:
;;      pbgnw.com, type = MX, class = IN

;; ANSWER SECTION:
pbgnw.com.              12H IN MX       10 216.157.10.110.

;; AUTHORITY SECTION:
pbgnw.com.              12H IN NS       ns1.granitecanyon.com.
pbgnw.com.              12H IN NS       ns2.granitecanyon.com.

;; ADDITIONAL SECTION:
ns1.granitecanyon.com.  1D IN A         205.166.226.38
ns2.granitecanyon.com.  1D IN A         204.1.217.148

;; Total query time: 181 msec
;; FROM: pbgnw.com to SERVER: default -- 209.213.96.2
;; WHEN: Tue Feb 20 17:21:13 2001
;; MSG SIZE  sent: 27  rcvd: 139

[root@pbgnw log]#

thx again.
----- Original Message -----
From: "Henning Brauer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 20, 2001 2:09 PM
Subject: Re: unable to recieve remote mail


> On Tue, Feb 20, 2001 at 01:26:27PM -0800, Webmaster wrote:
> > I'm fairly new at this, last week was the first time I had ever comfit's qmail. 
>but it was working fine for a while, now we are
> > unable to receive any messages from remote hosts. Local mail works fine, and even 
>sending mail to a remote host has no problems,
> > it;s receiving mail which is a problem. My first thought was that it was a dns err 
>but I checked the mx record and it's accurate
as
> > far as I know:
> >
> > pbgnw.com. IN MX 10 mail.pbgnw.com.; EXTREF
>
> Thats not what dns gives out. Your MX points to 216.157.10.110.
> Two errors
> a) MX must always point to hostnames, not IPs
> b) there is nothing responding on port 25 on this machine
>
> > where can I look to figure out what's wrong? I followed law nearly exactly 
>although I'm using splogger and procmail.
> > is there more info you need?
> >
> >
> >
>
> --
> Henning Brauer     | BS Web Services
> Hostmaster BSWS    | Roedingsmarkt 14
> [EMAIL PROTECTED] | 20459 Hamburg
> http://www.bsws.de | Germany
>





> Well that's part of my problem, I'm not sure how to interpret the logs
fully.

They're fairly intuitive once you've stared at them for a bit.  Much easier
to read than sendmail's.


> Feb 12 03:33:49 pbgnw qmail: 981966829.691748 new msg 30135
> Feb 12 03:33:49 pbgnw qmail: 981966829.691874 info msg 30135: bytes 1688
from <[EMAIL PROTECTED]> qp 28956 uid 504
> Feb 12 03:33:49 pbgnw qmail: 981966829.695257 starting delivery 19: msg
30135 to local [EMAIL PROTECTED]
> Feb 12 03:33:49 pbgnw qmail: 981966829.695360 status: local 1/10 remote
0/20
> Feb 12 03:33:49 pbgnw qmail: 981966829.702067 delivery 19: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
> Feb 12 03:33:49 pbgnw qmail: 981966829.702180 status: local 0/10 remote
0/20
> Feb 12 03:33:49 pbgnw qmail: 981966829.707803 bounce msg 30135 qp 29012
> Feb 12 03:33:49 pbgnw qmail: 981966829.708357 end msg 30135

> so is it telling me that there is no mail box named scottb?

Yes.  This snippet of the logs is telling you that message #30135 came from
[EMAIL PROTECTED]  Qmail then tried to deliver this message as delivery
#19 to local user [EMAIL PROTECTED]  Delivery #19 failed with the reason
given, therefore, message #30135 was bounced back to the sender.

> the strange thing if that is the case is that I sent the msg to
> [EMAIL PROTECTED] from [EMAIL PROTECTED], not to [EMAIL PROTECTED]

Have you been playing with aliases at all?  That's the only reason I can
think of why webmaster would morph into scottb on an otherwise sane qmail
system.

By the way, it's beneficial to you and others to keep these discussions on
the qmail list.  Somebody with more experience is bound to have better
answers than me, plus future qmail users with these problems can then search
the archives and (hopefully) not have to ask the same questions again.

---Kris Kelley





Webmaster <[EMAIL PROTECTED]> wrote:
> 
> pbgnw.com. IN MX 10 mail.pbgnw.com.; EXTREF

It's still not fixed.  mail.pbgnw.com is a CNAME; MX must point at an A
record, not a CNAME.

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




Since I have recieved no other suggestions on my prevous mail, I have
altered the badrcptto patch to support the behavour described before (do not
apply badrcptto rules if RELAYCLIENT is set).

If anyone is interested, the patch can be found at
http://212.179.48.82/badrcptto/

>  -----Original Message-----
> From:         Alex Kramarov  
> Sent: Tuesday, February 20, 2001 6:15 PM
> To:   '[EMAIL PROTECTED]'
> Subject:      badrcptto 
> 
> I just had a virus sent to a distribution list, that is supposed to be for
> my organisation internal use only and includes all of my server
> recipients. The list is based on .qmail with all recipients names. I was
> thinking to block people from sending to his list, read a little
> ezmlm-idx, but couldn't find a satisfactory solution with it. 
> 
> I recieve mail only through SMTP, so I was thinking :
> basically I need to allow sending to this list only from MY users, and
> because I know MY users by RELAYCLIENT, the easyest way seems to put the
> list name in badrcptto and edit the badrcptto patch to do the checking
> only is RELAYCLIENT not set.
> 
> Anyone can think of a better way ?





Hello
I'm having problems with sending mails which require a receiver to
acknowledge reception of a mail (I guess it's called receipt in
Microsoft talk). I'm sending these mails thru my qmail server, and it
returns them to me with an error.

Is there a switch somewhere in qmail to enable this ?

Cheers,
-- 
Lukasz Felsztukier

 : :   d i g i t a l  O n e  : :  interactive media house
 : :   http://www.digitalone.pl
 : :   Al. Kosciuszki 1, 90-418 Lodz, Poland
 : :   tel./fax  [+48 42] 632.89.74




Hi-

I volunteered to talk about and "defend" qmail at a Linux Users' Group
meeting where there will be people speaking on 3 or 4 of the main MTAs.

I am competent in setting up and maintaining qmail, but I must say that I
am unable to respond properly to a lot of the criticism of qmail, mostly
in comparison to sendmail (which I have never administered).

I would appreciate any and all rebuffings of qmail myths, relevant
anecdotes, or theoretical analysis that would aid in my presentation.

Off-list responses are welcome, to avoid list clutter.

Thanks,

--Pete






Peter,
     One rather trivial complaint I've heard quite a few times is "Oh, yeah,
install qmail if you want to add 100 system accounts to run it".  What many
don't realize is this is one major reason why qmail is so secure - by using
multiple users in executing the various parts, it only requires that each
portion of qmail only have enough rights to access the information relevant
to that job.  Along the same lines is the fact that qmail IS broken up into
separate services for each function, rather than a single process handling a
wide variety of tasks.

Kyle

--
Kyle Knack
Server Engineer - SkyNetWEB/Affinity Internet
System Administrator - Only-Linux.Com
[EMAIL PROTECTED]
http://www.skynetweb.com
----- Original Message -----
From: Peter Cavender <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 20, 2001 11:22 PM
Subject: Need Arguments for qmail


> Hi-
>
> I volunteered to talk about and "defend" qmail at a Linux Users' Group
> meeting where there will be people speaking on 3 or 4 of the main MTAs.
>
> I am competent in setting up and maintaining qmail, but I must say that I
> am unable to respond properly to a lot of the criticism of qmail, mostly
> in comparison to sendmail (which I have never administered).
>
> I would appreciate any and all rebuffings of qmail myths, relevant
> anecdotes, or theoretical analysis that would aid in my presentation.
>
> Off-list responses are welcome, to avoid list clutter.
>
> Thanks,
>
> --Pete
>
>
>






 Recently switching from sendmail to qmail I have observed the difference in
 architecture between the two.  The modularization of qmail appeals to me
 in both simplicity and elegance, and it's superiority was evident in my
 smtp benchmarking between the two MTAs.  The only thing I miss from an admin
 standpoint is the readability of sendmail's logs vs. qmail/multilog.
 
 While I fully understand the justification of qmail's logging structure
 because of it's modularization, I am still left somewhat longing for a 
 more readable logfile.  Possibly over time I will develop a
 better skill for reading these logs, but for now that's my only concern
 since switching.  There may be tools to aid in this, however out of
 the box this doesnt seem to be the cause.
 
 Just my thoughts since running qmail for about a week.
 
 -Jason
> 
> > to that job.  Along the same lines is the fact that qmail IS broken up into
> > separate services for each function, rather than a single process handling a
> > wide variety of tasks.
> > 
> > Kyle




Jason Radford wrote:
> 
>  Recently switching from sendmail to qmail I have observed the difference in
>  architecture between the two.  The modularization of qmail appeals to me
>  in both simplicity and elegance, and it's superiority was evident in my
>  smtp benchmarking between the two MTAs.  The only thing I miss from an admin
>  standpoint is the readability of sendmail's logs vs. qmail/multilog.
> 
>  While I fully understand the justification of qmail's logging structure
>  because of it's modularization, I am still left somewhat longing for a
>  more readable logfile.  Possibly over time I will develop a
>  better skill for reading these logs, but for now that's my only concern
>  since switching.  There may be tools to aid in this, however out of
>  the box this doesnt seem to be the cause.
> 

Hi,
 One thing that makes the logfile a bit easier to read is to change the
time to human readable format like this:

tail -f /var/log/qmail/current | tai64nlocal

or this

cat /var/log/qmail/current | tai64nlocal | less

If you've installed the daemontools? package, then you should have
tai64nlocal in /usr/local/bin. It would be nice to have a script that
you could look at log files with, that would put the delivery in
subsequent lines and strip out some of the garbage. That shouldn't be
too hard to write for a good perl coder...

Regards,
Mike




* Mike Jackson <[EMAIL PROTECTED]> [010221 03:19]:

> cat /var/log/qmail/current | tai64nlocal | less

http://www.ling.helsinki.fi/~reriksso/unix/award.html




At 03:47 AM 21-02-2001 -0500, Robin S. Socha wrote:
>* Mike Jackson <[EMAIL PROTECTED]> [010221 03:19]:
>
>> cat /var/log/qmail/current | tai64nlocal | less
>
>http://www.ling.helsinki.fi/~reriksso/unix/award.html

Off topic but I still prefer using cat even for single files because a typo
has less severe effects. So do I get a lifetime award ;)?

Cheerio,
Link.





Hi,
I am having a tough time migrating to qmail. I  have applied the concurrency
patch and set the concurrency limit to 250. Inspite of that I do not see the
qmail-lspawn forking more than 2 or 3 processes at any given point of time.
What could be the problem? My local queue is currently at 80000.
Due to this my users are unable to get mails. However they are able to send out
mails fine.
 
However remote deliveries seem to be going fine and I can see multiple
qmail-remote being forked.
 
Regards Manny




hello all...

updating qmail to use svscan / daemontools-0.70 and ucspi-tcp-0.88.

with the line:

/usr/local/bin/tcpserver -q -ladmin.f-tech.net -xtcp.cdb -- 0 25
/var/qmail/bin/qmail-smtpd

running I still get tcpserver messages to the console.  the -q should shut
tcpserver up shouldn't it????  

Also, the multilog part of the qmail-smtpd dosen't seem to fire off... no
errors, but also no supervise multilog.

Running kernel 2.4.1 on a RH 6.2.

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





Thus said Paul Farber on Wed, 21 Feb 2001 00:28:56 EST:

> /usr/local/bin/tcpserver -q -ladmin.f-tech.net -xtcp.cdb -- 0 25
> /var/qmail/bin/qmail-smtpd

I think you need a 2>&1 at the end of that line (and that line should 
be all on one line).

> Also, the multilog part of the qmail-smtpd dosen't seem to fire off... no
> errors, but also no supervise multilog.

Did you set the sticky bit on the supervised directory?  For example,
/var/qmail/supervise/send should have the sticky bit and then it will 
launch a supervise process for /var/qmail/supervise/send/log.

Andy
-- 
[-----------[system uptime]--------------------------------------------]
 10:36pm  up 6 days, 22:38,  7 users,  load average: 1.03, 1.13, 1.16






hi, I'm using djb fast-forward to do the virtual domain emailling system, but I noticed that in he mail header, I'll get the
 
Delivered-To: alias-<user_name>@virtual1.com, then finally Delivered-To: <user_name>@real_host_domain.com
 
is it anyway to hide the Delivered-To: alias-<user_name>@virtual1.com ?
 
thanks
ckh  :)




Hello all (again)

this is coming up on the console after setting up daemontools .70
(svscan):

starting delivery 47: msg 224960 to local [EMAIL PROTECTED]
status: local 1/10 remote 0/20
delivery 47: success: did_1+0+0/
status: local 0/10 remote 0/20
end msg 224960
new msg 224960
info msg 224960: bytes 6927 from <[EMAIL PROTECTED]> qp
1004
uid 0
starting delivery 48: msg 224960 to local [EMAIL PROTECTED]
status: local 1/10 remote 0/20
delivery 48: success: did_1+0+0/
status: local 0/10 remote 0/20
end msg 224960


ps awxx gives me:

  519 ?        S      0:00 supervise qmail-smtpd
  520 ?        S      0:00 supervise log
  522 ?        S      0:00 multilog t ./main
  523 ?        S      0:00 qmail-send
  524 ?        S      0:00 qmail-lspawn ./Maildir/
  525 ?        S      0:00 qmail-rspawn
  526 ?        S      0:00 qmail-clean
  527 tty2     S      0:00 -bash
  586 tty3     S      0:00 -bash
  971 ?        S      0:00 /usr/local/bin/tcpserver -qDHR
-ladmin.f-tech.net -xtcp.cdb -- 0 25 /var/qmail/bin/qmail-smtpd

so it seems that qmail-smtpd is barfing messages instead of logging
them.... log/mail/currnet is chock full of tcpserver messages... how do I
get qmail-smtpd to play nice??

Thanks! 


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





Is it safe to assign more than a hundred virtual domains to only one qmail user? Can 
it handle hundreds or even thousands of messages that may arrive all at once for 
hundreds of accounts of each virtual domain?



Get your small business started at Lycos Small Business at 
http://www.lycos.com/business/mail.html




(Please wrap your lines at 72 characters)

On Wed, Feb 21, 2001 at 02:34:17PM +0800, Winifred Sanchez wrote:
> Is it safe to assign more than a hundred virtual domains to only one qmail user? 

Yes.

> Can it handle hundreds or even thousands of messages that may arrive all at once for 
>hundreds of accounts of each virtual domain?

Yes, provided that any programs you have running in the appropriate
dot-qmail files are up to the task.




Someone wrote:

> Wishlist:  a djb replacement for Vixie cron.

Posit: he already has.

user@hypothetical$ cat /service/logrotate/run
#!/bin/sh

<logrotation commands>
exec /bin/sleep 86400

Granted, this is not cron in the traditional UNIX
let-every-user-schedule-arbitrary-tasks mentality, but I suspect this
could well replace cron for every relevant sysadminly task, and who on
a serious multi-user machine lets arbitrary users utilize cron anyway? :)
What's really needed in this instance is a program that, given an
execution schedule on the command line, figures out how long until the
next scheduled execution, and sleeps that long (sleepuntil).

Potential problem: clock shift (NTP resync, DST transitions) could confuse
it. Maybe it has to wake up (SIGALRM) periodically and recheck the time
until execution. Could get ugly.

Actual problem: The sleepuntil utility needs to run *first* in the ./run
script, otherwise when your machine starts, every scheduled program would
run once instantly, which is almost certainly not what you want. Oops.

Running cron-style services out of supervise has the additional advantage
of being able to stop the execution of the job via the standard daemontools
utilities, and having much firmer control over the environment that the
jobs run in, unlike modern cron.

--michael




Michael Handler <[EMAIL PROTECTED]> writes:
> Someone wrote:
> 
> > Wishlist:  a djb replacement for Vixie cron.
> 
> Posit: he already has.
> 
> user@hypothetical$ cat /service/logrotate/run
> #!/bin/sh
> 
> <logrotation commands>
> exec /bin/sleep 86400

Nothing hypothetical about it.  I have been running a couple of
frequently used services like that for about a year.

  $ cat /var/service/adm-exec/run
  #!/bin/sh
  
  /usr/local/admdb/adm-exec 2>&1
  exec sleep 300

It's not a replacement for cron jobs that need to run at a specified
time of day, but I find it handy for jobs that need to run regularly
and reliably.

-- 
Frank Cringle,      [EMAIL PROTECTED]
voice: (+49 7745) 928759; fax: 928761





Hi all,

We just bought one fax machine (Brothers MFC8600).
By default users just can send fax by send email to this fax machine.
Email address for the fax machine is [EMAIL PROTECTED]
But the format to fax is to send email to fax@mycompany(fax#1234567) (This
format worked with MS Exchange server)
So the fax machine will fax the email to the fax no. which is 1234567
So the problem is our mail server (qmail of course) cannot recognize this
kind of format.
If I send an email using that format, I'll get an error message
failure:
Sorry,_I_couldn't_find_any_host_named_mycompany(fax#1234567)._(#5.1.2)/
Anybody has an idea to solve this?
TQ in advance.






Hi all,

I have installed qmail and dotforward on a Solaris8. Works fine
except for one user. He uses Mailbox delivery and his home is 
mounted via NFS (not a good thing, I know). His .forward contains 
two lines:

phoenix
[EMAIL PROTECTED]

The remote delivery works, but the qmail-local process goes defunct
after a few seconds of doing nothing. I can kill -9 it, which gives
the following log entry:

Feb 21 10:55:09 nathan qmail: 982749309.636515 delivery 69: deferral:
dot-forward:_info:_qp_7730/File_has_been_locked_for_30_seconds_straight._(#4.3.0)/

I have checked quotas, permissons on Mailbox, .forward and
tried delivery to another user with the same setup, which worked
fine. 

Any ideas? 

tia,

-- 
Oliver Koch                                  Systems Administrator
Computational Mathematics & Optimization     Institute of Analysis
Johannes Kepler University Linz                            Austria
[EMAIL PROTECTED]                Tel. +43 70 2468 9166


Reply via email to