qmail Digest 7 Apr 2001 10:00:00 -0000 Issue 1327

Topics (messages 60381 through 60452):

CYCLOG logger ?
        60381 by: jcarreiro
        60404 by: Charles Cazabon
        60406 by: Sean C Truman

Can't establish SMTP connection (Error 4.4.1)
        60382 by: Mac Schwarz
        60383 by: Frank Tegtmeyer
        60386 by: Chris Johnson
        60387 by: Mac Schwarz
        60390 by: Johan Almqvist
        60391 by: Frank Tegtmeyer
        60393 by: Mac Schwarz

Qmail and Procmail
        60384 by: Alexander Meis
        60388 by: Frank Tegtmeyer
        60389 by: Johan Almqvist

Re: dot qmail problem (HELP NEEDED URGENT)
        60385 by: Wei Yao Gharib

Mail cleansing program
        60392 by: Johan Almqvist
        60396 by: Frank Tegtmeyer
        60405 by: Charles Cazabon
        60412 by: Dave Sill

Telnet to smtp takes long respond time
        60394 by: R vdB
        60395 by: R vdB
        60397 by: Rick Updegrove
        60398 by: Iñigo Martínez Lasala
        60399 by: Frank Tegtmeyer
        60401 by: Duncan MacMillan
        60402 by: Henning Brauer
        60403 by: R vdB
        60408 by: Henning Brauer
        60410 by: Charles Cazabon
        60419 by: Kirti S. Bajwa

Rewriting header / adding local domain if missing
        60400 by: Antje Koschel
        60409 by: Charles Cazabon

authorized-relay
        60407 by: alexus
        60411 by: Peter van Dijk
        60414 by: Charles Cazabon
        60415 by: Dave Sill

>From sendmail to qmail
        60413 by: Boris
        60420 by: Brett Randall
        60421 by: Charles Cazabon
        60422 by: Boris
        60438 by: Boris
        60448 by: Frank Tegtmeyer

I am back to square ONE...
        60416 by: Kirti S. Bajwa
        60423 by: Johan Almqvist
        60426 by: Charles Cazabon
        60430 by: Kirti S. Bajwa
        60431 by: Kirti S. Bajwa
        60432 by: Dave Weiner
        60433 by: Markus Stumpf
        60436 by: Kirti S. Bajwa
        60439 by: Martin Marconcini
        60441 by: Frank Tegtmeyer

qmail-remote with tls crash again
        60417 by: John McCoy, Jr

many tcp.smtp.xxxx temporary files and aack
        60418 by: Shin Kashiwagi

Re: How to block an email id in qmail?
        60424 by: David Benfell

Re: Very slow qmail response
        60425 by: Tom Jackson
        60434 by: Markus Stumpf
        60442 by: Ricardo Cerqueira
        60447 by: Chris Johnson

Mail-Follow-Up ??
        60427 by: Marco Calistri

Re: Some hints please
        60428 by: Marco Calistri
        60429 by: Marco Calistri

qmail-remote crash truss output, help please
        60435 by: John McCoy, Jr

tcpserver help
        60437 by: Todd Kennedy
        60443 by: alexus
        60445 by: Frank Tegtmeyer
        60446 by: Chris Johnson
        60449 by: Marco Calistri

which POP toaster setup
        60440 by: Lan Tran

relay-ctrl: no ip's recorded (URGENT - PLEASE)
        60444 by: Jairo Marciano Silva

as fast as possible
        60450 by: hantunes

Re: re-writing headers based on rules
        60451 by: Sumith
        60452 by: Frank Tegtmeyer

Administrivia:

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

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

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

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


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


hi all !
 
i'm setting up the qmail-mrtg tool :)
but it seems that it needs qmail logged with cyclog (actually i use multilog).
i read somewhere that cyclog it's part of the daemontools package.
i got daemontools 0.70 but can't find the cyclog binaries or cyclog.c file in the src
 
any idea where to find it ??
 
thx 4 help.
 
 
José.




jcarreiro <[EMAIL PROTECTED]> wrote:
> 
> but it seems that it needs qmail logged with cyclog (actually i use
> multilog).  i read somewhere that cyclog it's part of the daemontools
> package.  i got daemontools 0.70 but can't find the cyclog binaries or
> cyclog.c file in the src

cyclog was part of daemontools in earlier version (0.53?).  It's now obsoleted
by multilog.  You can convert multilog output to look like cyclog output
(changing the format of the timestamps) using something like tai64n2tai -- see
Bruce Guenter's site at http://em.ca/~bruceg/ for his qlogtools package.

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




qmail-mrtg does not use cyclog output it uses multilog.. multilog is found
in the daemontools package.

Sean

----- Original Message -----
From: jcarreiro
To: [EMAIL PROTECTED]
Sent: Friday, April 06, 2001 4:58 AM
Subject: CYCLOG logger ?


hi all !

i'm setting up the qmail-mrtg tool :)
but it seems that it needs qmail logged with cyclog (actually i use
multilog).
i read somewhere that cyclog it's part of the daemontools package.
i got daemontools 0.70 but can't find the cyclog binaries or cyclog.c file
in the src

any idea where to find it ??

thx 4 help.


José.





Hi,

I've setup a qmail server in our DMZ for relaying mail to the internal 
Exchange server. We've got two domains and I want the qmail server to 
forward all mail for one of the domains to the Exchange server.

First I've setup the Exchange server to accept @bioid-dev.de in addition 
to bioid.com. Then I installed qmail on a OpenBSD server in the DMZ.

On the qmail server I installed tinydns and configured the Exchange 
server as MX for bioid-dev.de. In the control directory of qmail I've 
got an rcpthost file with an entry for bioid-dev.de and a smtproutes 
file with the line bioid-dev.de:192.186.20.10. The IP is the Exchange 
server.

Now I can

- send mail via qmail-inject to [EMAIL PROTECTED] from the qmail server. It 
is delivered to the Exchange immediately.

- send mail in the internal net to [EMAIL PROTECTED]

- connect via telnet on port 25 from the qmail server to the Exchange 
server and send a mail with mail/rcpt/data/quit to [EMAIL PROTECTED]

But if I try to send a mail to [EMAIL PROTECTED] with qmail-inject from 
the qmail server to the Exchange server the mail is never delivered and 
in the log file are errors:

@400000003acc7c2b275b85fc starting delivery 1: msg 182412 to remote 
[EMAIL PROTECTED]
@400000003acc7c2b275e0e6c status: local 0/10 remote 1/20
@400000003acc7c6728009f9c delivery 1: deferral: 
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)

I understand that such a message would normally mean a problem with the 
Exchange server or network connection but I can send mails via telnet or 
to [EMAIL PROTECTED],[EMAIL PROTECTED] and the first is delivered and the 
second not.

Any hints what I am missing in my configuration?

Regards,
        mac





> Any hints what I am missing in my configuration?

Did you restart qmail after establishing the route in smtproutes?

Regards, Frank




On Fri, Apr 06, 2001 at 12:23:33PM +0200, Frank Tegtmeyer wrote:
> > Any hints what I am missing in my configuration?
> 
> Did you restart qmail after establishing the route in smtproutes?

That's not necessary. smtproutes is reread by every new invocation of
qmail-remote.

Chris

PGP signature





Frank Tegtmeyer wrote:

>> Any hints what I am missing in my configuration?
> 
> 
> Did you restart qmail after establishing the route in smtproutes?
> 
> Regards, Frank

Yes, normally I do a restart of qmail with the startup/shutdown script 
after applying changes to the configuration. Now I did a shutdown and 
checked if any qmail process is still running. It wasn't the case and I 
restartet qmail. The error remains.

Regards,
        mac





* Mac Schwarz <[EMAIL PROTECTED]> [010406 11:58]:
> I've setup a qmail server in our DMZ for relaying mail to the internal 
> Exchange server. We've got two domains and I want the qmail server to 
> forward all mail for one of the domains to the Exchange server.
> First I've setup the Exchange server to accept @bioid-dev.de in addition 
> to bioid.com. Then I installed qmail on a OpenBSD server in the DMZ.
> On the qmail server I installed tinydns and configured the Exchange 
> server as MX for bioid-dev.de. In the control directory of qmail I've 
> got an rcpthost file with an entry for bioid-dev.de and a smtproutes 
> file with the line bioid-dev.de:192.186.20.10. The IP is the Exchange 
> server.
>
> Any hints what I am missing in my configuration?

Give us the output of qmail-showctl. I suspect that the format of the
mailroutes file is garbled or permissions are wrong.

Double-check the IP given in smtproutes, too.

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

PGP signature





> to [EMAIL PROTECTED],[EMAIL PROTECTED] and the first is delivered and the 
> second not.

Where is the first one delivered to? What does the log say about 
that?
I assume it get's delivered to the Exchange with another path.

Do you have a smtproute for bioid.com also?
No spelling error in your smtproutes file?

Regards, Frank




Johan Almqvist wrote:

> * Mac Schwarz <[EMAIL PROTECTED]> [010406 11:58]:
> 
>> I've setup a qmail server in our DMZ for relaying mail to the internal 
>> Exchange server. We've got two domains and I want the qmail server to 
>> forward all mail for one of the domains to the Exchange server.
>> First I've setup the Exchange server to accept @bioid-dev.de in addition 
>> to bioid.com. Then I installed qmail on a OpenBSD server in the DMZ.
>> On the qmail server I installed tinydns and configured the Exchange 
>> server as MX for bioid-dev.de. In the control directory of qmail I've 
>> got an rcpthost file with an entry for bioid-dev.de and a smtproutes 
>> file with the line bioid-dev.de:192.186.20.10. The IP is the Exchange 
>> server.
>> 
>> Any hints what I am missing in my configuration?
> 
> 
> Give us the output of qmail-showctl. I suspect that the format of the
> mailroutes file is garbled or permissions are wrong.
> 
> Double-check the IP given in smtproutes, too.
> 
> -Johan

Of course I've checked the smtproutes several times! But anyway... Oops, 
there's a typo: 192.186.20.10 instead of 192.168.20.10 *blush*

Seems to work now. I looked only closer to the 20.10 part if I made an 
error there while checking the IP. I should have notice the mistake 
while composing the mail. Sorry for wasting your time.

Thanks for all your help!

Regards,
        mac





Hi....

i Try to setup qmail with maildirs and Procmail Mailfiltering.
Ok Qmail works. How do i enable the filtering to of Procmail to
the ariving Mails ? I found nothing in the manual.

Regards


Aelx






> Ok Qmail works. How do i enable the filtering to of Procmail to
> the ariving Mails ? I found nothing in the manual.

man qmail-command




* Alexander Meis <[EMAIL PROTECTED]> [010406 12:21]:
> i Try to setup qmail with maildirs and Procmail Mailfiltering.
> Ok Qmail works. How do i enable the filtering to of Procmail to
> the ariving Mails ? I found nothing in the manual.

Tip 1: Don't start new threads by replying to unrelated messages.

Tip 2: If possible, use maildrop instead of procmail. www.courier-mta.org

Tip 3: Put the following into your .qmail file
|preline procmail -t .procmailrc
(assuming that you already have a .procmailrc)

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

PGP signature





Hello,

    Thank you very much for your help, patience to
read my email and time to answer it, specially to
Keary Suska and Brad Dameron. I appreciated it very
much. Your advices helped a lot!
     It worked finally!
     I created the dot-qmail in the level of the
domains and put dot-qmail with the name like
dot-qmail-virtualuser. Besides this, I also tried to
create the file as the vpopmail user, instead to
change the ownership after. But really the dot-qmail
doesn't work under the folder of the virtual user, it
causes a lot of problem.

Best regards,
Wei Yao Gharib

=====
============================================================
Wei Yao Gharib
System Administrator
Wise Communication
N° 1070, Av. Sahara Sect. 5 Hay Salam 11000 Sale Morocco
Tel: +212(0)37810808              Fax: +212(0)37810773
============================================================

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/




Hi!

I wonder if there is a mail cleansing program out there that is
configurable and mime-compliant.

By mail cleansing program, I mean a program that can be instructed to only
keep the text/plain part of a multipart/alternative message [Oh, I HATE
people that send multipart/alternative messages where the text/plain
message just says "You can't display HTML mail". Oh the morons.]

If it were really cool, it'd even convert text/html to text/enriched...

There's some work done in reformime... need I take it from there?

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

PGP signature





> I wonder if there is a mail cleansing program out there that is
> configurable and mime-compliant.

ezmlm-reject does some checks and ezmlm-send is able to remove some 
parts. Maybe this could be put together by somebody (not me :)

regards, Frank




Johan Almqvist <[EMAIL PROTECTED]> wrote:
> 
> By mail cleansing program, I mean a program that can be instructed to only
> keep the text/plain part of a multipart/alternative message

I believe Russell Nelson wrote a script which does exactly this, called
"no-alternative".  Check www.qmail.org for a link to it.

> [Oh, I HATE people that send multipart/alternative messages where the
> text/plain message just says "You can't display HTML mail". Oh the morons.]

multipart/alternative is supposed to tell the recipient that the multiple
parts contain the same information, so they can look at whichever part is in
the format they prefer.  Clients which generate multipart/alternative messages
where the plaintext part is meaningless risk having mail thrown away unread.

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




Johan Almqvist <[EMAIL PROTECTED]> wrote:

>I wonder if there is a mail cleansing program out there that is
>configurable and mime-compliant.
>
>By mail cleansing program, I mean a program that can be instructed to only
>keep the text/plain part of a multipart/alternative message [Oh, I HATE
>people that send multipart/alternative messages where the text/plain
>message just says "You can't display HTML mail". Oh the morons.]

Take a look at demime:

  http://scifi.squawk.com/demime.html

-Dave




When I telnet mydomain.xs4all.nl at port 25, it takes a minute or two for my 
linux qmail server to respond. I don't like this because mail is often 
delivered with long delayings and maybe it has something to do with the long 
respond time from the server (so the smtp client is quitting). The mail is 
in the mailbox (seen via webmail) of the provider and it takes often very 
long before it is deliverd (via smtp) at my qmail server.
What should be a normal respond time? What is definitely too long?
Could it be the cause of the problems (the sometimes delayed arrival of 
messages)?

Thanks

Rolf.

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.





Installed qmail and it seems to work good. But, mail is often delivered with 
a long delay. It is stored at my provider (can see it there via webmail). 
Sometimes I cannot retrieve mail via smtp from the provider for hours. When 
I do a telnet session to myhost.xs4all.nl at port 25, it takes a minute or 
two for my server to respond. Could it be that every time my provider tries 
to deliver mail via smtp there's a timeout error? Unfortunately, it's not 
possible to take a look at the provider's smtp logfiles. If two minutes is 
too long, what can I do about it?

Thanks,

Rolf.

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.





> ----- Original Message -----
> From: "R vdB
> Subject: Telnet to smtp takes long respond time


> When I telnet mydomain.xs4all.nl at port 25, it takes a minute or two for
my
> linux qmail server to respond. I don't like this because mail is often
> delivered with long delayings and maybe it has something to do with the
long
> respond time from the server (so the smtp client is quitting). The mail is
> in the mailbox (seen via webmail) of the provider and it takes often very
> long before it is deliverd (via smtp) at my qmail server.
> What should be a normal respond time?

Hi Rolf,

Well, that depends ...

> What is definitely too long?

I guess that depends on how impatient you are.

If you are using tcpserver (if you followed instructions at
http://lifewithqmail.org )then http://cr.yp.to/ucspi-tcp/tcpserver.html and
most of the people on this reccomend the following:

a.. -H: Do not look up the remote host name in DNS; remove the environment
variable $TCPREMOTEHOST. To avoid loops, you must use this option for
servers on TCP port 53.
a.. -l localname: Do not look up the local host name in DNS; use localname
for the environment variable $TCPLOCALHOST. A common choice for localname is
0. To avoid loops, you must use this option for servers on TCP port 53.
a.. -R: Do not attempt to obtain $TCPREMOTEINFO from the remote host. To
avoid loops, you must use this option for servers on TCP ports 53 and 113.


Hope that helps.

Rick Up







Check your tcpserver configuration.
Try with tcpserver -v -p -h -R

> -----Original Message-----
> From: R vdB [mailto:[EMAIL PROTECTED]]
> Sent: viernes, 06 de abril de 2001 14:12
> To: [EMAIL PROTECTED]
> Subject: Telnet to smtp takes long respond time
> 
> 
> Installed qmail and it seems to work good. But, mail is often 
> delivered with 
> a long delay. It is stored at my provider (can see it there 
> via webmail). 
> Sometimes I cannot retrieve mail via smtp from the provider 
> for hours. When 
> I do a telnet session to myhost.xs4all.nl at port 25, it 
> takes a minute or 
> two for my server to respond. Could it be that every time my 
> provider tries 
> to deliver mail via smtp there's a timeout error? 
> Unfortunately, it's not 
> possible to take a look at the provider's smtp logfiles. If 
> two minutes is 
> too long, what can I do about it?
> 
> Thanks,
> 
> Rolf.
> 
> ______________________________________________________________
> ___________
> Get Your Private, Free E-mail from MSN Hotmail at 
> http://www.hotmail.com.
> 

This message and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
No confidentiality or privilege is waived or lost by any wrong transmission.
If you have received this message in error, please immediately destroy it
and kindly notify the sender by reply email.
You must not, directly or indirectly, use, disclose, distribute, print, or
copy any part of this message if you are not the intended recipient.
Opinions, conclusions and other information in this message that do not
relate to the official business of Newknow shall be understood as neither
given nor endorsed by it. 





> What should be a normal respond time? What is definitely too long?
> Could it be the cause of the problems (the sometimes delayed arrival of 
> messages)?

Henning Brauer wrote some days ago: this is not a FAQ, it is THE FAQ.

Assuming that you run qmail-smtpd under tcpserver have a look at it's 
man page and look for the switches -l, -H and -R.

Regards, Frank




If you are using tcpserve you may find that there are long delays on the
host lookups that happen by default.

The options you want to look at (if I remember correctly) are
        -H ) Do not look up the remote host name in DNS
        -l ) Do not look up the local host name in DNS
        -R ) Do not attempt to obtain $TCPREMOTEINFO from the remote host

Cheers

-----Original Message-----
From: R vdB [mailto:[EMAIL PROTECTED]]
Sent: 06 April 2001 14:12
To: [EMAIL PROTECTED]
Subject: Telnet to smtp takes long respond time


Installed qmail and it seems to work good. But, mail is often delivered with
a long delay. It is stored at my provider (can see it there via webmail).
Sometimes I cannot retrieve mail via smtp from the provider for hours. When
I do a telnet session to myhost.xs4all.nl at port 25, it takes a minute or
two for my server to respond. Could it be that every time my provider tries
to deliver mail via smtp there's a timeout error? Unfortunately, it's not
possible to take a look at the provider's smtp logfiles. If two minutes is
too long, what can I do about it?

Thanks,

Rolf.

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.







On Fri, Apr 06, 2001 at 02:12:16PM +0200, R vdB wrote:
> Installed qmail and it seems to work good. But, mail is often delivered with 
> a long delay. 

Can't one use the archives? This is asked at least once a day.

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




Thanks, tried -v -p -h -R -x and it's responding within seconds now. But I 
MUST add the -x, otherwise connection is refused. Why?




>From: Iñigo Martínez Lasala <[EMAIL PROTECTED]>
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>, 
>[EMAIL PROTECTED]
>Subject: RE: Telnet to smtp takes long respond time
>Date: Fri, 6 Apr 2001 14:59:13 +0200
>MIME-Version: 1.0
>Received: from [131.193.178.181] by hotmail.com (3.2) with ESMTP id 
>MHotMailBC97105E0051400431E283C1B2B5373E0; Fri Apr 06 06:32:14 2001
>Received: (qmail 19430 invoked by uid 1002); 6 Apr 2001 13:00:02 -0000
>Received: (qmail 30771 invoked from network); 6 Apr 2001 13:00:02 -0000
>Received: from mailer.newknow.com (212.163.50.53)  by muncher.math.uic.edu 
>with SMTP; 6 Apr 2001 13:00:02 -0000
>Received: (qmail 30125 invoked from network); 6 Apr 2001 16:00:13 -0000
>Received: from skywalker.newknow.com (masked?by?newKnow)  by 
>mailer.newknow.com with SMTP; 6 Apr 2001 16:00:13 -0000
>Received: by skywalker.newknow.com with Internet Mail Service 
>(5.5.2653.19)id <22P6Y3A9>; Fri, 6 Apr 2001 14:59:14 +0200
>From qmail-return-65927-w_schmutz Fri Apr 06 06:34:07 2001
>Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>Precedence: bulk
>Delivered-To: mailing list [EMAIL PROTECTED]
>Message-ID: <[EMAIL PROTECTED]>
>X-Mailer: Internet Mail Service (5.5.2653.19)
>
>Check your tcpserver configuration.
>Try with tcpserver -v -p -h -R
>
> > -----Original Message-----
> > From: R vdB [mailto:[EMAIL PROTECTED]]
> > Sent: viernes, 06 de abril de 2001 14:12
> > To: [EMAIL PROTECTED]
> > Subject: Telnet to smtp takes long respond time
> >
> >
> > Installed qmail and it seems to work good. But, mail is often
> > delivered with
> > a long delay. It is stored at my provider (can see it there
> > via webmail).
> > Sometimes I cannot retrieve mail via smtp from the provider
> > for hours. When
> > I do a telnet session to myhost.xs4all.nl at port 25, it
> > takes a minute or
> > two for my server to respond. Could it be that every time my
> > provider tries
> > to deliver mail via smtp there's a timeout error?
> > Unfortunately, it's not
> > possible to take a look at the provider's smtp logfiles. If
> > two minutes is
> > too long, what can I do about it?
> >
> > Thanks,
> >
> > Rolf.
> >
> > ______________________________________________________________
> > ___________
> > Get Your Private, Free E-mail from MSN Hotmail at
> > http://www.hotmail.com.
> >
>
>This message and any files transmitted with it are confidential and 
>intended
>solely for the use of the individual or entity to whom they are addressed.
>No confidentiality or privilege is waived or lost by any wrong 
>transmission.
>If you have received this message in error, please immediately destroy it
>and kindly notify the sender by reply email.
>You must not, directly or indirectly, use, disclose, distribute, print, or
>copy any part of this message if you are not the intended recipient.
>Opinions, conclusions and other information in this message that do not
>relate to the official business of Newknow shall be understood as neither
>given nor endorsed by it.
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.





On Fri, Apr 06, 2001 at 03:38:17PM +0200, R vdB wrote:
> Thanks, tried -v -p -h -R -x and it's responding within seconds now. But I 
> MUST add the -x, otherwise connection is refused. Why?
> 

sorry, I'm getting angry. You got TONS of pointers to the tcpserver
documentation, JUST READ IT. EVERYTHING is explained there. If you want to
wastes ones time hire someone.

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




R vdB <[EMAIL PROTECTED]> wrote:
> Thanks, tried -v -p -h -R -x and it's responding within seconds now. But I 
> MUST add the -x, otherwise connection is refused. Why?

Read the documentation for tcpserver.  The answer is in there.  Honestly.

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





R vdB <[EMAIL PROTECTED]> wrote:
> Thanks, tried -v -p -h -R -x and it's responding within seconds now. But I

> MUST add the -x, otherwise connection is refused. Why?

I happen to be reading the chapter in "Running Qmail by Richard Blum" when I
saw your posting. This is the explanation from the book:



        "-x -- Allow tcpserver to use a rules database to control
connections"


Hope it helps.

Kirti





Hi,

I replaced sendmail with a qmail installation and everything works fine.
Except that some programs here are written in a way that they connect
direct to the port 25 of the qmail server and and feed the mail via the smtp
commands.
Unfortunatly they only use "username" as sender and not "username@mydomain" .
And they might be rejected by another because they don't have a valid
domain name.

Is there a possibility to append the domain to addresses missing the
domain in any mail sent from local machines (as recognized with the tcprules)?
Do I have to modify qmail-smtp

I know that the problem is not the problem of the qmailserver but this
would also solve the problem of users using unconfigured mailtools.

Thanks,

Antje






Antje Koschel <[EMAIL PROTECTED]> wrote:
> 
> Except that some programs here are written in a way that they connect direct
> to the port 25 of the qmail server and and feed the mail via the smtp
> commands.  Unfortunatly they only use "username" as sender and not
> "username@mydomain" .  And they might be rejected by another because they
> don't have a valid domain name.

Doesn't qmail append envnoathost in this circumstance?

> Is there a possibility to append the domain to addresses missing the
> domain in any mail sent from local machines (as recognized with the tcprules)?

You could use the fixup/@fixme trick to run the messages through qmail-inject
or new-inject, which will fix up headers, etc.  See Dan's documentation and
FAQ for details.

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 went to: http://cr.yp.to/qmail/faq/servers.html#authorized-relay
and basicly did whatever they told me to
i create a file /etc/tcp.smtp
i put my ip my stuff in it
then i did 
tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp
no errors were displayed







On Thu, Apr 05, 2001 at 07:09:16PM -0400, alexus wrote:
> I went to: http://cr.yp.to/qmail/faq/servers.html#authorized-relay
> and basicly did whatever they told me to
> i create a file /etc/tcp.smtp
> i put my ip my stuff in it
> then i did 
> tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp
> no errors were displayed

Good for you!

Greetz, Peter.




alexus <[EMAIL PROTECTED]> wrote:
> I went to: http://cr.yp.to/qmail/faq/servers.html#authorized-relay
> and basicly did whatever they told me to
[...]
> no errors were displayed

Good, that must mean it worked, since you didn't say you had any errors.

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




"alexus" <[EMAIL PROTECTED]> wrote:

>I went to: http://cr.yp.to/qmail/faq/servers.html#authorized-relay
>and basicly did whatever they told me to
>i create a file /etc/tcp.smtp
>i put my ip my stuff in it
>then i did 
>tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp
>no errors were displayed

Thanks for sharing that.

-Dave





Greetings.

I am writing a small book about Linux/FreeBSD since 1999 (just for
fun, maybe it will be released someadays, maybe not, who knows).

Currently i try to find out the advantages of qmail. It took me some
time to get it working, but I am very surprised about the speed. I
have changed my production server in realtime from sendmail to qmail.
It was not easy, but I have it done. And I was not required to delete
sendmail.

There are some  things I need to know about qmail to complete my work on
this chapter.

* First, I need to know is there a similar way to stop spammers as in
sendmail with /etc/access. This is a very important feature to me. I
dont want to use procmail or similar for such a feature, is there an
option for it?

* Is there a way to forward all outgoing mails to a specific SMTP?

* Are there somewhere detailed instructions about implementing
RBL/ORBS?

* I have read some solution about SMTP AUTH and I need to know what
the people outside are using to stop spammers and to authenticate
users before they are allowed to send e-mails. What are the currently
most used solutions? I have found some, but I would like to know what
is used in real environments.

It would be great for detailed informations, because its not very easy
to find all neccessary informations.

Thanks for your time.

--
Boris [MCSE, CNA]
...................................................................
 X-ITEC : Consulting * Programming * Net-Security * Crypto-Research
........: [PRIVATE ADDRESS:] 
        : Boris Köster eMail [EMAIL PROTECTED] http://www.x-itec.de 
        : Grüne 33-57368 Lennestadt Germany Tel: +49 (0)2721 989400
        : 101  PERFECTION - SECURITY - STABILITY - FUNCTIONALITY 
........:..........................................................

Everything I am writing is (c) by Boris Köster and may not be 
rewritten or distributed in any way without my permission.              






Believe it or not, all the answers to your questions can be found at
http://www.qmail.org/top.html !

Brett.


>>>>> "Boris" == Boris  <[EMAIL PROTECTED]> writes:

> Greetings.  I am writing a small book about Linux/FreeBSD since 1999
> (just for fun, maybe it will be released someadays, maybe not, who
> knows).

> Currently i try to find out the advantages of qmail. It took me some
> time to get it working, but I am very surprised about the speed. I
> have changed my production server in realtime from sendmail to
> qmail.  It was not easy, but I have it done. And I was not required
> to delete sendmail.

> There are some things I need to know about qmail to complete my work
> on this chapter.

> * First, I need to know is there a similar way to stop spammers as
> in sendmail with /etc/access. This is a very important feature to
> me. I dont want to use procmail or similar for such a feature, is
> there an option for it?

> * Is there a way to forward all outgoing mails to a specific SMTP?

> * Are there somewhere detailed instructions about implementing
> RBL/ORBS?

> * I have read some solution about SMTP AUTH and I need to know what
> the people outside are using to stop spammers and to authenticate
> users before they are allowed to send e-mails. What are the
> currently most used solutions? I have found some, but I would like
> to know what is used in real environments.

> It would be great for detailed informations, because its not very
> easy to find all neccessary informations.

> Thanks for your time.

> -- Boris [MCSE, CNA]
> ...................................................................
> X-ITEC : Consulting * Programming * Net-Security * Crypto-Research
> ........: [PRIVATE ADDRESS:] : Boris Köster eMail [EMAIL PROTECTED]
> http://www.x-itec.de : Grüne 33-57368 Lennestadt Germany Tel: +49
> (0)2721 989400 : 101 PERFECTION - SECURITY - STABILITY -
> FUNCTIONALITY
> ........:..........................................................

> Everything I am writing is (c) by Boris Köster and may not be
> rewritten or distributed in any way without my permission.

-- 
"I wonder what Jesus would do if HE had to reload Windows 95 for the
eighth time today ?"

- Mirabour Gilbride




Boris <[EMAIL PROTECTED]> wrote:
> 
> There are some  things I need to know about qmail to complete my work on
> this chapter.
> 
> * First, I need to know is there a similar way to stop spammers as in
> sendmail with /etc/access.

Many people on this list will not be familiar with the detailed workings of
sendmail; in general, we run qmail because (among other reasons) we don't want
to have to learn sendmail's byzantine configuration.  Please explain how 
this works with sendmail; then we can tell you if there's a qmail equivalent.

> * Is there a way to forward all outgoing mails to a specific SMTP?

Yes, smtproutes.  It's trivial.  `man qmail-remote` for details.

> * Are there somewhere detailed instructions about implementing
> RBL/ORBS?

Yes, in many places, including djb's site and www.qmail.org.

> * I have read some solution about SMTP AUTH and I need to know what
> the people outside are using to stop spammers and to authenticate
> users before they are allowed to send e-mails. What are the currently
> most used solutions?

There are SMTP-AUTH patches for qmail.  Two other techniques widely employed
include selective relaying by IP address, and SMTP-after-POP3/SMTP-after-IMAP.

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




Hello Brett,

Friday, April 06, 2001, 7:05:27 PM, you wrote:

BR> Believe it or not, all the answers to your questions can be found at
BR> http://www.qmail.org/top.html !

hmm, ok. hmmmm






Hello Charles,

thankyou for your answer, that will help me a lot.

CC> Boris <[EMAIL PROTECTED]> wrote:
>> 
>>
>> * First, I need to know is there a similar way to stop spammers as in
>> sendmail with /etc/access.

CC> Many people on this list will not be familiar with the detailed workings of
CC> sendmail; in general, we run qmail because (among other reasons) we don't want
CC> to have to learn sendmail's byzantine configuration.  Please explain how 
CC> this works with sendmail; then we can tell you if there's a qmail equivalent.

Ok I will show you an example. I think its very important to
understand both MTAs to decide what´s really better in what situation
but this is another story.

Here is an example of the access file.

192.168.0 RELAY
127.0.0.1 RELAY
From:[EMAIL PROTECTED]   550 Spam denied
From:[EMAIL PROTECTED]             550 SPAM F*CK YOU SH*T SPAMMER
From:[EMAIL PROTECTED]         550 SPAMMER BUY YOURSELF
From:[EMAIL PROTECTED]     550 LOAN YOURSELF, SPAMMER
From:[EMAIL PROTECTED]     550 F*** YOU SPAMMER
oo.net                          550 SPAAAAMMMEERRRR

It looks like as if this file is similar as the rpcthosts (?) file on
qmail, but its not the same. I relay incoming mails from my 192.168.0
class c network as well as localhost mails.

But if there is coming a mail from "from:..." the mail will be
rejected, and if there is a hostname only, the complete host is denied
to send us any mails.

This file has nothing to do with outgoing mails.

I use this file to setup a mini-light spamfilter and to setup general
relaying rules. Fetchmail delivers the mail to sendmail (at the moment
to qmail, hahah) so the relaying is allowed. I think its very easy to
setup and very easy to handle.

Is there a qmail thingy to do the same?


>> * Is there a way to forward all outgoing mails to a specific SMTP?

CC> Yes, smtproutes.  It's trivial.  `man qmail-remote` for details.

Aha, very interesting to know.

>> * Are there somewhere detailed instructions about implementing
>> RBL/ORBS?

CC> Yes, in many places, including djb's site and www.qmail.org.

Ok. Thanks.

>> * I have read some solution about SMTP AUTH and I need to know what
>> the people outside are using to stop spammers and to authenticate
>> users before they are allowed to send e-mails. What are the currently
>> most used solutions?

CC> There are SMTP-AUTH patches for qmail.  Two other techniques widely employed
CC> include selective relaying by IP address, and SMTP-after-POP3/SMTP-after-IMAP.

CC> Charles

There is a perl module somewhere I have seen on the qmail page I think
I will try this first.

Thanks for you answers, they helped me a lot. The next step is to find
out how are virtual users working (users without system accounts).

After that I think I have completed this part.

Qmail is nice, but sendmail is not bad at all i was using sendmail a
long time without any problems.

Sometimes I think the qmail-people think that sendmail is an enemy to
qmail, but I can´t understand this.


--
Boris






Boris <[EMAIL PROTECTED]> writes:

> 192.168.0 RELAY
> 127.0.0.1 RELAY
> From:[EMAIL PROTECTED]   550 Spam denied
> From:[EMAIL PROTECTED]             550 SPAM F*CK YOU SH*T SPAMMER
> From:[EMAIL PROTECTED]         550 SPAMMER BUY YOURSELF
> From:[EMAIL PROTECTED]     550 LOAN YOURSELF, SPAMMER
> From:[EMAIL PROTECTED]     550 F*** YOU SPAMMER
> oo.net                          550 SPAAAAMMMEERRRR

> It looks like as if this file is similar as the rpcthosts (?) file on
> qmail, but its not the same. I relay incoming mails from my 192.168.0
> class c network as well as localhost mails.

This looks like a mixture of tcpserver's access rules and the badmailfrom
control file of qmail.

> Is there a qmail thingy to do the same?

Yes - but more separated and cleaner. Relaying has nothing to do with
spamming in the first place. Relay control and rejection of specified senders
are different tasks and are provided by different programs in qmail.
The relaying you control with the rules file of tcpserver, the bad senders
are rejected by /var/qmail/control/badmailfrom.

> Sometimes I think the qmail-people think that sendmail is an enemy to
> qmail, but I can´t understand this.

It's the difference in strategic design principles and of course coding
practice that binds people to qmail and not sendmail. I don't trust
sendmail but qmail. This is based on about ten years watching sendmails
security problems.

Regards, Frank




I am back to square ONE...

I have installed fresh copy of qmail (on a fresh copy of RH 6.2). When I
send an email to "[EMAIL PROTECTED]", I get an error message:

----------------------------------------------------------------------------
---------------------------------------------
Your message did not reach some or all of the intended recipients.

      Subject:  
      Sent:     04/06/2001 11:06 AM

The following recipient(s) could not be reached:

      '[EMAIL PROTECTED]' on 04/06/2001 11:06 AM
            Unable to deliver the message due to a communications failure
        The MTS-ID of the original message is: c=US;a=
;p=TIB;l=TALIA-010406150600Z-56
            MSEXCH:IMS:TIB:MTC-TN:TALIA 3902 (000B09AA) Host Unknown
----------------------------------------------------------------------------
--------------------------------------------

Over the last month, as a class project, I have installed qmail for about
20+ times by following LWQ. Each time qmail worked for the first time.

For your information:

(1) I can send messages from Linux server (where qmail is installed)....
(2) I can receive messages from qmail (for example I received a message from
qmail to "[EMAIL PROTECTED]" this morning..."

My installation of RH 6.2 & qmail is the same each time. This time there are
two main differences:

(1) After I installed RH 6.2, I applied all patches from RH site
(2) I applied some security features (because each previous time, my Linux
server was broken into as soon as got started).


For the last three days, I have re-read LWQ and checked line-by-line the
instructions outlined in LWQ. I have also read "Running Qmail by Richard
Blum". Still I continue to get the same error. Here is how some of my
settings look (I am providing more information than may be needed but then
who knows...):

/var/qmail/supervise/qmail-smtpd/run
====================================

#!/bin/sh
PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin
export PATH
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec softlimit -m 3000000 \
        tcpserver -v -p -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
        -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp qmail-smtpd 2>&1



/etc/tcp.smtp
=============

127.0.0.:allow,RELAYCLIENT=""
63.113.255.:allow,RELAYCLIENT=""
:allow


/etc/host.allow
================
127.0.0.:allow,RELAYCLIENT=""
63.113.255.:allow,RELAYCLIENT=""
:allow

/etc/host.deny
===================
ALL: DENY

/var/log/qmail/qmail-smtpd/current
====================================

@400000003accf95c2b9bfa84 tcpserver: status: 0/20
@400000003accfd79032fe524 tcpserver: status: 0/20
@400000003accfe241eb14acc tcpserver: status: 1/20
@400000003accfe241eb4580c tcpserver: pid 2912 from 127.0.0.1
@400000003accfe2420ce46fc tcpserver: ok 2912 localhost:127.0.0.1:25
localhost:127.0.0.1:root:1024
@400000003accfea330fc080c tcpserver: end 2912 status 0
@400000003accfea330fd11ac tcpserver: status: 0/20
@400000003accfeca3628671c tcpserver: status: 1/20
@400000003accfeca362b7c2c tcpserver: pid 2928 from 127.0.0.1
@400000003accfeca36543dc4 tcpserver: ok 2928 localhost:127.0.0.1:25
localhost:127.0.0.1:root:1026
@400000003accfed7204807cc tcpserver: end 2928 status 0
@400000003accfed72049099c tcpserver: status: 0/20
@400000003acd0695279c7ae4 tcpserver: status: 0/20
@400000003acdcfe62ab1f45c tcpserver: status: 1/20
@400000003acdcfe62ab4bf34 tcpserver: pid 6915 from 63.113.255.3
@400000003acdcfe62ad9045c tcpserver: ok 6915 :63.113.255.3:25
:63.113.255.3:root:1024
@400000003acdd00936e51f9c tcpserver: end 6915 status 0
@400000003acdd00936e6310c tcpserver: status: 0/20
@400000003acdd97829999304 tcpserver: status: 0/20
@400000003acddb742c3f6e44 tcpserver: status: 0/20
@400000003acdddcc3a27e6bc tcpserver: status: 0/20

=====================================================================

One additional note, everything /etc/inetd.cof is "#" out.


Does anybody can tell, what is going on????




Kirti




* "Kirti S. Bajwa" <[EMAIL PROTECTED]> [010406 18:22]:
[a whole sh*tload of worthless information]

- What is the problem? (Aka: What did you do? What did you expect to
  happen? What happened?)
- What do the logs say (not the smtpd logs, the REAL qmail logs)

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

PGP signature





Kirti S. Bajwa <[EMAIL PROTECTED]> wrote:
> 
> ----------------------------------------------------------------------------
> ---------------------------------------------
> Your message did not reach some or all of the intended recipients.
> 
>       Subject:        
>       Sent:   04/06/2001 11:06 AM
> 
> The following recipient(s) could not be reached:
> 
>       '[EMAIL PROTECTED]' on 04/06/2001 11:06 AM
>             Unable to deliver the message due to a communications failure
>       The MTS-ID of the original message is: c=US;a=
> ;p=TIB;l=TALIA-010406150600Z-56
>             MSEXCH:IMS:TIB:MTC-TN:TALIA 3902 (000B09AA) Host Unknown
> ----------------------------------------------------------------------------
> --------------------------------------------
[...] 
> 
> Does anybody can tell, what is going on????

That error doesn't come from qmail.  Your MS-Exchange server appears to have
been unable to resolve the A or MX record for "tibonline.net".  Was the DNS
setup broken?  In any case, it's not a qmail problem.

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




You are correct. I removed everything from /etc/host.deny & /etc/host.allow
and I started getting messages. Funny this is that I did the same this
morning before posting the message without success. I am just wondering what
was different?

I thank you very much for taking time and responding. I think some times a
simple suggestion make you re-try something you think works.

Kirti





-----Original Message-----
From: Daniel Holden [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 06, 2001 5:30 AM
To: Kirti S. Bajwa
Subject: Re: I am back to square ONE...


etc/hosts.deny looks like it's denying everyone.


----- Original Message -----
From: "Kirti S. Bajwa" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 06, 2001 5:22 PM
Subject: I am back to square ONE...


> I am back to square ONE...
>
> I have installed fresh copy of qmail (on a fresh copy of RH 6.2). When I
> send an email to "[EMAIL PROTECTED]", I get an error message:
>
> --------------------------------------------------------------------------
--
> ---------------------------------------------
> Your message did not reach some or all of the intended recipients.
>
>       Subject:
>       Sent: 04/06/2001 11:06 AM
>
> The following recipient(s) could not be reached:
>
>       '[EMAIL PROTECTED]' on 04/06/2001 11:06 AM
>             Unable to deliver the message due to a communications failure
> The MTS-ID of the original message is: c=US;a=
> ;p=TIB;l=TALIA-010406150600Z-56
>             MSEXCH:IMS:TIB:MTC-TN:TALIA 3902 (000B09AA) Host Unknown
> --------------------------------------------------------------------------
--
> --------------------------------------------
>
> Over the last month, as a class project, I have installed qmail for about
> 20+ times by following LWQ. Each time qmail worked for the first time.
>
> For your information:
>
> (1) I can send messages from Linux server (where qmail is installed)....
> (2) I can receive messages from qmail (for example I received a message
from
> qmail to "[EMAIL PROTECTED]" this morning..."
>
> My installation of RH 6.2 & qmail is the same each time. This time there
are
> two main differences:
>
> (1) After I installed RH 6.2, I applied all patches from RH site
> (2) I applied some security features (because each previous time, my Linux
> server was broken into as soon as got started).
>
>
> For the last three days, I have re-read LWQ and checked line-by-line the
> instructions outlined in LWQ. I have also read "Running Qmail by Richard
> Blum". Still I continue to get the same error. Here is how some of my
> settings look (I am providing more information than may be needed but then
> who knows...):
>
> /var/qmail/supervise/qmail-smtpd/run
> ====================================
>
> #!/bin/sh
> PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin
> export PATH
> QMAILDUID=`id -u qmaild`
> NOFILESGID=`id -g qmaild`
> MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
> exec softlimit -m 3000000 \
> tcpserver -v -p -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
> -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp qmail-smtpd 2>&1
>
>
>
> /etc/tcp.smtp
> =============
>
> 127.0.0.:allow,RELAYCLIENT=""
> 63.113.255.:allow,RELAYCLIENT=""
> :allow
>
>
> /etc/host.allow
> ================
> 127.0.0.:allow,RELAYCLIENT=""
> 63.113.255.:allow,RELAYCLIENT=""
> :allow
>
> /etc/host.deny
> ===================
> ALL: DENY
>
> /var/log/qmail/qmail-smtpd/current
> ====================================
>
> @400000003accf95c2b9bfa84 tcpserver: status: 0/20
> @400000003accfd79032fe524 tcpserver: status: 0/20
> @400000003accfe241eb14acc tcpserver: status: 1/20
> @400000003accfe241eb4580c tcpserver: pid 2912 from 127.0.0.1
> @400000003accfe2420ce46fc tcpserver: ok 2912 localhost:127.0.0.1:25
> localhost:127.0.0.1:root:1024
> @400000003accfea330fc080c tcpserver: end 2912 status 0
> @400000003accfea330fd11ac tcpserver: status: 0/20
> @400000003accfeca3628671c tcpserver: status: 1/20
> @400000003accfeca362b7c2c tcpserver: pid 2928 from 127.0.0.1
> @400000003accfeca36543dc4 tcpserver: ok 2928 localhost:127.0.0.1:25
> localhost:127.0.0.1:root:1026
> @400000003accfed7204807cc tcpserver: end 2928 status 0
> @400000003accfed72049099c tcpserver: status: 0/20
> @400000003acd0695279c7ae4 tcpserver: status: 0/20
> @400000003acdcfe62ab1f45c tcpserver: status: 1/20
> @400000003acdcfe62ab4bf34 tcpserver: pid 6915 from 63.113.255.3
> @400000003acdcfe62ad9045c tcpserver: ok 6915 :63.113.255.3:25
> :63.113.255.3:root:1024
> @400000003acdd00936e51f9c tcpserver: end 6915 status 0
> @400000003acdd00936e6310c tcpserver: status: 0/20
> @400000003acdd97829999304 tcpserver: status: 0/20
> @400000003acddb742c3f6e44 tcpserver: status: 0/20
> @400000003acdddcc3a27e6bc tcpserver: status: 0/20
>
> =====================================================================
>
> One additional note, everything /etc/inetd.cof is "#" out.
>
>
> Does anybody can tell, what is going on????
>
>
>
>
> Kirti





"a whole sh*tload of worthless information"

There are three types of people on this list:

        (1) Who want the whole "sh*tload" information & become rude if you
do not do their way
        (2) Who do not want a whole "sh*tload" information & become rude if
you do not do their way
        
        (3) TRULY HELPFUL people.. No matter how basic the question is, they
will kindly help.

In my opinion (1) & (2) have other mental problems and they TAKE OUT on
people in the mailing list.

Kirti



-----Original Message-----
From: Johan Almqvist [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 06, 2001 1:42 PM
To: '[EMAIL PROTECTED]'
Subject: Re: I am back to square ONE...


* "Kirti S. Bajwa" <[EMAIL PROTECTED]> [010406 18:22]:
[a whole sh*tload of worthless information]

- What is the problem? (Aka: What did you do? What did you expect to
  happen? What happened?)
- What do the logs say (not the smtpd logs, the REAL qmail logs)

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




> I am back to square ONE...
>
> I have installed fresh copy of qmail (on a fresh copy of RH 6.2). When I
> send an email to "[EMAIL PROTECTED]", I get an error message:
>
> --------------------------------------------------------------------------
--
> ---------------------------------------------
> Your message did not reach some or all of the intended recipients.
>
>       Subject:
>       Sent: 04/06/2001 11:06 AM
>
> The following recipient(s) could not be reached:
>
>       '[EMAIL PROTECTED]' on 04/06/2001 11:06 AM
>             Unable to deliver the message due to a communications failure
> The MTS-ID of the original message is: c=US;a=
> ;p=TIB;l=TALIA-010406150600Z-56
>             MSEXCH:IMS:TIB:MTC-TN:TALIA 3902 (000B09AA) Host Unknown


Am I the only one that noticed that the bounce message looks like it came
from MS Exchange.  It doesn't look like this message even made it to the
qmail box.


Dave





On Fri, Apr 06, 2001 at 12:22:43PM -0400, Kirti S. Bajwa wrote:
>       '[EMAIL PROTECTED]' on 04/06/2001 11:06 AM
>             Unable to deliver the message due to a communications failure
>       The MTS-ID of the original message is: c=US;a=
> ;p=TIB;l=TALIA-010406150600Z-56
>             MSEXCH:IMS:TIB:MTC-TN:TALIA 3902 (000B09AA) Host Unknown

I'd say the configuration on that M$ client is broken.
Either there is a typo/misconfiguration in the entry for "SMTP-Host"
where the client tries to inject the mail or the host has no working
misconfigured DNS.
Why? Because:
>             MSEXCH:IMS:TIB:MTC-TN:TALIA 3902 (000B09AA) Host Unknown

I'd say it is NOT a qmail related problem (but then ... I don't know much
about Windows).

        \Maex





Charles & Maex:

I found out that settings for tcpwrapper ( in /etc/host.deny ) were causing
this problem. Once I cleared /etc/host.deny, the problem went away. 

I have no idea how this error message is created but I also thought that the
MS-EXCHANGE was the problem, except it is a production machine which sends
and receives thousands of messages a day. Considering this, I thought that
the problem was somewhere else.

I had previously posted my response. I hope you got it by now.

Kirti



-----Original Message-----
From: Charles Cazabon [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 06, 2001 1:59 PM
To: '[EMAIL PROTECTED]'
Subject: Re: I am back to square ONE...


Kirti S. Bajwa <[EMAIL PROTECTED]> wrote:
> 
>
----------------------------------------------------------------------------
> ---------------------------------------------
> Your message did not reach some or all of the intended recipients.
> 
>       Subject:        
>       Sent:   04/06/2001 11:06 AM
> 
> The following recipient(s) could not be reached:
> 
>       '[EMAIL PROTECTED]' on 04/06/2001 11:06 AM
>             Unable to deliver the message due to a communications failure
>       The MTS-ID of the original message is: c=US;a=
> ;p=TIB;l=TALIA-010406150600Z-56
>             MSEXCH:IMS:TIB:MTC-TN:TALIA 3902 (000B09AA) Host Unknown
>
----------------------------------------------------------------------------
> --------------------------------------------
[...] 
> 
> Does anybody can tell, what is going on????

That error doesn't come from qmail.  Your MS-Exchange server appears to have
been unable to resolve the A or MX record for "tibonline.net".  Was the DNS
setup broken?  In any case, it's not a qmail problem.

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'd say the configuration on that M$ client is broken.
Either there is a typo/misconfiguration in the entry for "SMTP-Host"
where the client tries to inject the mail or the host has no working
misconfigured DNS.
Why? Because:
>             MSEXCH:IMS:TIB:MTC-TN:TALIA 3902 (000B09AA) Host Unknown

I'd say it is NOT a qmail related problem (but then ... I don't know much
about Windows).

        \Maex




> >       '[EMAIL PROTECTED]' on

ok The Domain is tibonline.net

> >             MSEXCH:IMS:TIB:MTC-TN:TALIA 3902 (000B09AA) Host Unknown

AN MS-Exchange Server:Internet Mail Service, named TALIA could not resolve
tibonline.net

That is the problem, as Dave pointed. Check that server.


Regards,

Martin Marconcini.





"Kirti S. Bajwa" <[EMAIL PROTECTED]> writes:

> In my opinion (1) & (2) have other mental problems and they TAKE OUT on
> people in the mailing list.

Stop wasting the time of people with useless information, unrelated questions
and mixing mailing lists.

I watched your postings for some days now and I must say there hasn't been
a person like you her for a longer time.

Setting up Qmail and djbdns is not try and error - you need a basic understanding
of what you are doing. I cannot see much of it from your postings.

This list and the dns list are not for teaching Unix, teaching how the Internet
works and so on. They are not a forum for absolute beginners and people who don't
bother to read documentation. Please think about it and stop whining.

Frank




I have two boxes both with qmail 1.03 qmailqueue.patch.txt (for
qmail-scanner.0.95) and the latest tls.patch. I was never able to get
qmail-remote working on the primary box as it would crash when sending to
yahoo.com. On the secondary box I have it working, except now it can't
deliver to the primary box, but yahoo is fine. I want to use the secondary
box as my mail gateway/virus scanner.

I have tried running qmail-remote under truss (which I don't really
understand), by replacing qmail-remote with:
#! /bin/sh
truss -o /tmp/qr.truss.$$ /var/qmail/bin/qmail-remote-original $*

But this fails to run qmail-remote at all (I do get a bounce from qmail).If
I don't add the tls patch it delivers just fine to the primary. I have
increased the timeout in qmail-remote.c from 60 to 120, but that didn't
help. I am using a self signed cert on the secondary box and a real
commercial cert on the primary.

Is this likely the Primary still messing up?

Thanks all.

All systems are:
Solaris 7
gcc 2.95.3
openssl .0.9.6

********************************
John McCoy [EMAIL PROTECTED]
Systems Administrator
Central Systems
Mills College
510-430-3321
********************************





Hello,

I'm running qmail-1.03 with ucspi-tcp-0.88 and vpopmail-3.4.11-2
on Redhat 6.2. It's working well but sometimes it generates many
tcp.smtp.XXXX temporary files and qmail-pop3d began to say
"+ERR aack, child crashed". 

# ls -lg /etc/tcp.smtp*
-rw-rw-r--    1 root     root  256 Apr  6 17:23 /etc/tcp.smtp
-rw-r--r--    1 root     root    0 Mar 22 20:45 /etc/tcp.smtp.08exw4
-rw-r--r--    1 root     root    0 Mar 22 20:43 /etc/tcp.smtp.09HH8f
-rw-r--r--    1 root     root    0 Mar 22 20:46 /etc/tcp.smtp.0Luskq
-rw-r--r--    1 root     root    0 Mar 22 20:49 /etc/tcp.smtp.0NiDSa
-rw-r--r--    1 root     root    0 Mar 22 20:54 /etc/tcp.smtp.0jH5VR
-rw-r--r--    1 root     root    0 Mar 22 20:43 /etc/tcp.smtp.0mai00
-rw-r--r--    1 root     root    0 Mar 22 20:46 /etc/tcp.smtp.0v6lZQ
-rw-r--r--    1 root     root    0 Mar 22 20:54 /etc/tcp.smtp.12AAaG

At that moment, vpopmail clearopensmtp said the following error.

tcprules: fatal: unable to parse this line: xxx.xxx.213.61:alloAYCLIENT=""

Once I had this trouble, tcp.smtp.cdb has been corrupted and I always need to
do "tcprules tcp.smtp.cdb tcp.smtp.tmp < tcp.smtp". 

Is that a bug of clearopensmtp or vchkpwd on the version? 
(insufficient lock or mutex at some critical section?)

Is that also related to some vpopmail-3.4.11 problem as described below?
http://www.geocrawler.com/archives/3/91/2000/6/0/3967618

I'm just going to upgrade vpopmail to the lastest, 
but I'd like to know what really caused it before I will upgrade.
I would appreciate if someone would give me any advice.

Best Regards

----
Shin Kashiwagi / [EMAIL PROTECTED]





On Mon, Apr 02, 2001 at 12:52:30PM +0530, Mathew Chandy wrote:
> 
> >     I have a problem . I have to block an user say [EMAIL PROTECTED] from
> sending
> > mails to [EMAIL PROTECTED] . How can i acheive this in qmail.
> >
> > The mail server on mydomain.com is a qmail mail server. I tried doing this
> > using the control file badrecipient in /var/qmail/control directory. But
> > that doesn't work out.
> >
The file is "badmailfrom", not "badrecipient".

-- 
David Benfell
[EMAIL PROTECTED]
---
SuSE, qmail, ezmlm, and much much more... Hire me!

PGP signature





Peter Cavender wrote:

> Have there been any changes on the DNS setup for your system; i.e., your
> nameservers.  In my experience this has been the #1 cause of delays,
> because email/qmail depends heavliy on DNS service.  I have several
> nameserver changeovers, and when things are not exactly kosher, qmail
> grinds to a crawl.

Turns out for some reason my ISP is not returning host names for my
block of ip's

$ dnsname 216.254...

times out. 

Also note that a few recent messages were in error in suggesting -h flag
to tcpserver. The options I used are:

-v -p -l 0 -H -R -x /etc/tcp.smtp.cdb 

But isn't the -p not correct here?

Thanks again for your help.

--Tom Jackson




On Fri, Apr 06, 2001 at 09:50:14AM -0700, Tom Jackson wrote:
> Also note that a few recent messages were in error in suggesting -h flag
> to tcpserver. The options I used are:
> 
> -v -p -l 0 -H -R -x /etc/tcp.smtp.cdb 
> 
> But isn't the -p not correct here?

If you use -p and DNS is broken you will get a lot of timeouts, as
-p enforces a few more DNS lookups.

And "-l 0" is also nonsense. This should be "-l localhostname" this is
a NAME, not a number.

See
    http://cr.yp.to/ucspi-tcp/tcpserver.html

        \Maex





On Fri, Apr 06, 2001 at 09:20:44PM +0200, Markus Stumpf wrote:
> And "-l 0" is also nonsense. 

No, it's not

> This should be "-l localhostname" this is
> a NAME, not a number.

Says who?

> 
> See
>     http://cr.yp.to/ucspi-tcp/tcpserver.html

You should have seen it yourself. From that URL:

----
* -l localname: Do not look up the local host name in DNS; use localname
* for the environment variable $TCPLOCALHOST. A common choice for localname
* is 0. To avoid loops, you must use this option for servers on TCP port
* 53.
---

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

PGP signature





On Fri, Apr 06, 2001 at 09:20:44PM +0200, Markus Stumpf wrote:
> And "-l 0" is also nonsense. This should be "-l localhostname" this is
> a NAME, not a number.

It can be whatever you want, and if you're not concerned about what is logged,
0 is as good as anything else. In fact, 0 is what DJB's publicfile's configure
program uses.

Chris

PGP signature





Hello,I try,following the qmail FAQ,to add the variable to be able
to insert "Mail-Follow-Up To:" automatically.

So I create $HOME/.lists which contains the mailing list rcpt@domain
this file has chmod 644 chown user chgrp user,
then I firstly add these lines into $HOME/.bash_profile,
then into /etc/profile because I get no the result:

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin
BASH_ENV=$HOME/.bashrc
USERNAME=""
QMAILMFTFILE=$HOME/.lists

export USERNAME BASH_ENV PATH QMAILMFTFILE


# /etc/profile

# System wide environment and startup programs
# Functions and aliases go in /etc/bashrc

PATH="$PATH:/usr/X11R6/bin"

ulimit -c 1000000
if [ `id -gn` = `id -un` -a `id -u` -gt 14 ]; then
        umask 002
else
        umask 022
fi

USER=`id -un`
LOGNAME=$USER
MAIL="/var/spool/mail/$USER"

HOSTNAME=`/bin/hostname`
HISTSIZE=1000
QMAILFMFTFILE=$HOME/.lists

if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then
        INPUTRC=/etc/inputrc
fi

export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC QMAILMFTFILE

for i in /etc/profile.d/*.sh ; do
        if [ -x $i ]; then
                . $i
        fi
done

unset i

But this still does not works,
any idea?

-- 
Regards,: Marco Calistri <[EMAIL PROTECTED]>
gpg key available on http://www.qsl.net/ik5bcu
Xfmail 1.4.7p2 on linux RedHat 6.2






On 06-Apr-2001 Charles Cazabon wrote:
> Marco Calistri <[EMAIL PROTECTED]> wrote:
>> BTW now Fetchmail[OT] is reporting this message:
>> 
>>  X-Fetchmail-Warning: recipient address [EMAIL PROTECTED] didn't match any
>>  local name
> 
> Mailing list mail will not have your email address in the headers; you should
> either tell fetchmail to look at the Delivered-To: header (if the MTA on the
> POP3 server/IMAP server is qmail), or give it some sort of instruction for
> default deliveries.

Hi Charles,my POP is using a different server I think:
Received: from [] by fep14-svc.tin.it (InterMail vM.4.01.03.13)

...well I tried to put "localdomains ampr.org" into .fetchmailrc
but this is not the solution.
I followed the docs. on LWQ about qmail+fetchmail and the example reports to put
"nodns" and I guess it is the reason of X-Fetchmail-Warning:
---
#.fetchmailrc
set postmaster "ik5bcu"
set no bouncemail
set invisible
poll box.tin.it localdomains ampr.org  with proto pop3 nodns
aka tin.it
user "" there has password "" is "" here
fetchall forcecr to * here
antispam 571,550,501,552,553,554
smtphost localhost
---
> 
> Or use getmail, my replacement for fetchmail.  You can find it at the link in
> my .sig.

I'am curious to see your getmail.
Thanks!
Marco

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





On 06-Apr-2001 Adrian Ho wrote:
> On Fri, 6 Apr 2001, Marco Calistri wrote:
> 
>> Hi Dave,Thank you very much,about dns I put the 127.0.0.1 as 3rd nameserver
>> into my /etc/resolv.conf,the previous 2 are the ISP's nameservers.
> 
> Since most (all?) resolver libraries query resolv.conf's nameserver list
> in order, your dnscache will _never_ be queried so long as either or both
> of your ISP's nameservers are reachable and responding.
 
Well I've put localhost as 3rd nameserver to test it
when I'am not connected to the INTERNET.
DNS_CACHE queries on localhost are correct but localhost answer only
for the loopback IP=127.0.0.1,not for the NIC=192.168.x.x to where is
pointing my hostname.

> I have never found any reason to list a locally-maintained dnscache
> anywhere else but #1 in resolv.conf.  I'm curious to know if you've found
> such a reason.
 
Unexperience apart the answer is above.

>> I was aiming to avoid some of the "unknown" messages from my mail's headers
>> Anyway it sounds strange (to me) that my localdns can't find my hostname!!
> 
> As noted above, your ISP's nameservers are being queried first.  Since (I
> presume) they don't know about your domain, what you're getting is not
> surprising at all.
 
Yes my ISP doesn't know about my hostnames.
About what I'am getting with local queries:
that's shouldn't be true if I'am not connected to INTERNET,
my dns should answer to my local queries,is it?

Many Thanks.
Marco
> -- 
> Adrian Ho   [EMAIL PROTECTED]
> 




OK I finally got qmail-remote to run under truss from the command line. Here
is what I see:

open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
What? Why? I can't find this file on any system I have (Solaris and Linux)

open64("/var/qmail/bin/qmail-remote", O_RDONLY) = 3
close(19)                                       Err#9 EBADF
I've gotten the same results with qmail-remote ownded by root:other and
qmailr:qmail.

Here are the remaining errors that I didn't get at all:
fcntl(19, F_SETFD, 0x00000001)                  = 0
ioctl(2, TCGETA, 0xFFBEF9AC)                    = 0
ioctl(19, TCGETA, 0xFFBEF9AC)                   Err#25 ENOTTY
read(19, " # ! / b i n / s h\n / u".., 128)     = 85
brk(0x00039918)                                 = 0
fork()                                          = 9675
waitid(P_PID, 9675, 0xFFBEF8A8, WEXITED|WTRAPPED|WNOWAIT) = 0
ioctl(0, TIOCGPGRP, 0xFFBEF864)                 = 0
ioctl(0, TCGETS, 0x0003836C)                    = 0
waitid(P_PID, 9675, 0xFFBEF8A8, WEXITED|WTRAPPED) = 0
brk(0x00039718)                                 = 0
read(19, 0x00038478, 128)                       = 0
ioctl(19, TCGETA, 0xFFBEF944)                   Err#25 ENOTTY
ioctl(19, TCGETA, 0xFFBEF9A4)                   Err#25 ENOTTY
close(19)                                       = 0
llseek(0, 0, SEEK_CUR)                          = 165841
_exit(0)


I don't see a big blow out but I really have no clue.
Thanks for any help you can give.

********************************
John McCoy [EMAIL PROTECTED]
Systems Administrator
Central Systems
Mills College
510-430-3321
********************************





I'm trying to run qmail with tcpserver, and running this command:
17:31:44 root:/etc>/usr/local/bin/tcpserver -u 518 -g 521 0 smtp 
/var/qmail/bin/qmail-smtpd &

gives the following error messsage:
tcpserver: fatal: unable to bind: address already used

i'm not sure what do here.  any help would be appreciated.

thanks

todd
-- 
#!/bin/sh
for DVDs in Linux screw the MPAA and ; do dig $DVDs.z.zoy.org ; done 
| perl -ne 's/\.//g; print pack("H224",$1) if(/^x([^z]*)/)' | gunzip. 




well duh.. 

either you running another tcpserver already
or your sendmail still running

kill sendmail or tcpserver and try again

----- Original Message ----- 
From: "Todd Kennedy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 06, 2001 3:34 PM
Subject: tcpserver help


> I'm trying to run qmail with tcpserver, and running this command:
> 17:31:44 root:/etc>/usr/local/bin/tcpserver -u 518 -g 521 0 smtp 
> /var/qmail/bin/qmail-smtpd &
> 
> gives the following error messsage:
> tcpserver: fatal: unable to bind: address already used
> 
> i'm not sure what do here.  any help would be appreciated.
> 
> thanks
> 
> todd
> -- 
> #!/bin/sh
> for DVDs in Linux screw the MPAA and ; do dig $DVDs.z.zoy.org ; done 
> | perl -ne 's/\.//g; print pack("H224",$1) if(/^x([^z]*)/)' | gunzip. 
> 





Todd Kennedy <[EMAIL PROTECTED]> writes:

> gives the following error messsage:
> tcpserver: fatal: unable to bind: address already used

Comment out the line beginning with "smtp" in your /etc/inetd.conf file
and send the inetd process a HUP signal (kill -HUP <pid of inetd>).
Inetd is still waiting for connections to this port.

Regards, Frank




On Fri, Apr 06, 2001 at 03:34:18PM -0400, Todd Kennedy wrote:
> I'm trying to run qmail with tcpserver, and running this command:
> 17:31:44 root:/etc>/usr/local/bin/tcpserver -u 518 -g 521 0 smtp 
> /var/qmail/bin/qmail-smtpd &
> 
> gives the following error messsage:
> tcpserver: fatal: unable to bind: address already used

Something is already listening to your SMTP port. Find out what it is and kill
it.

Chris

PGP signature






On 06-Apr-2001 Todd Kennedy wrote:
> I'm trying to run qmail with tcpserver, and running this command:
> 17:31:44 root:/etc>/usr/local/bin/tcpserver -u 518 -g 521 0 smtp 
> /var/qmail/bin/qmail-smtpd &
> 
> gives the following error messsage:
> tcpserver: fatal: unable to bind: address already used
> 
> i'm not sure what do here.  any help would be appreciated.
> 
> thanks
> 
> todd

I get the same at my first attempt with tcpserver:
comment the smtp line into your /etc/inetd.conf!

-- 
Regards,: Marco Calistri <[EMAIL PROTECTED]>
gpg key available on http://www.qsl.net/ik5bcu
Xfmail 1.4.7p2 on linux RedHat 6.2


> -- 
>#!/bin/sh
> for DVDs in Linux screw the MPAA and ; do dig $DVDs.z.zoy.org ; done 
>| perl -ne 's/\.//g; print pack("H224",$1) if(/^x([^z]*)/)' | gunzip. 




Hi,

I'm converting few thousands of POP3 users from sendmail to qmail.  I have 
qmail up and running.   I'm using maildir format.   I want to move away from 
/etc/passwd authentication.   What type of POP toaster setup do you 
recommend?   I read single UID/GID setup.  Someone mentioned LDAP.  I want 
to manage users, virtual domains, mailing lists, etc. via web browser and 
have a scalable mail server.   TIA


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com





Hi all,

I'm using FreeBSD 4.2 and i trying to configure relay-ctrl 2.5.

My problem is that:  Never the ip's are recorded in /var/spool/relay-ctrl .

My supervise scripts are:

/var/qmail/supevise/qmail-smtpd/run:

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 2000000 \
    /usr/local/bin/tcpserver -DRvX -x /etc/tcp.smtp.cdb -c "$MAXSMTPD"
\
        -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp
/var/qmail/bin/qmail-smtpd
2>&1

/var/qmail/supevise/qmail-pop3d/run:

#!/bin/sh
exec /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup
mail.weber
dev.com.br /usr/local/bin/checkvpw /usr/sbin/relay-ctrl-allow
/var/qmail/bin/qmail-pop3d Maildir 2>&1

Some dirs contents:

ls -l /etc/tcp*:

-rw-r--r--  1 root  wheel    26 Mar 30 20:39 /etc/tcp.smtp
-rw-r--r--  1 root  wheel  2090 Apr  4 20:55 /etc/tcp.smtp.cdb

 ls -l /etc/relay-ctrl/*:

-rw-r--r--  1 root  wheel   3 Apr  4 20:07 /etc/relay-ctrl/expiry
-rw-r--r--  1 root  wheel  22 Apr  4 16:25 /etc/relay-ctrl/rule
-rw-r--r--  1 root  wheel   5 Apr  4 16:25 /etc/relay-ctrl/rulesdir
-rw-r--r--  1 root  wheel  13 Apr  4 16:26 /etc/relay-ctrl/smtpcdb
-rw-r--r--  1 root  wheel   9 Apr  4 16:27 /etc/relay-ctrl/smtprules
-rw-r--r--  1 root  wheel  22 Apr  4 16:27 /etc/relay-ctrl/spooldir
-rw-r--r--  1 root  wheel  24 Apr  4 16:30 /etc/relay-ctrl/tcprules

cat /etc/relay-ctrl/*:
900
:allow,RELAYCLIENT=''
/etc
tcp.smtp.cdb
tcp.smtp
/var/spool/relay-ctrl
/usr/local/bin/tcprules

Can Somebody help me ?

TIA
Jairo

o nosso site: http://www.sbs-consultores.com.br




hi
is there a way to bypass the queue? 

i just want recive and validate emails using spam-control patch and then send it to 
antivirus running 
on localhost:port  that then sends the emails to internal macines connected to  big 
fibre storage systemis.

i am searching for 100 msgs second average using dual pIII system
i have  put it to work on linux  OS but qmail gets al the chrge and starts queueing
i know the internal machines are always there in fact there are a lot off machines 
wating for this trafic but not qmails ..

Any ideias 
any help

Thanks
hantunes 






Hi

I went through the FAQ at www.qmail.org but what I see is , to keep all
incoming and outgoing messages ,we need to recompile Qmail.

Please let me know how I can do this using RELAYCLIENT or direct me to the
right FAQ

- Sumith

> > All emails relayed to @xxx.com (which is remote) need to be Bcc'ed to
> > another address.
>
> You may catch all mail from the webserver (by it's IP address, see
> the RELAYCLIENT trick) and within the processing you may check if the
> envelope receiver matches the wanted domain.
>
> The RELAYCLIENT setup is described in the FAQ (look for FIXME).
>
> Regards, Frank
>





"Sumith" <[EMAIL PROTECTED]> writes:

> Please let me know how I can do this using RELAYCLIENT or direct me to the
> right FAQ

See
http://cr.yp.to/qmail/faq/servers.html#network-rewriting

Regards, Frank


Reply via email to