Re: fastforward

2000-10-18 Thread Richard Sjögårdh

Hi all,
the problem still exists for me. I want the same incoming mail to be 
delivered to a local user _and_ to another address, in this case the 
private home address of the same user. I've tried the .qmail
[EMAIL PROTECTED]
./Maildir
but it doesn't work.
Perhaps if I could cc all incoming mail to a local user to an extern 
address? Does anyone know how to set this up?

...it was so simple in sendmail. (!)

/Richard



At 13:43 2000-10-17 +0200, Carsten Mueller wrote:
sorry brett randalL :-)


At 23:29 16.10.00, you wrote:
Carsten Mueller [EMAIL PROTECTED] writes:

  brett randal: have you ever worked with fastforward???

Well, if you could read, my surname has 2 l's (randall). And yes, I
use fastforward extensively.

  if some users want to use fastforward and send mails to local and remote
  users without .qmail files let them do it!
  ...
  if you want to get mails for [EMAIL PROTECTED] and deliver it local to 
 user
  test2 und remote to [EMAIL PROTECTED] do the following steps:

No, he said in the original e-mail that he would like to have the
following line in aliases:

user: [EMAIL PROTECTED], user
NOT
user: [EMAIL PROTECTED], anotheruser
it´s the same problem.

my description work with

user: [EMAIL PROTECTED], user
and
user: [EMAIL PROTECTED], anotheruser

cause if somewhere.else.com is not in locals all incoming mail
ist passed through fastforward.

 From his description, he wants an e-mail that is addressed to user to
be delivered to that SAME user locally (ie to their maildir), and to
another e-mail address elsewhere. That is the syntax and description
Richard gave, that is what I told him to use .qmail files
for. Sendmail's implementation of aliases, even though they invented
them, is wrong. It should theoretically create a loop, but it doesn't.

Richard, please clarify your question so we can help you properly.
--
===
|User: |Href: |Status:|
---
|Brett Randall |http://xbox.ipsware.com/|Hibernating|
===
  Generated by Microsoft Ass-Watcher s/(c)/(!c)/g 2003





Re: fastforward

2000-10-18 Thread Brett Randall

 "Richard" == Richard Sjögårdh [EMAIL PROTECTED] writes:

Richard Hi all, the problem still exists for me. I want the same
Richard incoming mail to be delivered to a local user _and_ to
Richard another address, in this case the private home address of
Richard the same user. I've tried the .qmail
Richard [EMAIL PROTECTED]
Richard ./Maildir
Richard but it doesn't work.

Try:

[EMAIL PROTECTED]
./Maildir/

like I originally stated.

Richard Perhaps if I could cc all incoming mail to a local user
Richard to an extern address? Does anyone know how to set this
Richard up?

This is qmail...you shouldn't have to.
-- 
===
|User: |Href: |Status:|
---
|Brett Randall |http://xbox.ipsware.com/|Hibernating|
===
 Generated by Microsoft Ass-Watcher s/(c)/(!c)/g 2003



Re: Fat qmail in Solaris, trim qmail in OpenBSD?

2000-10-18 Thread Martin Jespersen

Here is the sizes on my Mandrake 7.1 box:

VSZ  RSS COMMAND
 1084  376 qmail-send
 1052  412 splogger
 1040  320 qmail-lspawn
 1040  324 qmail-rspawn
 1032  328 qmail-clean

As you can see, my footprints are even smaller than your freebsd box...
dunno why though, i didn't strip the executables after making...

/Martin

[EMAIL PROTECTED] wrote:
 
 We finally got around sometime to set up an OpenBSD 2.7 box and
 put up qmail 1.03 on it.
 
 It didn't take us long to notice the memory footprint difference.  The
 observation always ruined my appetite for dinner, and I now have quite
 a dim view towards Solaris :(
 
 Below is a short tabulation of what we have seen:
 ---
  vsz   The total size of the process in  virtual  memory,
in kilobytes.
  rss   The resident set size of  the  process,  in  kilo-
bytes.
 
 [Solaris8] /bin/ps -o vsz,rss,comm -e
  VSZ  RSS COMMAND
  920  568 multilog
  904  552 qmail-clean
  920  512 qmail-lspawn
 1616  864 qmail-pop3d
 1592  760 qmail-popup
  912  560 qmail-rspawn
 1192  816 qmail-send
 1808 1064 qmail-smtpd
  904  504 supervise
  936  528 svscan
  896  376 tai64n
 1680 1168 tcpserver
 
 [OpenBSD2.7] /bin/ps -o vsz,rss,comm -ax
   VSZ   RSS UCOMM
48   408 multilog
36   372 qmail-clean
44   404 qmail-lspawn
40   400 qmail-pop3d
24   320 qmail-popup
40   392 qmail-rspawn
   108   448 qmail-send
80   416 qmail-smtpd
24   412 supervise
68   392 svscan
16   268 tai64n
60   500 tcpserver
 ---
 
 The Solaris 8 runs in 32bit mode, on a UltraSPARC IIi Netra 105 box
 with 512MB RAM.  The OpenBSD runs on a Dell P5MMX166 64 MB RAM.
 
 I recall (but I can't find it right now) that Dr. Bernstein mentioned
 somewhere in one of his docs that bloating executable sizes was one
 "trait" of Solaris.  I didn't know it's this bad! 8-(
 
 May I ask my fellow qmail admins/hacks the following:
 
 o can you confirm my observations?
 o can I do anything to reduce the footprints of Solaris executables?
 
 It's really depressing to compare the interactive responses of telnet
 host 25 of the two setups above.  The Sun box runs at 440Mhz, but
 owing to the large process size, it's actually "visibly" slower than
 that of a lowly PeeCee running at 166Mhz :(
 
 After the above observations, I don't think I will setup a linux box
 soon for tinkering.  Too much too soon is not good for health :
 
 Regards,
 
 Chin Fang
 [EMAIL PROTECTED]



Re: fastforward

2000-10-18 Thread Richard Sjögårdh

That´s what i did,  I just forgot the slash in te mail.


At 18:41 2000-10-18 +1100, Brett Randall wrote:
  "Richard" == Richard Sjögårdh [EMAIL PROTECTED] writes:

 Richard Hi all, the problem still exists for me. I want the same
 Richard incoming mail to be delivered to a local user _and_ to
 Richard another address, in this case the private home address of
 Richard the same user. I've tried the .qmail
 Richard [EMAIL PROTECTED]
 Richard ./Maildir
 Richard but it doesn't work.

Try:

[EMAIL PROTECTED]
./Maildir/

like I originally stated.

 Richard Perhaps if I could cc all incoming mail to a local user
 Richard to an extern address? Does anyone know how to set this
 Richard up?

This is qmail...you shouldn't have to.
--
===
|User: |Href: |Status:|
---
|Brett Randall |http://xbox.ipsware.com/|Hibernating|
===
  Generated by Microsoft Ass-Watcher s/(c)/(!c)/g 2003




Re: fastforward

2000-10-18 Thread Brett Randall

 "Richard" == Richard Sjögårdh [EMAIL PROTECTED] writes:

Richard That´s what i did, I just forgot the slash in te mail.

Well, in that case, what do the logs say when you try to send an
e-mail to that address?
-- 
"Double your drive space - delete Windows!"

- Bumper Sticker



Re: qmail-smtpd-auth-0.26 - security fix

2000-10-18 Thread Krzysztof Dabrowski


At 18:41 2000-10-17 +0200, Olivier M. wrote:
On Tue, Oct 17, 2000 at 11:44:39AM +0200, Krzysztof Dabrowski wrote:
  Hello,
  A new version of qmail-smtpd-auth patch has been released.
  http://members.elysium.pl/brush/qmail-smtpd-auth/

looks nice. Do you know if it works with qmail+vmailmgr ?
(your doc only talk about vpopmail)

it should work with anything that is checkpassword compatible.

Kris




Re: Linux7

2000-10-18 Thread pgracia



I installed qmail+vpopmail+qmailadmin under xinetd in Red Hat 7 without big problems:

SMTP (taken from www.xinet.org FAQ):

service smtp{
 disable= no
  socket_type   = stream
protocol= tcp
wait  = no
user  = qmaild
id   = smtp
server = /var/qmail/bin/tcp-env
server_args   = /var/qmail/bin/qmail-smtpd
log_on_success -= DURATION USERID PID HOST EXIT
log_on_failure -= USERID HOST ATTEMPT RECORD

#Some interesting features


#only_from= 198.72.5.0
#redirect= 10.0.0.1 25


}


POP3:

service pop3{
  disable= no
socket_type   = stream
protocol= tcp
wait  = no
user  = root
id   = pop3
server = /var/qmail/bin/tcp-env
server_args   = /var/qmail/bin/qmail-popup hostname /home/vpopmail/bin/vchkpw (or /bin/checkpassword if you don't use vpopmail) /var/qmail/bin/qmail-pop3d Maildir
}

Paco Gracia
Director Técnico
Amira Sistemas

our qmail server shutdown HELP!!!!

2000-10-18 Thread zhangshouhui



hi:
we have two mail severs use qmail(+freebsd) to send 
mail(ezmlm)
but in this few days ,it often shutdown.
show:
 db
 Fatal trap 12: page fault while in kernel 
mode
 fault virtual address =0x18
 fault code =supervisor write,page not 
present
 current proccess=19895(qmail-queue)

why?? we use PC SERVER ,connect local 40,remote 
400


urgnt help : smtp routes not working

2000-10-18 Thread reach_prashant



  hello friends 


i am trying to run 2 instances of qmail on same mechine  one 

/var/qmail(qmail-smtpd listning on port 25), 


now for this qmail i have created /var/qmail/control/smtproutes 

hotmail.com:host.domain.com:26  
yahoo.com:host.domain.com:26

and the other 

/var/qmail2/   ( qmail-smtpd  listning on port 26)


   but /var/qmail is not atall sending any mails to /var/qmail2's  smtpd
which is running and listning on port 25 


  i have restarted both the qmail instances  , but its still not working , 



please tell me where i have done a mistake ;

thanks and regards 
Prashant Desai





Re: urgnt help : smtp routes not working

2000-10-18 Thread Brett Randall

 "reach" == reach prashant [EMAIL PROTECTED] writes:

reach   hello friends i am trying to run 2 instances of qmail on
reach same mechine one

Oh no! Its you again!

reach /var/qmail (qmail-smtpd listning on port 25),

reach now for this qmail i have created
reach /var/qmail/control/smtproutes

reach hotmail.com:host.domain.com:26 yahoo.com:host.domain.com:26

reach and the other
reach /var/qmail2/ ( qmail-smtpd listning on port 26)
reachbut /var/qmail is not atall sending any mails to
reach /var/qmail2's smtpd which is running and listning on port
reach 25

Don't you mean /var/qmail2's smtpd which should be listening to port
26?

reach   i have restarted both the qmail instances , but its still
reach not working ,

I'm no expert, but I'd say you need to change a few things before you
compile qmail to make it work in a directory other than /var/qmail. Oh
and also logs (NOT complete ones this time, just of what happens), the
relevant config files in control (both control dirs) would be
good...no guarantees I can help you (I'm kind of busy) but someone can
if you give some more info.
-- 
"I wonder what Jesus would do if HE had to reload Windows 95 for the
eighth time today ?"

- Mirabour Gilbride



qmail Digest 18 Oct 2000 10:00:01 -0000 Issue 1157

2000-10-18 Thread qmail-digest-help


qmail Digest 18 Oct 2000 10:00:01 - Issue 1157

Topics (messages 50707 through 50763):

pop3 and smtp in redhat7
50707 by: Shashi Dahal
50714 by: Dave Sill
50723 by: Sean Reifschneider

Forwarding to another mailbox on same qmail box
50708 by: Michael Hinds
50709 by: Brett Randall

Re: fastforward
50710 by: Carsten Mueller
50754 by: Richard Sjögårdh
50755 by: Brett Randall
50757 by: Richard Sjögårdh
50758 by: Brett Randall

unsent mail
50711 by: Mark Lo
50712 by: Dave Sill

Re: Send email very slowly
50713 by: Dave Sill

Re: How to hide the ip address of the client sender from the message header?
50715 by: Mike  A. Sauvain
50717 by: Tim Hunter
50727 by: Mike  A. Sauvain
50728 by: Tim Hunter

virtualhosts and aliases
50716 by: Roger Lipscombe
50725 by: Dave Sill

qmail-mrtg-multilog [all 0's for me]
50718 by: Alex Khanin
50719 by: Gary Richardson

Re: qmail-smtpd-auth-0.26 - security fix
50720 by: Olivier M.
50759 by: Krzysztof Dabrowski

Re: qmail Memphis RPM relaying by default?
50721 by: Mate Wierdl

Re: Bounce-no-mailbox AND postmaster vpopmail delivery
50722 by: davi.avati.com.br

Re: vpopmail
50724 by: Sean Reifschneider
50726 by: Ken Jones
50735 by: Sean Reifschneider

Linux7
50729 by: Mike Jimenez
50731 by: kevin.oceania.net
50734 by: Sean Reifschneider
50741 by: Ken Jones
50742 by: kevin.oceania.net
50743 by: Sean Reifschneider
50746 by: Ken Jones
50753 by: Jeroen ten Berge
50760 by: pgracia.amira.es

pop3 question
50730 by: Eric Garff
50732 by: Mira Tempir

Re: that domain isn't in my list of allowed rcpthosts
50733 by: kevin.oceania.net

I'm trying to do something weird coders help needed.
50736 by: Javier Szyszlican
50737 by: Peter Samuel

open relay test
50738 by: kevin.oceania.net
50739 by: Hubbard, David

stopping relaying
50740 by: kevin.oceania.net

relay-ctrl-2.5 doesn't work
50744 by: Hans Peyrot
50745 by: Sean Reifschneider

Fat qmail in Solaris, trim qmail in OpenBSD?
50747 by: fangchin.leland.stanford.edu
50756 by: Martin Jespersen

dots in email addresses (probably not what you think)
50748 by: bthomson.csi.co.nz
50749 by: Alex Pennace

sendmail and relaying
50750 by: kevin.oceania.net
50751 by: Brett Randall

PROBLEM WITH SPEED
50752 by: Sinisa Malesevic

our qmail server shutdown HELP
50761 by: zhangshouhui

urgnt help : smtp routes not working
50762 by: reach_prashant.zeenext.com
50763 by: Brett Randall

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]


--



Dear All,
How do I define pop3 and smtp for qmail in redhat7 which uses xinetd.

Thanks

-- 
Best regards,
 Shashi  mailto:[EMAIL PROTECTED]






Shashi Dahal [EMAIL PROTECTED] wrote:

How do I define pop3 and smtp for qmail in redhat7 which uses xinetd.

The recommended server for qmail services is still tcpserver from
ucpsp-tcp[1], as detailed in "Life with qmail"[2].

-Dave

Footnotes: 
[1]  http://cr.yp.to/ucspi-tcp.html

[2]  http://Web.InfoAve.Net/~dsill/lwq.html




On Tue, Oct 17, 2000 at 04:32:01AM +0545, Shashi Dahal wrote:
How do I define pop3 and smtp for qmail in redhat7 which uses xinetd.

Pick up the SRPMs from http://www.em.ca/~bruceg/qmail+patches/ and
build and install them ("rpm --rebuild whatever.src.rpm" generates
the binary RPM and puts it in /usr/src/redhat/RPMS/i386).  These install
tcpserver and set them up to handle SMTP and POP.

If the build hangs, let me know.  I've been meaning to track that one
down.  BruceG: brp-compress has been hanging during a --rebuild lately.
This seems to be a Redhat problem.

Sean
-- 
 Let us live!!!  Let us love!!!  Let us share the deepest secrets
 of our souls!!!   You first.
Sean Reifschneider, Inimitably Superfluous [EMAIL PROTECTED]
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python




Hi guys,

I'm trying to forward all mail for [EMAIL PROTECTED] to
[EMAIL PROTECTED] At the moment info exists as a Linux user, but that
doesn't have to be the case. I have a .qmail file in /home/info with 1
line:

/home/otheruser/Mailbox

qmail complains that access is denied to that Mailbox file when it tries
to forward the mail.

I'd rather not install any extra packages (like .forward???) for such a
simple task. Any suggestions?

Cheers,

Michael Hinds




 "Michael" == Michael Hinds [EMAIL 

qlist

2000-10-18 Thread roberto . bazan

Hi, everybody, i'm newbie

Where can i find qlist package?

Thanks



Re: our qmail server shutdown HELP!!!!

2000-10-18 Thread Dave Sill

"zhangshouhui" [EMAIL PROTECTED] wrote:

we have two mail severs use qmail(+freebsd) to send mail(ezmlm)
but in this few days ,it often shutdown.
show:
  db
  Fatal trap 12: page fault while in kernel mode
  fault virtual address =0x18
  fault code =supervisor write,page not present
  current proccess=19895(qmail-queue)

why?? we use PC SERVER ,connect local 40,remote 400

(Please fix your clock. It's October, not March.)

Are both systems having the same problems? If so, I'd suspect a kernel 
bug. If not, it could be a hardware problem.

-Dave



Re: sendmail and relaying

2000-10-18 Thread Dave Sill

Brett Randall [EMAIL PROTECTED] wrote:

... then providing you follow either Life With qmail
(how is that an acronym without a capital q? :P

The document is titled "Life with qmail". The acronym is LWQ.

All those discussions
about qmail not having a capital q, and the qmail logo DOES have a
capital Q...what is this world coming to? :)

There is no "the" qmail logo. There is *a* qmail logo with a capital
Q, but the qmail logo in LWQ doesn't have one.

... HOWEVER, on that
note, I have heard rumours that the qmail RPMs are by default open
relays.

That rumor was debunked by the RPM author yesterday. Following the RPM 
installation instructions will no result in an open relay.

-Dave



Re: qlist

2000-10-18 Thread Vince Vielhaber

On Wed, 18 Oct 2000 [EMAIL PROTECTED] wrote:

 Hi, everybody, i'm newbie
 
 Where can i find qlist package?

Dan phased out qlist a number of years ago in favor of ezmlm.  You might
still be able to find it on ftp://cr.yp.to but you're probably better off
with ezmlm (which can be found at the same place).

Vince.
-- 
==
Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net
 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
Online Campground Directoryhttp://www.camping-usa.com
   Online Giftshop Superstorehttp://www.cloudninegifts.com
==






Re: fastforward

2000-10-18 Thread Charles Cazabon

Richard Sjögårdh [EMAIL PROTECTED] wrote:
 the problem still exists for me. I want the same incoming mail to be 
 delivered to a local user _and_ to another address, in this case the 
 private home address of the same user. I've tried the .qmail
 [EMAIL PROTECTED]
 ./Maildir
 but it doesn't work.

Sure it does.  What do you mean by "doesn't work".  What did you expect it
to do?  What did it actually do?  And most importantly, What Do The Logs
Say? (tm).

 Perhaps if I could cc all incoming mail to a local user to an extern 
 address? Does anyone know how to set this up?

That's effectively what the above does.  Details, please.

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



Rejecting spam

2000-10-18 Thread Alex Povolotsky

Hello!

I haven't find it in FAQ's... how do I set up tcpserver to reject SMTP connections
from non-resolving hosts?

Alex.



dnscache rbldns

2000-10-18 Thread Daniel Augusto Fernandes


Hey people,

Sorry for the cross-posting!

But I just want to know how is this now? Is mail-abuse.org still not
providing TXT records for listed IP addresses in relays.mail-abuse.org?
Does djbdns V. 1.02 still requires a patch like
http://www.cqc.com/~pacman/projects/rblsmtpd-rss/ to use an A record?


I'm using this in my /var/qmail/supervise/qmail-smtpd/run:

# ... \
# rblsmtpd -rrelays.orbs.org -rrbl.maps.vix.com -rdialups.mail-abuse.org
\
# ...

Is this the best choice? How could I make qmail-smtpd use rbldns in my
localhost? I already have a dnscache running in this machine. I think it
would be better to have a Secondary zone for those dns zones in my
rbldns server.

Your help would be really appreciated!


Daniel Augusto Fernandes (DAF tm)   [EMAIL PROTECTED]
GCSNethttp://www.gcsnet.com.br/

 Se você não encontra
 o sentido das coisas
 é porque este não
 se encontra, se cria.
   Antoine Saint-Exupéry



Re: dots in email addresses (probably not what you think)

2000-10-18 Thread Dave Sill

[EMAIL PROTECTED] wrote:

2) I know that qmail messes about with dot's for a reason

qmail "messes about with dot's" in *extension addresses* to prevent the
possibility of people using .. to refer to files outside the user's
area. If your address isn't an extension address, qmail won't mess
with the dots.

We really need to see some logs entries. How about manually injecting
(via telnet to port 25) a message to a foo.bar@whatever address and
show us the associated log entries from qmail-send.

-Dave



RE: dnscache rbldns

2000-10-18 Thread Hubbard, David

You're correct, mail-abuse.org has removed the TXT records
from the relays service.  djbdns doesn't require a patch
though, djbdns is name servers and associated programs,
I think you meant rblsmtpd, that does need the patch if you
want to use the MAPS relay server.  DJB's view of the issue
on the rblsmtpd web page is that BIND is the problem since
it can't handle all the TXT records so MAPS should use his
DNS server instead.

So anyway... get rbldns built and installed, I put mine
in /var/rbldns and set it's root zone to myspamblocker.com
Once you have it ready to go, add the appropriate entries
into it's data file:
/var/rbldns/root/data or whever you install it, and edit
your /etc/resolv.conf to have the line: server 127.0.0.1
assuming you're running rbldns on 'locahost'.  Of, if you
want to customize your bounce messages, go into that data
file again and on the first line, you can put:

:127.0.0.2:Your message goes here $

That will bounce the mail with the message of your choice
followed by the IP address of the connecting server.
Finally, just add this line to your qmail-smtpd startup
script after rblsmtpd is called: -r myspamblocker.com
That will have it look up all entries on your new rbldns
server, bounce them if a match is found, and then go on
to the next dns server if no match is found.

Good luck,

Dave



-Original Message-
From: Daniel Augusto Fernandes
To: djbdns Mailing List; Qmail Mailing List
Sent: 10/18/00 11:06 AM
Subject: dnscache  rbldns


Hey people,

Sorry for the cross-posting!

But I just want to know how is this now? Is mail-abuse.org still not
providing TXT records for listed IP addresses in relays.mail-abuse.org?
Does djbdns V. 1.02 still requires a patch like
http://www.cqc.com/~pacman/projects/rblsmtpd-rss/ to use an A record?


I'm using this in my /var/qmail/supervise/qmail-smtpd/run:

# ... \
# rblsmtpd -rrelays.orbs.org -rrbl.maps.vix.com -rdialups.mail-abuse.org
\
# ...

Is this the best choice? How could I make qmail-smtpd use rbldns in my
localhost? I already have a dnscache running in this machine. I think it
would be better to have a Secondary zone for those dns zones in my
rbldns server.

Your help would be really appreciated!


Daniel Augusto Fernandes (DAF tm)   [EMAIL PROTECTED]
GCSNethttp://www.gcsnet.com.br/

 Se você não encontra
 o sentido das coisas
 é porque este não
 se encontra, se cria.
   Antoine Saint-Exupéry



Whrere are my log files?

2000-10-18 Thread John Chronakis

Hello,

I have configured qmail-send  qmail-smtp to run under the daemon tools,
according to qmail howto.

For example I use the two following run script under
/service/qmail-send/log/


#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
s250 /var/log/qmail/qmail-send


/var/log/qmail /var/log/qmail/qmail-send are owned by qmaill

My problem is that ther is nothing inside the log directories





Re: Whrere are my log files?

2000-10-18 Thread Dave Sill

"John Chronakis" [EMAIL PROTECTED] wrote:

For example I use the two following run script under
/service/qmail-send/log/


#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
s250 /var/log/qmail/qmail-send


/var/log/qmail /var/log/qmail/qmail-send are owned by qmaill

My problem is that ther is nothing inside the log directories

Is multilog running? Is the sticky bit set on /service/qmail-send?

-Dave



Re: dnscache rbldns

2000-10-18 Thread Daniel Augusto Fernandes

"Hubbard, David" wrote:
 
 You're correct, mail-abuse.org has removed the TXT records
 from the relays service.  djbdns doesn't require a patch
 though, djbdns is name servers and associated programs,
 I think you meant rblsmtpd, that does need the patch if you
 want to use the MAPS relay server.  DJB's view of the issue
 on the rblsmtpd web page is that BIND is the problem since
 it can't handle all the TXT records so MAPS should use his
 DNS server instead.
 

Yeah, I saw it! :o)
They must have commercial interests in BIND!

 So anyway... get rbldns built and installed, I put mine
 in /var/rbldns and set it's root zone to myspamblocker.com
 Once you have it ready to go, add the appropriate entries
 into it's data file:
 /var/rbldns/root/data or whever you install it,

Where would I get these records? Am I able to do an 'axfrdns' on relay
zones from mail-abuse.org? Should I configure a secondary zone for it?

 ... and edit
 your /etc/resolv.conf to have the line: server 127.0.0.1
 assuming you're running rbldns on 'locahost'.

But I already have a dnscache on localhost!

 Of, if you
 want to customize your bounce messages, go into that data
 file again and on the first line, you can put:
 
 :127.0.0.2:Your message goes here $
 
 That will bounce the mail with the message of your choice
 followed by the IP address of the connecting server.
 Finally, just add this line to your qmail-smtpd startup
 script after rblsmtpd is called: -r myspamblocker.com
 That will have it look up all entries on your new rbldns
 server, bounce them if a match is found, and then go on
 to the next dns server if no match is found.
 
 Good luck,
 
 Dave

Thanks for your help.


Daniel Augusto Fernandes (DAF tm)   [EMAIL PROTECTED]
GCSNethttp://www.gcsnet.com.br/

 Se você não encontra
 o sentido das coisas
 é porque este não
 se encontra, se cria.
   Antoine Saint-Exupéry



 
 -Original Message-
 From: Daniel Augusto Fernandes
 To: djbdns Mailing List; Qmail Mailing List
 Sent: 10/18/00 11:06 AM
 Subject: dnscache  rbldns
 
 Hey people,
 
 Sorry for the cross-posting!
 
 But I just want to know how is this now? Is mail-abuse.org still not
 providing TXT records for listed IP addresses in relays.mail-abuse.org?
 Does djbdns V. 1.02 still requires a patch like
 http://www.cqc.com/~pacman/projects/rblsmtpd-rss/ to use an A record?
 
 I'm using this in my /var/qmail/supervise/qmail-smtpd/run:
 
 # ... \
 # rblsmtpd -rrelays.orbs.org -rrbl.maps.vix.com -rdialups.mail-abuse.org
 \
 # ...
 
 Is this the best choice? How could I make qmail-smtpd use rbldns in my
 localhost? I already have a dnscache running in this machine. I think it
 would be better to have a Secondary zone for those dns zones in my
 rbldns server.
 
 Your help would be really appreciated!



Re: PROBLEM WITH SPEED

2000-10-18 Thread Dave Sill

"Sinisa Malesevic" [EMAIL PROTECTED] wrote:

I have qmail on Red Hat 6.2. My network have 5 PC. On workstation OS
is win98. I have PPP link to internet (via PC when is linux and
qmail) When I want to send (or receive) messages , I must wait 3-4
min. for replay from my mail-server.  My network is OK and PPP too.
I use daemontools and ucspi-tcp.

Why I mast wait longa time for replay??

Probably either due to nameserver problems or ident lookups. Try
adding -R and -H to the tcpserver command line.

-Dave



realayclient and dns

2000-10-18 Thread Mauro Tablo'

I've set 
=.org:allow,RELAYCLIENT=""
in my tcprules file to allow every domain.org to use my host as a relay,
but it doesn't work.
How can I do?





RE: dnscache rbldns

2000-10-18 Thread Hubbard, David

Hey Daniel,
   they do, same group of people I believe but two different
companies, or LLC's, whatever... :-)  I don't believe they
will let you do zone transfers without at least signing some
type of agreement and even then you might have to pay them,
but that might only be for their new one server combined
lookup service.  I would just patch the rblsmtpd and use their
server for open relay blocking, I personally use rbldns just
for my own list of spammers that I have been accumulating.  If
you want to run it in addition to dnscache, I'd just set it to
run on another address and add another line to resolv.conf.
You could always add a private address to your server's NIC,
like 192.168.0.1 or something and run it on there.

Dave

-Original Message-
From: Daniel Augusto Fernandes
To: Hubbard, David
Cc: Qmail Mailing List
Sent: 10/18/00 12:29 PM
Subject: Re: dnscache  rbldns

Yeah, I saw it! :o)
They must have commercial interests in BIND!

 So anyway... get rbldns built and installed, I put mine
 in /var/rbldns and set it's root zone to myspamblocker.com
 Once you have it ready to go, add the appropriate entries
 into it's data file:
 /var/rbldns/root/data or whever you install it,

Where would I get these records? Am I able to do an 'axfrdns' on relay
zones from mail-abuse.org? Should I configure a secondary zone for it?

 ... and edit
 your /etc/resolv.conf to have the line: server 127.0.0.1
 assuming you're running rbldns on 'locahost'.

But I already have a dnscache on localhost!

 Of, if you
 want to customize your bounce messages, go into that data
 file again and on the first line, you can put:
 
 :127.0.0.2:Your message goes here $
 
 That will bounce the mail with the message of your choice
 followed by the IP address of the connecting server.
 Finally, just add this line to your qmail-smtpd startup
 script after rblsmtpd is called: -r myspamblocker.com
 That will have it look up all entries on your new rbldns
 server, bounce them if a match is found, and then go on
 to the next dns server if no match is found.
 
 Good luck,
 
 Dave

Thanks for your help.



Re: dnscache rbldns

2000-10-18 Thread Daniel Augusto Fernandes

Mate Wierdl wrote:
 
 On Wed, Oct 18, 2000 at 01:06:09PM -0200, Daniel Augusto Fernandes wrote:
 
  Hey people,
 
  Sorry for the cross-posting!
 
  But I just want to know how is this now? Is mail-abuse.org still not
  providing TXT records for listed IP addresses in relays.mail-abuse.org?
  Does djbdns V. 1.02 still requires a patch like
  http://www.cqc.com/~pacman/projects/rblsmtpd-rss/ to use an A record?
 
 The above is a patch to rblsmtpd, because rbslsmtpd needs text
 records.
 

Yeahh, I sent it wrong!

 
 
  I'm using this in my /var/qmail/supervise/qmail-smtpd/run:
 
  # ... \
  # rblsmtpd -rrelays.orbs.org -rrbl.maps.vix.com -rdialups.mail-abuse.org
  \
  # ...
 
  Is this the best choice? How could I make qmail-smtpd use rbldns in my
  localhost? I already have a dnscache running in this machine. I think it
  would be better to have a Secondary zone for those dns zones in my
  rbldns server.
 
 I am running an rbldns server which servers txt records, so it works
 properly with rblsmtpd.  You are welcome to use it:  just change
 
 -rrelays.orbs.org
 
 to
 
 -r relays.msci.memphis.edu

Thank you!
But, I thinking to make a secondary server to those mail-abuse.org
zones.

What would be the best servers and zones for me? Should I use
relays.orbs.org, rbl.maps.vix.com and dialups?? I'm really confused
here.


Daniel Augusto Fernandes (DAF tm)   [EMAIL PROTECTED]
GCSNethttp://www.gcsnet.com.br/

 Se você não encontra
 o sentido das coisas
 é porque este não
 se encontra, se cria.
   Antoine Saint-Exupéry



Re: dnscache rbldns

2000-10-18 Thread Daniel Augusto Fernandes

"Hubbard, David" wrote:
 
 Hey Daniel,
they do, same group of people I believe but two different
 companies, or LLC's, whatever... :-)  I don't believe they
 will let you do zone transfers without at least signing some
 type of agreement and even then you might have to pay them,
 but that might only be for their new one server combined
 lookup service.

I would have to pay for mirroring its relay zone?!!

 I would just patch the rblsmtpd and use their
 server for open relay blocking,

I'm really confuse on which relay blocking server to use...

 I personally use rbldns just
 for my own list of spammers that I have been accumulating.  If
 you want to run it in addition to dnscache, I'd just set it to
 run on another address and add another line to resolv.conf.
 You could always add a private address to your server's NIC,
 like 192.168.0.1 or something and run it on there.

Duh
Sorry for my dumbness.

 .
 .
 .

Thanks again,


Daniel Augusto Fernandes (DAF tm)   [EMAIL PROTECTED]
GCSNethttp://www.gcsnet.com.br/

 Se você não encontra
 o sentido das coisas
 é porque este não
 se encontra, se cria.
   Antoine Saint-Exupéry



Re: Whrere are my log files?

2000-10-18 Thread John Chronakis

Hello again,

Is multilog running? Is the sticky bit set on /service/qmail-send?

There are two instances of multilog running, one for qmai-send and one for
qmail-smtpd.

The sticky bit is set for /var/qmail/supervice/qmail-send
(/service/qmail-send is a sim link to the former).
I just worry if the /var/qmail/rc file is correct, because man qmail-start
sais that default logger is splogger.

Here it is.

#!/bin/sh
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start './Maildir/'

John





Re: Whrere are my log files? The blind man said.

2000-10-18 Thread John Chronakis



I was blind !!!

The cause off all these was a missing backslash in 
the /service/qmail-send/log/run file.

Thanks for your help.

John



Backup Advice Need !!!

2000-10-18 Thread Mark Lo

Hi,

I would like to know what do i have to backup for my mail server ??

Thank you

Mark




tcpserver not setting environment variable RELAYCLIENT

2000-10-18 Thread tom

I am trying to setup qmail to relay mail from my local domain to the rest of
the internet using tcpserver's rules database.

Here are the contents of the files I think are being used:

/etc/tcp.smtp2 :

127.:allow,RELAYCLIENT=""
192.168.111.:allow,RELAYCLIENT=""
216.254.26.187:allow,RELAYCLIENT=""
216.254.26.188:allow,RELAYCLIENT=""
216.254.26.189:allow,RELAYCLIENT=""
216.254.26.186:allow,RELAYCLIENT=""
24.5.77.214:allow,RELAYCLIENT=""
:allow

/service/qmail-smtpd/run :

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -x/etc/tcp.smtp2.cdb -v -p  \
-u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 21

When I run:
# strings /etc/tcp.smtp2.cdb
I get:
127.+RELAYCLIENT=
192.168.111.+RELAYCLIENT=
216.254.26.187+RELAYCLIENT=
216.254.26.188+RELAYCLIENT=
216.254.26.189+RELAYCLIENT=
216.254.26.186+RELAYCLIENT=
24.5.77.214+RELAYCLIENT=   

When I run:
# tcprulescheck /etc/tcp.smtp2.cdb 127.0.0.1
I get:
rule :
allow connection   

Same result for any of the specific IPs also.

According to what I have read, tcprulescheck should have spit out something
indicating the use of rule 127. and an indication it is setting an environment
variable. 
What am I doing wrong? Sorry if this should go to another list.

--Tom Jackson 



Re: tcpserver not setting environment variable RELAYCLIENT

2000-10-18 Thread Peter Samuel

On 18 Oct 2000 [EMAIL PROTECTED] wrote:
 
 When I run:
 # tcprulescheck /etc/tcp.smtp2.cdb 127.0.0.1
 I get:
 rule :
 allow connection   
 
 Same result for any of the specific IPs also.
 
 According to what I have read, tcprulescheck should have spit out something
 indicating the use of rule 127. and an indication it is setting an environment
 variable. 
 What am I doing wrong? Sorry if this should go to another list.

You are not setting the IP address as an environment variable. Try
this instead:

TCPREMOTEIP=127.0.0.1 tcprulescheck /etc/tcp.smtp2.cdb
rule 127.:
set environment variable RELAYCLIENT=
allow connection

-- 
Regards
Peter
--
Peter Samuel[EMAIL PROTECTED]
http://www.e-smith.org (development)http://www.e-smith.com (corporate)
Phone: +1 613 368 4398  Fax: +1 613 564 7739
e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada

"If you kill all your unhappy customers, you'll only have happy ones left"




yet another rcpthosts issue...;-)

2000-10-18 Thread Robert Eric Pearse

sigh. whenever a user sends mail to my qmail server and that user's ip is
not the /etc/tcp.smtp file, the mail gets bounced.

that's not the way things should be. i'm using a separate smtp server, so
why would it refuse the message? i thought rcpthosts was only for allowing
users to use the server as a relay.

when i use an ip that is allowed in /etc/tcp.smtp, it behaves ok and the
recipient gets the mail.

am i missing something here?

thanks a bunch!

pearse

- Original Message -
From: "Mail Delivery Subsystem" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 18, 2000 2:16 PM
Subject: Returned mail: see transcript for details


 The original message was received at Wed, 18 Oct 2000 14:16:10 -0500
 from cs2711-198.austin.rr.com [24.27.11.198]

- The following addresses had permanent fatal errors -
 [EMAIL PROTECTED]
 (reason: 553 sorry, that domain isn't in my list of allowed rcpthosts
(#5.7.1))

- Transcript of session follows -
 ... while talking to cliff.carorder.com.:
  RCPT To:[EMAIL PROTECTED]
  553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
 550 5.1.1 [EMAIL PROTECTED]... User unknown





RE: yet another rcpthosts issue...;-)

2000-10-18 Thread Alexander Jernejcic

hi,
what is your ~/qmail/control/rcpthosts say? are all your domains in there?

;) a
==
Alexander Jernejcic  
email:[EMAIL PROTECTED]

begin LOVE-LETTER-UND-NIX-DAZUGELERNT.txt.vbs
I am a Signature, not a Virus!
end

==

 -Original Message-
 From: Robert Eric Pearse [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 18, 2000 9:23 PM
 To: [EMAIL PROTECTED]
 Subject: yet another rcpthosts issue...;-)
 
 
 sigh. whenever a user sends mail to my qmail server and that user's ip is
 not the /etc/tcp.smtp file, the mail gets bounced.
 
 that's not the way things should be. i'm using a separate smtp server, so
 why would it refuse the message? i thought rcpthosts was only for allowing
 users to use the server as a relay.
 
 when i use an ip that is allowed in /etc/tcp.smtp, it behaves ok and the
 recipient gets the mail.
 
 am i missing something here?
 
 thanks a bunch!
 
 pearse
 
 - Original Message -
 From: "Mail Delivery Subsystem" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, October 18, 2000 2:16 PM
 Subject: Returned mail: see transcript for details
 
 
  The original message was received at Wed, 18 Oct 2000 14:16:10 -0500
  from cs2711-198.austin.rr.com [24.27.11.198]
 
 - The following addresses had permanent fatal errors -
  [EMAIL PROTECTED]
  (reason: 553 sorry, that domain isn't in my list of allowed rcpthosts
 (#5.7.1))
 
 - Transcript of session follows -
  ... while talking to cliff.carorder.com.:
   RCPT To:[EMAIL PROTECTED]
   553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
  550 5.1.1 [EMAIL PROTECTED]... User unknown
 
 
 
 



Re: yet another rcpthosts issue...;-)

2000-10-18 Thread Robert Eric Pearse

i'm a freaking moron.

for some reason, i was convinced that rcpthosts held the domains that could
send mail to the mail server. rather, it holds the domains that the mail
server will accept mail for.

i guess "rcpt" stands for "recipient".

thanks for putting up with silliness. i'm just an scm pretending to be a
system administrator. ;-)

pearse
- Original Message -
From: "Alexander Jernejcic" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 18, 2000 2:56 PM
Subject: RE: yet another rcpthosts issue...;-)


 hi,
 what is your ~/qmail/control/rcpthosts say? are all your domains in there?

 ;) a
 ==
 Alexander Jernejcic
 email:[EMAIL PROTECTED]

 begin LOVE-LETTER-UND-NIX-DAZUGELERNT.txt.vbs
 I am a Signature, not a Virus!
 end

 ==

  -Original Message-
  From: Robert Eric Pearse [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, October 18, 2000 9:23 PM
  To: [EMAIL PROTECTED]
  Subject: yet another rcpthosts issue...;-)
 
 
  sigh. whenever a user sends mail to my qmail server and that user's ip
is
  not the /etc/tcp.smtp file, the mail gets bounced.
 
  that's not the way things should be. i'm using a separate smtp server,
so
  why would it refuse the message? i thought rcpthosts was only for
allowing
  users to use the server as a relay.
 
  when i use an ip that is allowed in /etc/tcp.smtp, it behaves ok and the
  recipient gets the mail.
 
  am i missing something here?
 
  thanks a bunch!
 
  pearse
 
  - Original Message -
  From: "Mail Delivery Subsystem" [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Wednesday, October 18, 2000 2:16 PM
  Subject: Returned mail: see transcript for details
 
 
   The original message was received at Wed, 18 Oct 2000 14:16:10 -0500
   from cs2711-198.austin.rr.com [24.27.11.198]
  
  - The following addresses had permanent fatal errors -
   [EMAIL PROTECTED]
   (reason: 553 sorry, that domain isn't in my list of allowed
rcpthosts
  (#5.7.1))
  
  - Transcript of session follows -
   ... while talking to cliff.carorder.com.:
RCPT To:[EMAIL PROTECTED]
553 sorry, that domain isn't in my list of allowed rcpthosts
(#5.7.1)
   550 5.1.1 [EMAIL PROTECTED]... User unknown
  
 
 
 




Description of filename in Maildir/cur

2000-10-18 Thread Reid Sutherland

971829536.26305.simple:2,ST
971856803.14682.simple:2,T
971871879.5249.simple:2,RST

The first part is I'm guessing is unix time(). Second part is the inode?
Third, host. Now what's this 2? And what's T, ST, and RST?

thanks

-reid





qmail security for pine (and other) mail clients that are vulnerable to remote exploit and hacking

2000-10-18 Thread John Lange

Since it has been reported that Pine is vulnerable to remote attacks by
embedding malicious content in the FROM field of messages, and since there
seems to be no intention from the Pine group to do anything about this, I
was wondering if anyone knows how I can at protect my users from attack
using some kind of filtering with qmail?

John Lange




Re: pop3 and smtp in redhat7

2000-10-18 Thread Romeo Kienzler

hi sahashi !

see my xinetd.conf in the atachement, it works finde with qmail:

romeo

(note: you have to chane the entry 4 the pop3d !)


On Die, 17 Okt 2000, you wrote:
 Dear All,
 How do I define pop3 and smtp for qmail in redhat7 which uses xinetd.
 
 Thanks
 
 -- 
 Best regards,
  Shashi  mailto:[EMAIL PROTECTED]
-- 
" R o m e o   K i e n z l e r "  
Am Grosshausberg 2-9-3  78120 Furtwangen 
Fon 0170/6015062  Fax 01805/05255377249 
email [EMAIL PROTECTED]  "www.ormium.de"


# This file generated by xconv.pl, included with the xinetd
# package.  xconv.pl was written by Rob Braun ([EMAIL PROTECTED])
#
# The file is merely a translation of your inetd.conf file into
# the equivalent in xinetd.conf syntax.  xinetd has many 
# features that may not be taken advantage of with this translation.
# Please refer to the xinetd.conf man page for more information 
# on how to properly configure xinetd.


# The defaults section sets some information for all services
defaults
{
	#The maximum number of requests a particular service may handle
	# at once.
	instances   = 25

	# The type of logging.  This logs to a file that is specified.
	# Another option is: SYSLOG syslog_facility [syslog_level]
	log_type= FILE /var/log/servicelog

	# What to log when the connection succeeds.
	# PID logs the pid of the server processing the request.
	# HOST logs the remote host's ip address.
	# USERID logs the remote user (using RFC 1413)
	# EXIT logs the exit status of the server.
	# DURATION logs the duration of the session.
	log_on_success = HOST PID

	# What to log when the connection fails.  Same options as above
	log_on_failure = HOST RECORD

	# The maximum number of connections a specific IP address can
	# have to a specific service.  
	per_source  = 5
}

service ftp
{
	flags   = REUSE NAMEINARGS
	socket_type = stream
	protocol= tcp
	wait= no
	user= root
	server  = /usr/sbin/tcpd
	server_args = in.ftpd -l -a 
}

service telnet
{
	flags   = REUSE NAMEINARGS
	socket_type = stream
	protocol= tcp
	wait= no
	user= root
	server  = /usr/sbin/tcpd
	server_args = in.telnetd 
}

service pop-3
{
	flags   = REUSE NAMEINARGS
	socket_type = stream
	protocol= tcp
	wait= no
	user= root
	server  = /usr/sbin/tcpd
	server_args = ipop3d 
}

service mail
{
	flags   = REUSE NAMEINARGS
	socket_type = stream
	protocol= tcp
	wait= no
	user= qmaild
	server  = /usr/sbin/tcpd
	server_args = /var/qmail/bin/qmail-smtpd 
}

service auth
{
	flags   = REUSE NAMEINARGS
	socket_type = stream
	protocol= tcp
	wait= no
	user= nobody
	server  = /usr/sbin/in.identd
	server_args = in.identd -l -e -o 
}

service linuxconf
{
	flags   = REUSE NAMEINARGS
	socket_type = stream
	protocol= tcp
	wait= yes
	user= root
	server  = /bin/linuxconf
	server_args = linuxconf --http 
}




Re: Description of filename in Maildir/cur

2000-10-18 Thread Olivier M.

On Wed, Oct 18, 2000 at 05:05:06PM -0400, Reid Sutherland wrote:
 971829536.26305.simple:2,ST
 971856803.14682.simple:2,T
 971871879.5249.simple:2,RST
 
 The first part is I'm guessing is unix time(). Second part is the inode?
 Third, host. Now what's this 2? And what's T, ST, and RST?

Everything you are looking for is on http://cr.yp.to/proto/maildir.html
(was quite usefull for coding omail-webmail :)

Regards,
Olivier
-- 
_
 Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland
qmail projects: http://omail.omnis.ch  -  http://webmail.omnis.ch

 PGP signature


Re: Fat qmail in Solaris, trim qmail in OpenBSD?

2000-10-18 Thread Pavel Kankovsky

On Tue, 17 Oct 2000 [EMAIL PROTECTED] wrote:

 [Solaris8] /bin/ps -o vsz,rss,comm -e
  VSZ  RSS COMMAND
  920  568 multilog   
...
 [OpenBSD2.7] /bin/ps -o vsz,rss,comm -ax
   VSZ   RSS UCOMM  
48   408 multilog   

Comparing these numbers is like comparing pears to apples. You can see
that on Solaris, VSZ is always  RSS, while on OpenBSD, it is vice versa,
ergo the meaning must be different.

Anyway, it is a well known fact that Solaris processes consume quite a lot
of memory.

--Pavel Kankovsky aka Peak  [ Boycott Microsoft--http://www.vcnet.com/bms ]
"Resistance is futile. Open your source code and prepare for assimilation."








Re: qmail security for pine (and other) mail clients that are vulnerable to remote exploit and hacking

2000-10-18 Thread Jason Haar

On Wed, Oct 18, 2000 at 04:00:37PM -0500, John Lange wrote:
 Since it has been reported that Pine is vulnerable to remote attacks by
 embedding malicious content in the FROM field of messages, and since there
 seems to be no intention from the Pine group to do anything about this, I
 was wondering if anyone knows how I can at protect my users from attack
 using some kind of filtering with qmail?

A bit overkill if that's all you want to do, but Qmail-Scanner can do all
that and also can tie in commercial virus scanners as well.

http://qmail-scanner.sourceforge.net/

-- 
Cheers

Jason Haar

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



Re: Description of filename in Maildir/cur

2000-10-18 Thread Timothy Legant

On Wed, Oct 18, 2000 at 05:05:06PM -0400, Reid Sutherland wrote:
 971829536.26305.simple:2,ST
 971856803.14682.simple:2,T
 971871879.5249.simple:2,RST
 
 The first part is I'm guessing is unix time(). Second part is the inode?
 Third, host. Now what's this 2? And what's T, ST, and RST?

http://cr.yp.to/proto/maildir.html

 thanks
 
 -reid

Tim



Re: Description of filename in Maildir/cur

2000-10-18 Thread Ronny Haryanto

On 18-Oct-2000, Reid Sutherland wrote:
 971829536.26305.simple:2,ST
 971856803.14682.simple:2,T
 971871879.5249.simple:2,RST
 
 The first part is I'm guessing is unix time(). Second part is the inode?
 Third, host. Now what's this 2? And what's T, ST, and RST?

See maildir(5) man page and http://cr.yp.to/proto/maildir.html

Ronny



User Dir

2000-10-18 Thread Cliff Cole

Hello,
Just wondering due to some testing I have done, it looks as though
qmail only will except mail for a user with 
1) and home dir in the password file
2) chown username /home/mail/dirofuser

Is there any way for qmail to bypass looking for a home directory?
I could be wrong about anything I have listed above, but from my testing
this appears to be correct.  Any help would be appreciated.

Thanks
Cliff Cole




tcprules

2000-10-18 Thread kevin

I am having problems stopping relaying.

I created the file /etc/tcprules.d/qmail-smtpd
and in there I put
203.41.132.:allow,RELAYCLIENT=""
203.42.53.:allow,RELAYCLIENT=""
 then

cd /etc/tcprules.d/
 and
tcprules qmail-smtpd.cdb qmail-smtpd.temp  qmail.smptd
 and I get no errors
in /var/qmail/control/rcpthosts I have
oceania.net
.oceania.net

but still, It allows relaying according to 
the tests on abuse.net/relay.html

All replies greatfully recieved
Kind regards

Kevin Waterson



Re: tcprules

2000-10-18 Thread Jerry Lynde

At 03:51 PM 10/18/2000, [EMAIL PROTECTED] wrote:
I am having problems stopping relaying.

I created the file /etc/tcprules.d/qmail-smtpd
and in there I put
203.41.132.:allow,RELAYCLIENT=""
203.42.53.:allow,RELAYCLIENT=""
  then

cd /etc/tcprules.d/
  and
tcprules qmail-smtpd.cdb qmail-smtpd.temp  qmail.smptd
  and I get no errors
in /var/qmail/control/rcpthosts I have
oceania.net
.oceania.net

but still, It allows relaying according to
the tests on abuse.net/relay.html

All replies greatfully recieved
Kind regards

Kevin Waterson

Hi Kevin,

 Did you register with abuse.net? If so, did you test your own domain?
I just tested your domain (after creating a much needed account of my
own there) and it resulted in a false positive, the same false positive I got
when I tested my own mail server.
 The test that failed was #6, which tests an email sent
from :[EMAIL PROTECTED]
to : [EMAIL PROTECTED]

While qmail accepts initially any mail destined for (in your case) oceania.net,
the email will fail to be sent when qmail finds out that there's no user by 
the
name "jlynde%diligence.com" at your domain. If there was, I would have gotten
  the mail in my mailbox, which I didn't.

Check your logs, and you will see the activity from the test in there, and you
will also get the double-bounce, signifying the failure of the email.

In other words, relax... you're not relaying... have a refreshing drink and
breathe deeply cuz it's all good.

Jer




1019

2000-10-18 Thread dengyj




hi:
we have two mail severs use qmail(+freebsd) to send 
mail(ezmlm)
but in this few days ,it often shutdown.
show:
 db
 Fatal trap 12: page fault while in kernel 
mode
 fault virtual address =0x18
 fault code =supervisor write,page not 
present
 current proccess=19895(qmail-queue)

why?? we use PC SERVER ,connect local 40,remote 
400


Re: tcprules

2000-10-18 Thread Kevin Waterson

Jerry Lynde wrote:

 In other words, relax... you're not relaying... have a refreshing drink and
 breathe deeply cuz it's all good.

Thank you for that, I feel somewhat relieved.
Now, why would oceania.net be listed on orbs as an open relay?
-- 
Kind regards

Kevin Waterson



Re:our qmail server shutdown help ??

2000-10-18 Thread zhangshouhui



 -BEGIN PGP SIGNED MESSAGE- 
Hash: SHA1  On 17 Mar 2000, at 17:29, zhangshouhui 
wrote:   hi:  we have two mail severs use 
qmail(+freebsd) to send mail(ezmlm)  but in this few days ,it often 
shutdown.  show:  db 
 Fatal trap 12: page fault while in kernel mode 
 fault virtual address =0x18  fault code 
=supervisor write,page not present  current 
proccess=19895(qmail-queue)why??  
Because of OS bug. See, user-mode process can NEVER cause a  page fault 
in kernel mode. What version of FreeBSD do you use?  Check errata 
of your OS, and file a bug report for the OS. We use 
freebsd2.2.8 and freebsd2.2.7,,Our system run rightly one year,now when shut 
down in /etc/messages SHOW:increase maxuser 
clusterTHEN screen show:db Fatal trap 12: page fault while 
in kernel mode fault virtual address =0x18 fault 
code =supervisor write,page not present current 
proccess=19895(qmail-queue)Maybe hardware err But we never remove hardware, 
yet our two mail serverhave same 
err??thanks!


Re: 1019

2000-10-18 Thread Tim Hunter



Didn't someone already address this as a possible 
hardware/kernel/config problem?

I have never seen any type of error message like 
this.


  - Original Message - 
  From: 
  dengyj 
  To: [EMAIL PROTECTED] 
  Sent: Wednesday, October 18, 2000 6:33 
  PM
  Subject: 1019
  
  
  hi:
  we have two mail severs use qmail(+freebsd) to send 
  mail(ezmlm)
  but in this few days ,it often shutdown.
  show:
   db
   Fatal trap 12: page fault while in kernel 
  mode
   fault virtual address =0x18
   fault code =supervisor write,page not 
  present
   current proccess=19895(qmail-queue)
  
  why?? we use PC SERVER ,connect local 40,remote 
  400


Re: 1019

2000-10-18 Thread admin

I responded in private to him, however fix should be simply to raise
maxusers in your kernel and recompile. Use 'netstat -m' to check the status
of the membufs and see if you are running out or how close you are during
peak operation times both before and after you update the kernel. 


Stephen Comoletti - Network Engineer / Systems Administrator
Delanet Inc. http://www.delanet.com
Frontline Communications Corp. http://www.fcc.net
phone: (302) 326-5800 fax: (302) 326-5802 x312
262 Quigley Blvd, New Castle, DE 19720, USA


Tim Hunter writes:

 Didn't someone already address this as a possible hardware/kernel/config problem?
 
 I have never seen any type of error message like this.
 
   - Original Message - 
   From: dengyj 
   To: [EMAIL PROTECTED] 
   Sent: Wednesday, October 18, 2000 6:33 PM
   Subject: 1019
 
 
   hi:
   we have two mail severs use qmail(+freebsd) to send mail(ezmlm)
   but in this few days ,it often shutdown.
   show:
 db
 Fatal trap 12: page fault while in kernel mode
 fault virtual address =0x18
 fault code =supervisor write,page not present
 current proccess=19895(qmail-queue)
 
   why?? we use PC SERVER ,connect local 40,remote 400





Re: our qmail server shutdown help ??

2000-10-18 Thread Jos Backus

On Sat, Mar 18, 2000 at 10:23:36AM +0800, zhangshouhui wrote:
 We use freebsd2.2.8 and freebsd2.2.7,,Our system run rightly one year,
 now when shut down  in /etc/messages   SHOW:
  increase maxuser cluster

Are you running a GENERIC kernel? What is maxusers set to? See
/sys/i386/conf/kernelname for its value (GENERIC if you are running the
GENERIC kernel).

Btw, 2.2.[78] is ancient. I suggest you look into upgrading to 4.1.1, the
latest stable release.

-- 
Jos Backus _/  _/_/_/"Modularity is not a hack."
  _/  _/   _/-- D. J. Bernstein
 _/  _/_/_/ 
_/  _/  _/_/
[EMAIL PROTECTED] _/_/   _/_/_/use Std::Disclaimer;



Can't get qmail to function properly!

2000-10-18 Thread Vinko Vrsalovic

 
I have a server behind a router with does NAT , the intern IP for the
machine is 192.168.168.145, and people from outside sees it as
200.27.50.XX. the machine does not have a direct link to the internet,
the only way is through the router.

I have installed and configured qmail and it works _only_ if I 
connect locally to the server (ie telnet localhost 25), otherwise 
I have to wait between 1:30 and 2 minutes for the welcome message to appear,
and then it doesn't get the rules that i set in tcp.smtp and i can deliver
locally only.

This means that the other people in the internal network can't send
any mail!!! (they must wait over a minute, and most MUA's have shorter
timeouts) and even if they wait, they can only deliver local mail...

The weird thing (to me) is that telnet localhost works perfectly...

I've tried everything I can, and I just can't get it working right

(i've played with almost every possible combination of tcp.smtp.cdb,
etc.)

Thanks,
-- 
Vinko Vrsalovic B.   +
[EMAIL PROTECTED]   ++  Perche' la tua lingua e mia!, MIA! ++
ICQ: 9299103 ++  (Mr B.)++
Geek code will never +
be available... :-)  [Today's mode:  PSB (Power Saving Brain)] 




Re: Can't get qmail to function properly!

2000-10-18 Thread Timothy Legant

On Thu, Oct 19, 2000 at 02:16:45AM -0300, Vinko Vrsalovic wrote:

[snip...]

 I have installed and configured qmail and it works _only_ if I 
 connect locally to the server (ie telnet localhost 25), otherwise 

This is probably because the server knows its own IP address. See below.

 I have to wait between 1:30 and 2 minutes for the welcome message to appear,
 and then it doesn't get the rules that i set in tcp.smtp and i can deliver
 locally only.

Since you mention the tcp.smtp rules file I assume you're using
tcpserver. By default, tcpserver attempts to look up the hostname of the
sending box before passing control to qmail-smtpd. It also tries to get
ident information.

If you don't run an internal DNS server it won't be able to get the
former. It will time out waiting for the DNS response. Most likely your
internal machines aren't running any form of identd either, so it will
also time out on the latter.

You should use the -R and -H options on the command line of the
tcpserver that controls qmail-smtpd. Those options will prevent
tcpserver from attempting to look up either the hostname or the ident
information.

man tcpserver

for more information.

[snip...]

 Thanks,
 Vinko

HTH,

Tim



Re: Can't get qmail to function properly!

2000-10-18 Thread Vinko Vrsalovic

 
  I have to wait between 1:30 and 2 minutes for the welcome message to appear,
  and then it doesn't get the rules that i set in tcp.smtp and i can deliver
  locally only.
 
 Since you mention the tcp.smtp rules file I assume you're using
 tcpserver. By default, tcpserver attempts to look up the hostname of the
 sending box before passing control to qmail-smtpd. It also tries to get
 ident information.
 
 If you don't run an internal DNS server it won't be able to get the
 former. It will time out waiting for the DNS response. Most likely your
 internal machines aren't running any form of identd either, so it will
 also time out on the latter.
 
 You should use the -R and -H options on the command line of the
 tcpserver that controls qmail-smtpd. Those options will prevent
 tcpserver from attempting to look up either the hostname or the ident
 information.
 

I'm running this line:

tcpserver -x/etc/tcp.smtp.cdb -R -H -u 523 -g 521 0 smtp /var/qmail/bin/qma
il-smtpd 

and the problem remains the same...

 HTH,
 
(What does HTH means?)

Thanks again...
-- 
Vinko Vrsalovic B.   +
[EMAIL PROTECTED]   ++  Perche' la tua lingua e mia!, MIA! ++
ICQ: 9299103 ++  (Mr B.)++
Geek code will never +
be available... :-)  [Today's mode:  PSB (Power Saving Brain)] 




Re: Can't get qmail to function properly!

2000-10-18 Thread Vinko Vrsalovic

 
 hi,
 your problem sounds like a nameserver problem
 qmail is trying to resolve the ip adresses, if it cant do that you run into 
 a timeout.
 if you dont have a nameserver running try to put all the hosts from your 
 internel network into /etc/hosts

they are all in the hosts files, i've read all the tcpserver docs and
configured not to look for names in DNS, it seems to me that qmail itself
does the DNS query...

but why can't it resolve? 

it's a mystery to me

i can resolve my IP from localhost, other PC's in the internal and
external networks...

Thanks for all the help I've already received (and in such a short time)
-- 
Vinko Vrsalovic B.   +
[EMAIL PROTECTED]   ++  Perche' la tua lingua e mia!, MIA! ++
ICQ: 9299103 ++  (Mr B.)++
Geek code will never +
be available... :-)  [Today's mode:  PSB (Power Saving Brain)]