qmail Digest 1 Sep 1999 10:00:00 -0000 Issue 746

Topics (messages 29640 through 29692):

control/databytes meaning
        29640 by: [EMAIL PROTECTED]
        29642 by: Vince Vielhaber <[EMAIL PROTECTED]>
        29647 by: [EMAIL PROTECTED]
        29649 by: Vince Vielhaber <[EMAIL PROTECTED]>
        29653 by: "Fred Lindberg" <[EMAIL PROTECTED]>
        29654 by: Dave Sill <[EMAIL PROTECTED]>

smart mail processing
        29641 by: "Alex V. Toropov" <[EMAIL PROTECTED]>
        29645 by: Tomasz Papszun <[EMAIL PROTECTED]>

I really need help!!!
        29643 by: "Ari Arantes Filho" <[EMAIL PROTECTED]>
        29646 by: [EMAIL PROTECTED] (Lorens Kockum)
        29677 by: Mirko Zeibig <[EMAIL PROTECTED]>

Compile Problem
        29644 by: Marcin Jaskowiak <[EMAIL PROTECTED]>
        29652 by: Dave Sill <[EMAIL PROTECTED]>

Qmail Null??
        29648 by: [EMAIL PROTECTED]

tcpserver and rejection logging .
        29650 by: Dave Sill <[EMAIL PROTECTED]>
        29659 by: "Soffen, Matthew" <[EMAIL PROTECTED]>
        29661 by: Dave Sill <[EMAIL PROTECTED]>
        29663 by: "Soffen, Matthew" <[EMAIL PROTECTED]>
        29665 by: Dave Sill <[EMAIL PROTECTED]>

bogus DNS domain
        29651 by: Dave Sill <[EMAIL PROTECTED]>

rblsmtp and more than 1 domain?
        29655 by: Mate Wierdl <[EMAIL PROTECTED]>

Serialmail and ETRN
        29656 by: Andy Walden <[EMAIL PROTECTED]>
        29657 by: Dimitri SZAJMAN <[EMAIL PROTECTED]>
        29658 by: Andy Walden <[EMAIL PROTECTED]>
        29660 by: Dimitri SZAJMAN <[EMAIL PROTECTED]>

cyclog
        29662 by: "Ari Arantes Filho" <[EMAIL PROTECTED]>
        29664 by: "Timothy L. Mayo" <[EMAIL PROTECTED]>

Maildir usage
        29666 by: "Leon Vismer" <[EMAIL PROTECTED]>

How to truncate the mailer-daemo failure notice?
        29667 by: "David Dyer-Bennet" <[EMAIL PROTECTED]>

setuser - life with qmail
        29668 by: "Ari Arantes Filho" <[EMAIL PROTECTED]>
        29669 by: Russell Nelson <[EMAIL PROTECTED]>
        29670 by: Dave Sill <[EMAIL PROTECTED]>

Port 25 is not responding using tcpserver
        29671 by: "Ari Arantes Filho" <[EMAIL PROTECTED]>
        29672 by: "Ari Arantes Filho" <[EMAIL PROTECTED]>
        29673 by: Brad Shelton <[EMAIL PROTECTED]>
        29674 by: "Ari Arantes Filho" <[EMAIL PROTECTED]>
        29675 by: Brad Shelton <[EMAIL PROTECTED]>
        29676 by: "Fred Lindberg" <[EMAIL PROTECTED]>
        29678 by: "Ari Arantes Filho" <[EMAIL PROTECTED]>

Long waiting SMTP
        29679 by: "Martin Paulucci" <[EMAIL PROTECTED]>

Absolutely no bouncing...
        29680 by: Jaye Mathisen <[EMAIL PROTECTED]>

Mail.com blacklisting
        29681 by: Justin Bell <[EMAIL PROTECTED]>
        29682 by: "Jay D. Dyson" <[EMAIL PROTECTED]>
        29683 by: Russell Nelson <[EMAIL PROTECTED]>
        29684 by: Russell Nelson <[EMAIL PROTECTED]>
        29685 by: "Jay D. Dyson" <[EMAIL PROTECTED]>
        29686 by: Russell Nelson <[EMAIL PROTECTED]>
        29687 by: Sam <[EMAIL PROTECTED]>
        29688 by: Russell Nelson <[EMAIL PROTECTED]>

User variable
        29689 by: Steve Vertigan <[EMAIL PROTECTED]>

inetd or tcpserver or xinetd?
        29690 by: Fred Backman <[EMAIL PROTECTED]>
        29692 by: Marco Leeflang <[EMAIL PROTECTED]>

stack execution?
        29691 by: Fred Backman <[EMAIL PROTECTED]>

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To bug my human owner, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


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


Hi qmailers,

I found a problem with the databytes check.

As it's explained in man pages, qmail-smtpd checks the message size 
AFTER writes it on disk. In addition to performance questions, this 
behaviour involves that CR+LF characters are changed by LF characters 
BEFORE the size check.

However other MTA's implement the size limit (as the ESMTP SIZE 
extension) checking the message size as transmitted through the 
network, i.e. with CR+LF sequence.

Since the difference between size meanings depends on each message's 
line number, it's very difficult to fit the qmail's size limit with 
others MTA's.

I read in previous posts that it's planned to include SIZE extension 
in qmail. I want to know when be available this extension or any 
workaround to use the network message size.

Thanks,
        David Jorrin.
= = =

David Jorrin <[EMAIL PROTECTED]>>

----------------------------------------------------------------
Get your free email from AltaVista at http://altavista.iname.com




On Tue, 31 Aug 1999 [EMAIL PROTECTED] wrote:

> Hi qmailers,
> 
> I found a problem with the databytes check.
> 
> As it's explained in man pages, qmail-smtpd checks the message size 
> AFTER writes it on disk. In addition to performance questions, this 
> behaviour involves that CR+LF characters are changed by LF characters 
> BEFORE the size check.

It doesn't say that.   It says it 'counts bytes AS stored on disk', not 
'counts bytes AFTER they're stored on disk'.  There's a difference.  A
quick look at the sources will confirm this.

Vince.
-- 
==========================================================================
Vince Vielhaber -- KA8CSH   email: [EMAIL PROTECTED]   flame-mail: /dev/null
       # include <std/disclaimers.h>                   TEAM-OS2
        Online Campground Directory    http://www.camping-usa.com
       Online Giftshop Superstore    http://www.cloudninegifts.com
==========================================================================







> 
> It doesn't say that.   It says it 'counts bytes AS stored on 
> disk', not 
> 'counts bytes AFTER they're stored on disk'.  There's a difference.  A
> quick look at the sources will confirm this.
> 

Vince, 

Thanks by your correction. 

However, I verified that the messages stored on disk (in queue/mess 
directory) don't include the CR+LF sequences but LF caracters. 
Moreover, the value recorded in qmail logs is exactly the data message 
size without the CR+LF number. 

Therefore the size used by qmail is different from the size used by 
ESMTP SIZE extension.

Even more, if the message size is counted during the transmission, I 
don't understand why is used the disk meaning.

        David Jorrin.

= = =

David Jorrin <[EMAIL PROTECTED]>>

----------------------------------------------------------------
Get your free email from AltaVista at http://altavista.iname.com




On Tue, 31 Aug 1999 [EMAIL PROTECTED] wrote:

> > 
> > It doesn't say that.   It says it 'counts bytes AS stored on 
> > disk', not 
> > 'counts bytes AFTER they're stored on disk'.  There's a difference.  A
> > quick look at the sources will confirm this.
> > 
> 
> Vince, 
> 
> Thanks by your correction. 
> 
> However, I verified that the messages stored on disk (in queue/mess 
> directory) don't include the CR+LF sequences but LF caracters. 
> Moreover, the value recorded in qmail logs is exactly the data message 
> size without the CR+LF number. 
> 
> Therefore the size used by qmail is different from the size used by 
> ESMTP SIZE extension.
> 
> Even more, if the message size is counted during the transmission, I 
> don't understand why is used the disk meaning.

The disk meaning is the message size without the headers.  The network
size is the size of the message with the headers (as I understand it).
I've never worried that much nor paid attention to the storage of LF
vs. CR/LF.  It's been my experience that Dan does the right thing.

Vince.
-- 
==========================================================================
Vince Vielhaber -- KA8CSH   email: [EMAIL PROTECTED]   flame-mail: /dev/null
       # include <std/disclaimers.h>                   TEAM-OS2
        Online Campground Directory    http://www.camping-usa.com
       Online Giftshop Superstore    http://www.cloudninegifts.com
==========================================================================







On Tue, 31 Aug 1999 07:30:23 -0400 (EDT), [EMAIL PROTECTED]
wrote:

>Moreover, the value recorded in qmail logs is exactly the data message 
>size without the CR+LF number. 

If this is important to you, modify qmail-send by subtracting 1 from
bytestooverflow (and check it as in put()) in blast() when you've
detected a \r\n, i.e. in:
 
     case 4: /* + \r */
        if (ch == '\n') { state = 1; /* here*/ break; }
 

-Sincerely, Fred

(Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)






[EMAIL PROTECTED] wrote:

>Since the difference between size meanings depends on each message's 
>line number, it's very difficult to fit the qmail's size limit with 
>others MTA's.

So what? who cares if your max message limit counts LF's and mine
counts CRLF's?

-Dave




Hi, all !

I have a problem with some "text only MUA", which is used on one of mail
accounts.
So I'd like to analyze all mail coming on said mailbox and if it contains
anything
else than plain/text, put into another mailbox, and send some "text
notification letter"
to problem account.

Haz anyone ideas, how can it be done on qmail MTA ?

TIA, Alex







On Tue, 31 Aug 1999 at 14:29:34 +0400, Alex V. Toropov wrote:
> 
> I have a problem with some "text only MUA", which is used on one of mail
> accounts.
> So I'd like to analyze all mail coming on said mailbox and if it contains
> anything
> else than plain/text, put into another mailbox, and send some "text
> notification letter"
> to problem account.
> 
> Haz anyone ideas, how can it be done on qmail MTA ?
> 

On Wed, 30 Jun 1999 there was a posting regarding filtering messages
containing non-text attachments. I did't try it myself but it may be
useful for you as a "starter".

Go to the qmail list archives at
http://www.ornl.gov/cts/archives/mailing-lists/qmail/ ,
select 1999, June... or use the search at
http://www-archive.ornl.gov:8000/ ,
"Limit the search to: qmail List",
"search for: All of these words" and as a search string type 
"Quick & dirty way to filter attachment".

Or mail me for a copy of that message. But finding it yourself may be
better as you can have a look at the discussion on the topic.

-- 
 Tomasz Papszun   SysAdm @ TP S.A. Lodz, Poland  | And it's only
 [EMAIL PROTECTED]   http://www.lodz.tpsa.pl/   | ones and zeros.




Hi,

    I've read live with qmail, The qmail newbie's guide to relaying
(http://www.palomine.net/qmail/relaying.html) and others documentations on
qmail.org, but I'm really lost.

    I need to install qmail on a webhosting environment, where POP and SMTP
users comes from various ISP. I don't think a good ideia to use opem-stmp3
(from newbie's guide), because 90% of the users use outlook express and the
documentation tells I will have problem to send messages (outlook first
sends than reads).

    I need to setup my qmail:

- if the sender (return address and from address) is @anydomain.com of my
virtuals (rcphosts and virtualdomains) - never mind the IP address (unless
this IP address is specified like bad IP) - OK
- even the user has its right password to authenticate using pop and try to
use an from address like (@yahoo.com) - NOK
- when the message is reject by the qmail (as this above) the user may see
the error mensage on sending - like WE DON'T RELAY.

    I'm using tcpserver to start qmail-send and qmail-pop3.

    How do I setup my qmail?

    Sorry if this is a basic question, but I'm really confused.

Best regards,

Ari







On the qmail list [EMAIL PROTECTED] wrote:
>
>- if the sender (return address and from address) is @anydomain.com of my
>virtuals (rcphosts and virtualdomains) - never mind the IP address (unless
>this IP address is specified like bad IP) - OK

That's bad.  That's next to useless.  Find another way.





On Tue, Aug 31, 1999 at 07:51:34AM -0300, Ari Arantes Filho wrote:
>     I need to install qmail on a webhosting environment, where POP and SMTP
> users comes from various ISP. I don't think a good ideia to use opem-stmp3
> (from newbie's guide), because 90% of the users use outlook express and the
> documentation tells I will have problem to send messages (outlook first
> sends than reads).
> 
What about using the patch that sets for passworded SMTP on qmail.org? Your
users just had to fill in the secure SMTP-server option then.
I remember have read this will work for Outlook Express and Netscape
Messenger at least.

Regards
Mirko





It seems like you don'y have installed c compiler or specified path
to it (usually /usr/bin/). Eventually if you have gcc in /usr/bin
you may do a "ln -s gcc cc". 
If you'r sysadmin is really 'paranoid' you might not have c compiler
available due to a security purposes ;)
If so, try to compile it onto another (same) system - but this is not a
'nice' way...

Z pozdrowieniami,
Marcin Jaskowiak


On Tue, 31 Aug 1999, Tomas Gustafsson wrote:

> Dear Qmail Users!
> 
> I have problem to compile Qmail 1.03 on Redhat 6.0 (Intel).
> When i run the command make setup check I get the following errors:
> 
> [root@srv10 /qmail-1.03]# make setup check
> ./compile qmail-local.c
> exec: cc: not found
> make: *** [qmail-local.o] Error 127
> 
> Any help to solve this problem would be very appreciated.
> 
> Best Regards, Tomas Gustafsson
> 
> 





Tomas Gustafsson <[EMAIL PROTECTED]> wrote:

>[root@srv10 /qmail-1.03]# make setup check
>./compile qmail-local.c
>exec: cc: not found
>make: *** [qmail-local.o] Error 127
>
>Any help to solve this problem would be very appreciated.

See:

    http://Web.InfoAve.Net/~dsill/lwq.html#verify-compiler

-Dave






can anyone shed a bit of light on why I would get the following error while
trying to send mail through my Qmail SMTP server from an SMTP client- "SMTP
ERROR- Server responded (NULL) Contact your network admin for assistance.

Any Ideas??

I also can not receive incoming messages on that server- I get a bounce
back from the secondary MX server saying:

  ----- Transcript of session follows -----
451 <[EMAIL PROTECTED]>... reply: read error from mail.z100.com.
553 postal.pfmc.net. config error: mail loops back to me (MX problem?)
... while talking to mailhost2.pfmc.net.:
>>> RCPT To:<[EMAIL PROTECTED]>
<<< 550 <[EMAIL PROTECTED]>... Relaying denied
550 <[EMAIL PROTECTED]>... User unknown


thanks in advance for all of your help.

Bernie Courtney
Z100 New York Radio Engineering
mailto:[EMAIL PROTECTED]






"Soffen, Matthew" <[EMAIL PROTECTED]> wrote:

>Is there any way to get tcpserver to log deny's ?  I would like to see
>the failures/rejections when it logs (similar to how tcpd does it in
>Paranoid mode).
>
>Any help would be appreciated.
>
>The command I currently use to start my qmail/tcpserver is:
>       /usr/local/bin/tcpserver -v -u 1017 -g 1016 -x
>/var/qmail/tcp.smtp.cdb 0 smtp recordio /var/qmail/bin/qmail-smtpd 2>&1
>| /var/qmail/bin/splogger smtpd 3 &

That should be logging deny's, as well as successful connections.

-Dave




That's what I would have thought.  But it isn't.

> -----Original Message-----
> From: Dave Sill [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, August 31, 1999 9:31 AM
> To:   [EMAIL PROTECTED]
> Subject:      Re: tcpserver and rejection logging .
> 
> "Soffen, Matthew" <[EMAIL PROTECTED]> wrote:
> 
> >Is there any way to get tcpserver to log deny's ?  I would like to
> see
> >the failures/rejections when it logs (similar to how tcpd does it in
> >Paranoid mode).
> >
> >Any help would be appreciated.
> >
> >The command I currently use to start my qmail/tcpserver is:
> >     /usr/local/bin/tcpserver -v -u 1017 -g 1016 -x
> >/var/qmail/tcp.smtp.cdb 0 smtp recordio /var/qmail/bin/qmail-smtpd
> 2>&1
> >| /var/qmail/bin/splogger smtpd 3 &
> 
> That should be logging deny's, as well as successful connections.
> 
> -Dave




"Soffen, Matthew" <[EMAIL PROTECTED]> wrote:

>That's what I would have thought.  But it isn't.

It isn't what? Logging denials? Logging successes?

If it's not logging anything, your syslog configuration is probably
botched. Does:

    echo foo | splogger smtpd 3

Log anything? If not, check your syslog.conf.

-Dave




> -----Original Message-----
> From: Dave Sill [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, August 31, 1999 12:11 PM
> To:   [EMAIL PROTECTED]
> Subject:      RE: tcpserver and rejection logging .
> 
> "Soffen, Matthew" <[EMAIL PROTECTED]> wrote:
> 
> >That's what I would have thought.  But it isn't.
> 
> It isn't what? Logging denials? Logging successes?
> 
Successful attempts are logged properly as are all transmissions.
Denials are not being logged.
>  
> If it's not logging anything, your syslog configuration is probably
> botched. Does:
> 
>     echo foo | splogger smtpd 3
No. But, 'echo foo | splogger smtpd 2' does (on my system 2 = LOG_MAIL,
3 = LOG_DAEMON);

> Log anything? If not, check your syslog.conf.
Logged it fine (once I changed from 2 to 3) .   Logs fine.  I even added
mail.* to the syslog.conf and restarted the syslogd daemon but it is
still not logging denys.




"Soffen, Matthew" <[EMAIL PROTECTED]> wrote:

>Successful attempts are logged properly as are all transmissions.
>Denials are not being logged.

Very strange. Here's a sample from my (cyclog) logs:

936120916.618335 tcpserver: pid 1991888 num 0 from 128.219.150.9
936120916.632891 tcpserver: ok 1991888 sws5.ctd.ornl.gov:128.219.128.125:25 
dialsrv2.ctd.ornl.gov:128.219.150.9::38885
936120917.065287 tcpserver: end 1991888 status 0
936121067.907760 tcpserver: pid 2191421 num 0 from 127.0.0.1
936121067.923013 tcpserver: deny 2191421 localhost:127.0.0.1:25 
localhost:127.0.0.1::18233
936121067.923804 tcpserver: end 2191421 status 25600

The differences are "deny" instead of "ok" and "status 25600" instead
of "status 0".

You might try logging to a file or through cyclog to see if that makes 
a difference.

-Dave




"Subba Rao" <[EMAIL PROTECTED]> wrote:

>Having said that, when I send email, from user1 to user2, the mail
>is never delivered. I have the ~/Maildir in both the users $HOME
>directories.
>
>=======================================================
>Aug 30 13:32:05 caesar qmail: 936034325.936721 new msg 1756429
>Aug 30 13:32:05 caesar qmail: 936034325.936878 info msg 1756429: bytes 335 from 
><[EMAIL PROTECTED]> qp 416 uid 1003
>Aug 30 13:32:05 caesar qmail: 936034325.940407 starting delivery 1: msg 1756429 to 
>local [EMAIL PROTECTED]
>Aug 30 13:32:05 caesar qmail: 936034325.940491 status: local 1/10 remote 0/20
>Aug 30 13:32:06 caesar qmail: 936034326.193016 delivery 1: success: did_1+0+0/
>Aug 30 13:32:06 caesar qmail: 936034326.193125 status: local 0/10 remote 0/20
>Aug 30 13:32:06 caesar qmail: 936034326.246553 end msg 1756429
>=======================================================

What's in ~subb3/.qmail? What's the "defaultdelivery" specified on the 
qmail-start command line?

>I have also tried to do the following
>
>$ telnet localhost 25
>
>The message I get is
>telnet: Unable to connect to remote host: Connection refused

qmail-smtpd is not configured properly. How have you configured it to
run? From inetd or tcpserver? Either way, show us the commands/entries 
you're using.

-Dave




Either do what you suggest, or use the multirbls patch from
www.qmail.org.  If you are using RH Linux, then there is an rblsmtpd
spec kit that will let you build rblsmtpd with this patch:

ftp://moni.msci.memphis.edu/pub/qmail/qmail-patch/

Mate






I'm needing some ETRN capabilities and reading the archives hints that
serialmail provides this functionality. Can someone confirm, deny or
provide some details? Thanks.

andy


--
-----------------------------------------------------------------------
Andy Walden                        Work Email: [EMAIL PROTECTED]
Network Administrator,             Pers Email: [EMAIL PROTECTED]
MTCO Communications                Phone: (800) 859-6826
"A little nonsense now and then, is relished by the wisest men."
                                                -Willi Wonka






At 09:46 31/08/99 -0500, you wrote:
>
>
>I'm needing some ETRN capabilities and reading the archives hints that
>serialmail provides this functionality. Can someone confirm, deny or
>provide some details? Thanks.

Serialmail allows your qmail smtp to connect to another SMTP and to give it
all messages for a domain. With a script, even on a dialup connexion with
dynamic IP.
That's not really ETRN but's that's like it. The remote SMTP must be
configured to receive messages that he is sent.




On Tue, 31 Aug 1999, Dimitri SZAJMAN wrote:

> At 09:46 31/08/99 -0500, you wrote:
> >
> >
> >I'm needing some ETRN capabilities and reading the archives hints that
> >serialmail provides this functionality. Can someone confirm, deny or
> >provide some details? Thanks.
> 
> Serialmail allows your qmail smtp to connect to another SMTP and to give it
> all messages for a domain. With a script, even on a dialup connexion with
> dynamic IP.
> That's not really ETRN but's that's like it. The remote SMTP must be
> configured to receive messages that he is sent.
> 

So would the remote system also need to use qmail/serialmail?

Thanks,
andy






At 09:55 31/08/99 -0500, Andy Walden wrote:

>> Serialmail allows your qmail smtp to connect to another SMTP and to give it
>> all messages for a domain. With a script, even on a dialup connexion with
>> dynamic IP.
>> That's not really ETRN but's that's like it. The remote SMTP must be
>> configured to receive messages that he is sent.
>> 
>
>So would the remote system also need to use qmail/serialmail?

The remote system can be any SMTP, under any OS, but must be configured to
accept receiving mail for the domain you want ETRN-like.




Hi,

    I've installed daemonstools0.61, but I can't find accustamp and cyclog.
Where can I find them?

Best regards,

Ari






accustamp and cyclog have been replaced by tai64n and multilog
respectively.

On Tue, 31 Aug 1999, Ari Arantes Filho wrote:

> Hi,
> 
>     I've installed daemonstools0.61, but I can't find accustamp and cyclog.
> Where can I find them?
> 
> Best regards,
> 
> Ari
> 
> 
> 

---------------------------------
Timothy L. Mayo                         mailto:[EMAIL PROTECTED]
Senior Systems Administrator
localconnect(sm)
http://www.localconnect.net/

The National Business Network Inc.      http://www.nb.net/
One Monroeville Center, Suite 850
Monroeville, PA  15146
(412) 810-8888 Phone
(412) 810-8886 Fax





Howdey,

Is their any usefull utility to display the sizes of Maildirs for email
clients on a server.

Something more refined than `du`

Thanks
Leon Vismer





Sam <[EMAIL PROTECTED]> writes on 30 August 1999 at 22:10:43 GMT
 > Russell Nelson writes:
 > 
 > > Ari Arantes Filho writes:
 > >  > When I send a message with an attachment with 3mb for an invalid user, the
 > >  > hole message backs to the sender, notifying him that:
 > > 
 > >  > Is it possible the put just the header of the message or just a few lines?
 > > 
 > > Sure it's possible.  Anything is possible -- that's why we have
 > > computers.  The question is whether it's desirable.  Basically, if you
 > > don't bounce the whole email back to the user, how are they to re-send
 > > it to the right address?  An MTA can't count on them having kept a
 > > copy.
 > 
 > That may be true in general case, but with Qmail it's a moot point since
 > Qmail's bounces are not MIME DSNs, and the mail client has no way to
 > conveniently resend the message.  All tyou'll see is a huge wad of binary
 > goo.

My email software can resend qmail bounces just fine.  In general,
email software was resending bounces before there were DSNs, and in
fact DSN isn't very widely supported yet.
-- 
David Dyer-Bennet         ***NOTE ADDRESS CHANGES***          [EMAIL PROTECTED]
http://dd-b.lighthunters.net/ (photos) Minicon: http://www.mnstf.org/minicon
http://www.dd-b.net/dd-b (sf) http://ouroboros.demesne.com/ Ouroboros Bookworms
Join the 20th century before it's too late!




Hi,

I'm trying to put qmail to automatic startup.

When I try to:

supervise /var/supervise/qmail/send /var/qmail/rc | setuse qmaill multilog
/var/log/qmail &

Error:
bash: setuser: command not found

What is setuser?

Bye,

Ari







Ari Arantes Filho writes:
 > bash: setuser: command not found
 > 
 > What is setuser?

Try "setuidgid".  Some documentation hasn't caught up with
daemontools-0.61.

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




"Ari Arantes Filho" <[EMAIL PROTECTED]> wrote:

>I'm trying to put qmail to automatic startup.
>
>When I try to:
>
>supervise /var/supervise/qmail/send /var/qmail/rc | setuse qmaill multilog
>/var/log/qmail &
>
>Error:
>bash: setuser: command not found
>
>What is setuser?

setuser is a utility from daemontools 0.53. If you're following "Life
with qmail", you should have installed daemontools in Section 2.7:

    http://Web.InfoAve.Net/~dsill/lwq.html#install-daemontools

However, you're apparently trying to use daemontools 0.60/0.61
(because you replaced cyclog with multilog), in which setuser was
replaced by setuidgid.

-Dave




Hi,

The port 25 is not responding:

I've just read the life with qmail and setup Linux:

1)
supervise /var/supervise/qmail/send | setuidgid qmaill multilog
/var/log/qmail &

At /var/supervise/qmail/send there is a run file linked to
/var/qmail/rc.send:
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Maildir/ sh -c 'tai64n | tai64nlocal'

2)
supervise /var/supervise/qmail/smtpd | setuidgid qmaill tai64n | tai64nlocal
| setuidgid qmaill multilog /var/log/qmail/smtpd &

At /var/supervise/qmail/smtpd there is a run file linked to
/var/qmail/rc.smtp:
exec env - PATH="/var/qmail/bin:$PATH" \
tcpserver -v -s/etc/tcp.smtp.cdb -u503 -g503 0 smtp \
/var/qmail/bin/qmail-smtpd-wrapper 2>&1 &

I've removed the "smtp  stream  tcp     nowait  qmaild
/var/qmail/bin/tcp-env  tcp-env /var/qma
il/bin/qmail-smtpd" from inetd.conf.

Can you help me?

Bye,

Ari







It's was keyboard IO error!!!!

The correct is tcpserver ... -x/etc/..., I was using -s/etc...

Now the problem is thar in /var/log/qmail/smtpd/current the following error
message shows 1 per second:

tcpserver: fatal: unable to bind: address already used


What is this?


Bye,

Ari

-----Original Message-----
From: Ari Arantes Filho <[EMAIL PROTECTED]>
To: QMail-List <[EMAIL PROTECTED]>
Date: Terça-feira, 31 de Agosto de 1999 16:27
Subject: Port 25 is not responding using tcpserver


>Hi,
>
>The port 25 is not responding:
>
>I've just read the life with qmail and setup Linux:
>
>1)
>supervise /var/supervise/qmail/send | setuidgid qmaill multilog
>/var/log/qmail &
>
>At /var/supervise/qmail/send there is a run file linked to
>/var/qmail/rc.send:
>exec env - PATH="/var/qmail/bin:$PATH" \
>qmail-start ./Maildir/ sh -c 'tai64n | tai64nlocal'
>
>2)
>supervise /var/supervise/qmail/smtpd | setuidgid qmaill tai64n |
tai64nlocal
>| setuidgid qmaill multilog /var/log/qmail/smtpd &
>
>At /var/supervise/qmail/smtpd there is a run file linked to
>/var/qmail/rc.smtp:
>exec env - PATH="/var/qmail/bin:$PATH" \
>tcpserver -v -s/etc/tcp.smtp.cdb -u503 -g503 0 smtp \
>/var/qmail/bin/qmail-smtpd-wrapper 2>&1 &
>
>I've removed the "smtp  stream  tcp     nowait  qmaild
>/var/qmail/bin/tcp-env  tcp-env /var/qma
>il/bin/qmail-smtpd" from inetd.conf.
>
>Can you help me?
>
>Bye,
>
>Ari
>
>
>





On Tue, Aug 31, 1999 at 05:40:35PM -0300, Ari Arantes Filho wrote:
> It's was keyboard IO error!!!!
> 
> The correct is tcpserver ... -x/etc/..., I was using -s/etc...
> 
> Now the problem is thar in /var/log/qmail/smtpd/current the following error
> message shows 1 per second:
> 
> tcpserver: fatal: unable to bind: address already used
> 
> 
> What is this?

When you removed qmail-smtpd from inetd.conf, did you restart inetd?

        'kill -HUP [pid of qmail-smtpd]'

-- 
Brad Shelton  On Line Exchange  http://online-isp.com




>From: Brad Shelton <[EMAIL PROTECTED]>
>When you removed qmail-smtpd from inetd.conf, did you restart inetd?
>
> 'kill -HUP [pid of qmail-smtpd]'

Better:

shutdown -r 0!!!!


Now I can telnet to port 25 and qmail is working, but the error message
keeps on.


Bye,

Ari

>
>-----Original Message-----
>From: Brad Shelton <[EMAIL PROTECTED]>
>To: QMail-List <[EMAIL PROTECTED]>
>Date: Terça-feira, 31 de Agosto de 1999 16:53
>Subject: Re: Port 25 is not responding using tcpserver
>
>
>>On Tue, Aug 31, 1999 at 05:40:35PM -0300, Ari Arantes Filho wrote:
>>> It's was keyboard IO error!!!!
>>>
>>> The correct is tcpserver ... -x/etc/..., I was using -s/etc...
>>>
>>> Now the problem is thar in /var/log/qmail/smtpd/current the following
>error
>>> message shows 1 per second:
>>>
>>> tcpserver: fatal: unable to bind: address already used
>>>
>>>
>>> What is this?
>>
>>When you removed qmail-smtpd from inetd.conf, did you restart inetd?
>>
>> 'kill -HUP [pid of qmail-smtpd]'
>>
>>--
>>Brad Shelton  On Line Exchange  http://online-isp.com
>





On Tue, Aug 31, 1999 at 06:12:29PM -0300, Ari Arantes Filho wrote:
> >From: Brad Shelton <[EMAIL PROTECTED]>
> >When you removed qmail-smtpd from inetd.conf, did you restart inetd?
> >
> > 'kill -HUP [pid of qmail-smtpd]'

Ooops.

That should have been 'kill -HUP [pid of inetd]'.

But, you figured it out.... reboot.

> Better:
> 
> shutdown -r 0!!!!
> 
> 
> Now I can telnet to port 25 and qmail is working, but the error message
> keeps on.

So, you have something listening on port 25. Figure out what it is and stop
it. Then make sure your init scripts don't restart it on reboot.

Perhaps you have two invocations of qmail-smtpd at startup?

-- 
Brad Shelton  On Line Exchange  http://online-isp.com




On Tue, 31 Aug 1999 17:26:41 -0400, Brad Shelton wrote:

>So, you have something listening on port 25. Figure out what it is and stop
>it. Then make sure your init scripts don't restart it on reboot.

ps auxw|grep sendmail

?

-Sincerely, Fred

(Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)







>ps auxw|grep sendmail
>
Just the grep pid.







Hi everyone,

I'm having a problem with the smtp server. It works, but as I'm still 
in testing mode (not still connected to internet) it waits like 4 
minutes until it sends:

#5.5.1 Not implemented (I can't remember the error code exactly)
ESMTP helo gfagfd.domain.com

I have my dns perfectly configured and running and all the routes 
are ok. Also, the dns has a reverse name list compiled. Any idea??.

Thanks!
Best regards,

Martin Paulucci
http://www.ServiRED.COM
[EMAIL PROTECTED]
Cell Phone: 15-4935-4246
VoiceMail/Fax: (+54-11)4-961-3204






I want to deliver to a program, but regardless of whether or not the
program exists, is executable, or accessible, or crashes, or whatever, I 
don't want any kind of bounce message returning.

Just fail silently (log if you must), and go on about delivering mail.

Any ideas on how I could do that?

It is all mail to a specific address, if that makes a difference.





OK, so Mail.com and all it's domains have in their infinite wisdon have
decided to blacklist me due to the fact that
http://maps.vix.com/tsi/new-rlytest.cgi?ADDR=iq-ss5.iquest.net

shows my machine as a possible relay, and because my machine processes at
least 80,000 mailing list recipients per day and they received 472 messages
in one hour.

Any idea on how to make it look secure?

Justin
--
[EMAIL PROTECTED]                             Justin Bell  
                                                        Pearson PTC
Get money back when shopping online                     Programmer
http://www.ebates.com/index.jhtml?referrer=jaymz




-----BEGIN PGP SIGNED MESSAGE-----

On Tue, 31 Aug 1999, Justin Bell wrote: 

> OK, so Mail.com and all it's domains have in their infinite wisdon have
> decided to blacklist me due to the fact that
> http://maps.vix.com/tsi/new-rlytest.cgi?ADDR=iq-ss5.iquest.net
> 
> shows my machine as a possible relay, and because my machine processes
> at least 80,000 mailing list recipients per day and they received 472
> messages in one hour. 
> 
> Any idea on how to make it look secure? 

        That is something of an sore issue for me, too.  I've manually
attempted the relay tests that the rlytest script does and none of them
were successful (ones that did appear successful ended in internal bounces
with no relaying performed).  However, I think some coding is in order to
make it apparent that Qmail *does* pass the 17-point inspection that the
rlytest script performs.

- -Jay

   (                                                              ______
   ))   .--- "There's always time for a good cup of coffee" ---.   >===<--.
 C|~~| (>--- Jay D. Dyson - [EMAIL PROTECTED] ---<) |   = |-'
  `--'  `-- Encrypt as if your life depends on it.  It does. --'  `-----'

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBN8yT2c2OVDpaKXD9AQHiRwQAsrAWb0twvXURoNdTpGxRJBhpgfg4DcWA
CU25fjgD0vQ0KHyuqr0O/RPdqVXMX/sKk1qf10Wr83NU+vA9WfdDmZimh1QWvidh
dadWpMpjpawMcBjoa56S0IBq8gvRv5xDcz7QFiRzbw9lFDIgROf95KADRI/uOb4u
Qy4bFbQ+Rus=
=2cKJ
-----END PGP SIGNATURE-----





Justin Bell writes:
 > OK, so Mail.com and all it's domains have in their infinite wisdon have
 > decided to blacklist me due to the fact that
 > http://maps.vix.com/tsi/new-rlytest.cgi?ADDR=iq-ss5.iquest.net

The people at mail.com have become morons, and you can quote me on that.

Did they point you to that URL because it causes them to conclude that 
you are an open relay?

 > shows my machine as a possible relay, and because my machine processes at
 > least 80,000 mailing list recipients per day and they received 472 messages
 > in one hour.
 > 
 > Any idea on how to make it look secure?

You're solving the wrong problem (which means that you'll never
succeed, except at random).  The problem is that Mail.com has no clue.
If you don't give them a clue, you are failing to do the right thing.
Tell Mail.com's customers why their mail isn't going through, and let
*them* LART Mail.com.

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




Jay D. Dyson writes:
 >      That is something of an sore issue for me, too.  I've manually
 > attempted the relay tests that the rlytest script does and none of them
 > were successful (ones that did appear successful ended in internal bounces
 > with no relaying performed).  However, I think some coding is in order to
 > make it apparent that Qmail *does* pass the 17-point inspection that the
 > rlytest script performs.

No.  The output from rlytest is being misinterpreted.  There are
idiots out there, and the only way to ensure that *they* get corrected 
is to make sure that *they* get hurt.  If you work around their
brokenness, they'll never get a clue.

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




-----BEGIN PGP SIGNED MESSAGE-----

On Tue, 31 Aug 1999, Russell Nelson wrote:

>  >    That is something of an sore issue for me, too.  I've manually
>  > attempted the relay tests that the rlytest script does and none of them
>  > were successful (ones that did appear successful ended in internal bounces
>  > with no relaying performed).  However, I think some coding is in order to
>  > make it apparent that Qmail *does* pass the 17-point inspection that the
>  > rlytest script performs.
> 
> No.  The output from rlytest is being misinterpreted.  There are idiots
> out there, and the only way to ensure that *they* get corrected is to
> make sure that *they* get hurt.  If you work around their brokenness,
> they'll never get a clue. 

        I think the folks at vix.com and abuse.net are *far* from
"idiots."  I'm also currently attempting to acquire the source for the
new-rlytest.cgi script to perform modifications that will demonstrate that
Qmail doesn't relay.  Even so, I think it would be good for Qmail to
outright reject such relay hacks.  I'd rather have a 553 than a load of
internal bounces in my logfiles.

- -Jay

   (                                                              ______
   ))   .--- "There's always time for a good cup of coffee" ---.   >===<--.
 C|~~| (>--- Jay D. Dyson - [EMAIL PROTECTED] ---<) |   = |-'
  `--'  `-- Encrypt as if your life depends on it.  It does. --'  `-----'

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBN8ye+82OVDpaKXD9AQHW9QP/VM5ORWl3vS0Sj0bn7bqHsdrq8zcJkwix
0skaflw6HBOiqcdQn1lBE/WrqzbdcPWzm+xDmvwELqZGw4+vTF6L6Q3aAA97W8A7
ufDoWKMCPw9sn5a/v+p5jUwhnezF0OHzlW0oP8Ze/C8w9YAlFbbbo7Xj+0aPFqtO
AXAi1NOFdeY=
=XoEz
-----END PGP SIGNATURE-----





Jay D. Dyson writes:
 > > No.  The output from rlytest is being misinterpreted.  There are idiots
 > > out there, and the only way to ensure that *they* get corrected is to
 > > make sure that *they* get hurt.  If you work around their brokenness,
 > > they'll never get a clue. 
 > 
 >      I think the folks at vix.com and abuse.net are *far* from
 > "idiots."

Not *them*, the users of rlytest.

 > I'm also currently attempting to acquire the source for the
 > new-rlytest.cgi script to perform modifications that will demonstrate that
 > Qmail doesn't relay.  Even so, I think it would be good for Qmail to
 > outright reject such relay hacks.  I'd rather have a 553 than a load of
 > internal bounces in my logfiles.

Why?  There's no particular reason why any MTA other than sendmail
should interpret string1%string2 as a request to relay, and there's no 
reason why accepting such a string should be cause to consider someone 
as having an open relay.  "something%somethingelse" is a perfectly
legal email address.

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




Jay D. Dyson writes:

>       I think the folks at vix.com and abuse.net are *far* from
> "idiots."  I'm also currently attempting to acquire the source for the
> new-rlytest.cgi script to perform modifications that will demonstrate that
> Qmail doesn't relay.  Even so, I think it would be good for Qmail to
> outright reject such relay hacks.  I'd rather have a 553 than a load of
> internal bounces in my logfiles.

The problem is not relay checking per se, but the real problem is that
qmail-smtpd does not check whether the local address is valid, before
accepting the message.  The relay check that gets accepted looks like an
address in the local domain, so the message is accepted.  Only afterwards
does Qmail figure out that the local address doesn't exist, and the mail is
bounced.



-- 
Sam





Sam writes:
 > The problem is not relay checking per se, but the real problem is that
 > qmail-smtpd does not check whether the local address is valid, before
 > accepting the message.

Right. An SMTP client cannot, a priori, trust a 250 OK response to a
RCPT TO: command to actually mean that the email address is valid.
Sendmail has always had the ability to accept any recipient, and not
be aware of a success/failure indication until after the mail has been
delivered.  The reason qmail cannot do it is because all email goes
into the queue for some pretty good security and reliability-related
reasons.

qmail-smtpd *could* be given a CDB-full of allowable addresses IF you
have no -default deliveries.  Even so, it couldn't deal with program
deliveries that exit 100.

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




Sal Conigliaro wrote:

> all mail to domain 'test.cc' goes into the mailbox for user 'joe'.
>
> If I send mail to [EMAIL PROTECTED]

I did something like that recently and found it easiest to dump all the variables

from a perl script.  Here are my results with your variables in place of mine,
going by which I'd say you want $EXT@$HOST.

DTLINE: Delivered-To: [EMAIL PROTECTED]
SENDER: [EMAIL PROTECTED]
RECIPIENT: [EMAIL PROTECTED]
EXT2:
UFLINE: From [EMAIL PROTECTED] Mon May 03 17:28:51 1999
EXT3:
EXT4:
HOME: /usr/home/joe
RPLINE: Return-Path: <[EMAIL PROTECTED]>
LOCAL: joe-newuser
NEWSENDER: [EMAIL PROTECTED]
PATH: /var/qmail/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin
HOST2: test
HOST3: test
EXT: newuser
HOST4: test
HOST: test.cc
USER: joe

YMMV on HOST2/3/4.  My domain was the.sga.nu and I got
HOST2: the.sga
HOST3: the
HOST4: the

Which lead me to the guess on what your HOST variables would say.

Regards,
--Steve





I've search through the qmail website and mailing list, but only grown
more confused, so here goes:

Which is the best of inetd, tcpserver and xinetd if you consider
security, reliability, logging, configurability, etc?
Any other alternatives apart from these?

...or to turn the question around:
Is there anything wrong with (inetd|tcpserver|xinetd)?


cheers
Fred

--
Lead Wizard
Binary Spells
www.binaryspells.com
*** Check out AntiTron v0.92 - our latest arcade game! ***






use tcpserver, its secure fast etc. etc.
for heavy smtp traffic don't use inetd which disables services for a while
when the load on that service is high.

marco leeflang

Fred Backman wrote:

> I've search through the qmail website and mailing list, but only grown
> more confused, so here goes:
>
> Which is the best of inetd, tcpserver and xinetd if you consider
> security, reliability, logging, configurability, etc?
> Any other alternatives apart from these?
>
> ...or to turn the question around:
> Is there anything wrong with (inetd|tcpserver|xinetd)?
>
> cheers
> Fred
>
> --
> Lead Wizard
> Binary Spells
> www.binaryspells.com
> *** Check out AntiTron v0.92 - our latest arcade game! ***





Does qmail (1.00) execute any code on the stack?



Reply via email to