Quick question

2001-08-13 Thread mike

I'm fairly new to qmail. I was a sendmail fan forever till I got bored and 
decided to switch to qmail.  So far I love it. I started readin the 
lifewithmail homepage and decided to try it out.  I've got everything 
installed and running but 1 thing puzzles me, I know it's probably a goofy 
question and please no harsh comments  ;)  but why so many process running 
as root?  Here's my process list.  I understand all of it except the first 5 
process all running as root.  I know this is probably some easy thing but 
I'm the paranoid type and it makes me curious.  Thanks for any info

root   954  1.0  0.6  1244  380 ?S16:59   0:00 svscan 
/service
root   955  0.0  0.5  1204  348 ?S16:59   0:00 supervise 
qmail-send
root   956  0.0  0.5  1204  348 ?S16:59   0:00 supervise log
root   957  0.0  0.5  1204  348 ?S16:59   0:00 supervise 
qmail-smtpd
root   958  0.5  0.5  1204  348 ?S16:59   0:00 supervise log
qmaill 959  0.5  0.5  1216  348 ?S16:59   0:00 
/usr/local/bin/multilog t /var/log/qmail
qmails 960  1.5  0.6  1264  424 ?S16:59   0:00 qmail-send
qmaill 962  0.5  0.5  1216  348 ?S16:59   0:00 
/usr/local/bin/multilog t /var/log/qmail/smtpd
root   963  0.5  0.5  1216  360 ?S16:59   0:00 qmail-lspawn 
./Maildir/
qmailr 964  0.0  0.5  1216  360 ?S16:59   0:00 qmail-rspawn
qmailq 965  0.0  0.6  1212  376 ?S16:59   0:00 qmail-clean
qmaild 966  1.0  1.1  1768  712 ?S16:59   0:00 
/usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.
root   970  0.0  1.3  2568  840 pts/0R16:59   0:00 ps aux 



Re: Quick question

2001-08-13 Thread Lukas Beeler

On Tue, Aug 14, 2001 at 12:13:38AM +, mike wrote:
 but why so many process running as root?  Here's my process list.
  I understand all of it except the first 5 

qmail uses many more processes than sendmail, which is one monolithic 
programm, running as root. If you look at your ps aux a little more 
exactly, you will see that only supervise processes and qmail-lspawn run 
as root. supervise processes do nothing more than just guard a 
service, and restart them if they die. have a look at supervise.c in the 
daemontools directory. qmail-lspawn does just invoke qmail-local's with 
the respective UID/GID of the receiver. this is, why this programm 
need's root right. You see, there are more processes, because qmail is 
more modular, and splitted into different processes, for more security.

-- 
Lukas Beeler[EMAIL PROTECTED]
GPG Fingerprint: 8030 1C2F 66C5 9D80 AA31  6604 7D4D 0A67 68D8 B67E



Quick question re maildir

2001-07-05 Thread Steve Reed

Hi all,

Thanks for the great help from this group in the past.  I plan 
to begin the migration process to qmail in the coming days and 
weeks, and as part of the planning process am wondering if the 
general consensus is that the maildir method is the way to 
go.  Appreciate comments/advice.

Cheers,

Steve




RE: Quick question re maildir

2001-07-05 Thread Joshua Nichols


 weeks, and as part of the planning process am wondering if the
 general consensus is that the maildir method is the way to
 go.  Appreciate comments/advice.

Absolutely.

Check the archives, there's alot of info there about the benefits of
Maildirs.  Recently, someone posted some excellent statistics on Maildir v.
mbox.


--joshua.




Re: Quick question re maildir

2001-07-05 Thread dsr

On Wed, Jul 04, 2001 at 12:30:52PM +1200, Steve Reed wrote:
 Hi all,
 
 Thanks for the great help from this group in the past.  I plan 
 to begin the migration process to qmail in the coming days and 
 weeks, and as part of the planning process am wondering if the 
 general consensus is that the maildir method is the way to 
 go.  Appreciate comments/advice.

Basically, the only reasons not to go to maildir are shell users
who are set in their ways (and have been for years).

Maildirs are incredibly easy to manipulate with shell or Perl or
Python, more reliable than mailbox, and can be locked over NFS.

Shell users will generally fall into the mutt or emacs camps; you
should wean your Pine users anyway; you already know if you have
a population of mh users.

POP users will never notice the difference, except that when someone
mails them a 400MB PowerPoint preso, you can ls their maildir, note
the 400MB monstrosity, and delete it or move it for them without
disturbing any other mail.

-dsr-



Re: Quick question re maildir

2001-07-05 Thread Charles Cazabon

[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
 Maildirs are incredibly easy to manipulate with shell or Perl or
 Python, more reliable than mailbox, and can be locked over NFS.

Small correction:  Maildirs need no locking, even over NFS.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



RE: Quick question re maildir

2001-07-05 Thread David Talkington

-BEGIN PGP SIGNED MESSAGE-

Joshua Nichols wrote:

 weeks, and as part of the planning process am wondering if the
 general consensus is that the maildir method is the way to
 go.  Appreciate comments/advice.

Absolutely.

Check the archives, there's alot of info there about the benefits of
Maildirs.  Recently, someone posted some excellent statistics on Maildir v.
mbox.

I don't remember the post, but was this the information to which it
referred?

http://www.courier-mta.org/mbox-vs-maildir

It's a very thorough set of benchmarks.  Good reading.

- -d

- -- 
David Talkington
http://www.spotnet.org

PGP key: http://www.prairienet.org/~dtalk/dt000823.asc

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8
Comment: Made with pgp4pine 1.75-6

iQEVAwUBO0Usor1ZYOtSwT+tAQGixAgAo2BnWtUxHXuvA9odsoa/OmE8wshYfhBe
k0ePargg81ft0/pPMv1uoVD/DaecExh/Fyj0QyNv1TuWcHNFgxWaALt11FTnSQif
Tj3hM2lVmtRoSISHN/IDWKbHqS4HLohMNHa6D/AzQx3QlZO1HVq9jX7Fow8PszQe
FL5OmHAJPN83uEvNdO+MnRxKDi9710R8HNc2KwGqALnMJTX5tmTnp8dEx5yh1P3Z
s8nSru49H29dFAqw2/YfwIj4Hw/QffwWmCNlfitB3VWtInHvwhxSlcsobmAuyFGZ
PqPCoj8LZj5J6Wbbaosqd0kekFz9uZ5CKjH1f/r9B+a8IAV0F5PYig==
=S5LR
-END PGP SIGNATURE-





quick question on queuing mails

2000-10-27 Thread marlon abao (TS-US)

guys, 

just a quick question.  when qmail recieves mail, does it immediately try to
send it out w/o putting it on the queue? or does it ALWAYS put it in the
queue and have some other process pick it up for delivery?

-marlon



Re: quick question on queuing mails

2000-10-27 Thread markd

On Fri, Oct 27, 2000 at 02:37:42PM -0700, marlon abao (TS-US) wrote:
 guys, 
 
 just a quick question.  when qmail recieves mail, does it immediately try to
 send it out w/o putting it on the queue? or does it ALWAYS put it in the
 queue and have some other process pick it up for delivery?

It always goes in the queue. Consider what would happen if the system
crashed half way thru a delivery that didn't go via the queue. The message
would be lost and qmail promises not to lose messages.


Regards.



Re: quick question (qmail-1.03)

2000-04-09 Thread Keith Warno

Thanks for the responses.

- Original Message -
From: "Keith Warno" [EMAIL PROTECTED]
To: "qmail" [EMAIL PROTECTED]
Sent: Friday, April 07, 2000 9:55 PM
Subject: quick question (qmail-1.03)


Concerning uids and gids of the qmail system users:

Are the numeric uids and gids compiled into the qmail-1.03 programs, or are
the names used?

I'm assuming (after having some difficulties; read on) the numeric uids/gids
are compiled in.  Is this a correct assumption?  I moved qmail binaries from
one Linux box to another wich are identitical except for a few things, one
of them being the uids  gids of various accounts and groups.  qmail-start
yacked with a alert: cannot start: unable to switch to queue directory.

kw






quick question (qmail-1.03)

2000-04-07 Thread Keith Warno

Concerning uids and gids of the qmail system users:

Are the numeric uids and gids compiled into the qmail-1.03 programs, or are
the names used?

I'm assuming (after having some difficulties; read on) the numeric uids/gids
are compiled in.  Is this a correct assumption?  I moved qmail binaries from
one Linux box to another wich are identitical except for a few things, one
of them being the uids  gids of various accounts and groups.  qmail-start
yacked with a alert: cannot start: unable to switch to queue directory.

kw




Re: quick question (qmail-1.03)

2000-04-07 Thread Charles Cazabon

Keith Warno [EMAIL PROTECTED] wrote:
 Concerning uids and gids of the qmail system users:
 
 Are the numeric uids and gids compiled into the qmail-1.03 programs, or are
 the names used?

Yes, it's numeric, as the (quicker) reply noted.  But you may be interested
in Bruce Guenter's qmail RPMs -- they include a patch which makes qmail get
its UIDs/GIDs from a set of control files instead of being compiled in.

His qmail+patches RPMs are available from:
http://www.em.ca/~bruceg/

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



Re: quick question re: starting with rblsmtpd

1999-11-08 Thread dd


  | My csh skills are rusty; I can't remember how to redirect stderr.
  
  In his case, I think he needs to replace:
  
 21 | 
  
  with:
  
 |
 
 
 i had the same question and had this answer:
 You can use this notation 
 
 command  file_name
 
 but this will stderr AND stdout to the same file. stderr comes to the
   ^^^

oops. it seems "redirect" is missing here... 

one more thing, You can use the 

bash -c 'command bla bla 2some_file_or_/dev/null_or_whatever'

command which will run the command in bash, redirect stderr to anywhere
You want and give You only a nice clean stdout.


hope this helps...

love, peace and aspirin,
dd



Re: quick question re: starting with rblsmtpd

1999-11-07 Thread dd



 |here's the whole script...short answer is csh:
 |
 |#!/bin/sh
 | 
 | That's the problem: you're using Bourne shell syntax in the C Shell.
 | My csh skills are rusty; I can't remember how to redirect stderr.
 
 In his case, I think he needs to replace:
 
21 | 
 
 with:
 
|


i had the same question and had this answer:
You can use this notation 

command  file_name

but this will stderr AND stdout to the same file. stderr comes to the
beginning of the file and the rest is stdout.

btw the operator mentioned above (|) didn't work in my tcsh and
csh. maybe the versions are different, dunno...


love, peace etc
dd



Quick question

1999-04-28 Thread Durham, Kenneth J

I was just wondering if qmail will support putting users on 2 diffrent
servers.  I would like to split the load between 2 diffrent machines.  The
first doing the authentication and storage and the other as a storage.  Is
this possible.  Thanks



RE: Quick question

1999-04-28 Thread Vince Vielhaber


On 28-Apr-99 Durham, Kenneth J wrote:
 one other quick question.  Were can i find a online documantation that can
 get me through the setup of qmail from start to finish.  Im kinda new so
 please keep this in mind.  I also want to setup pop and smtp thanks for all
 your help.

There's a file called INSTALL that's in the source directory.

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




RE: Quick question

1999-04-28 Thread Durham, Kenneth J

one other quick question.  Were can i find a online documantation that can
get me through the setup of qmail from start to finish.  Im kinda new so
please keep this in mind.  I also want to setup pop and smtp thanks for all
your help.


-Original Message-
From: Dave Sill [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 28, 1999 12:33 PM
To: [EMAIL PROTECTED]
Subject: Re: Quick question


"Durham, Kenneth J" [EMAIL PROTECTED] wrote:

I was just wondering if qmail will support putting users on 2 diffrent
servers.  I would like to split the load between 2 diffrent machines.  The
first doing the authentication and storage and the other as a storage.  Is
this possible.  Thanks

If you're delivering to maildirs on nfs server(s), you can have
multiple incoming, outgoing, and "reader" systems.

-Dave



Re:Just a quick question (stupid one at that)

1999-04-27 Thread Ludwig Pummer

At , yessure wrote:
Impossible. 

Im setting up my mail server but i dont have a valid domain name.  will
qmail work via ip like [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ?  or do
i have to have a valide domain name to get it to work correctly?

Others have already responded that it is possible, but that the correct
syntax is me@[999.999.999.99], using a proper IP instead of 999.999.999.99.

_They_ are correct. Sorry.

--Ludwig Pummer ( [EMAIL PROTECTED] ) ICQ UIN: 692441



Re: Just a quick question (stupid one at that)

1999-04-26 Thread Harald Hanche-Olsen

+ "Durham, Kenneth J" [EMAIL PROTECTED]:

| Im setting up my mail server but i dont have a valid domain name.
| will qmail work via ip like [EMAIL PROTECTED]
| mailto:[EMAIL PROTECTED] ?  or do i have to have a valide domain
| name to get it to work correctly?

me@[999.999.999.99] might have a chance to work provided 999 is
smaller than 255.  You may need to put [999.999.999.99] in your
control/locals file.  I have not tested any of this advice.

- Harald



quick question re: starting with rblsmtpd

1999-01-03 Thread Brandon Dudley


I was using this command in /etc/rc.d/init.d/qmail before, but now it is not
working. 

/usr/local/bin/tcpserver -x/etc/tcp.smtp.cdb -q -u
16 -g51 -t1 0 smtp /usr/local/bin/rblsmtpd -rrelays.radparker.com /usr/local/bin
/rblsmtpd -rrelays.orbs.org /usr/local/bin/rblsmtpd -rrbl.maps.vix.com /usr/loca
l/bin/rblsmtpd -rdul.maps.vix.com /var/qmail/bin/qmail-smtpd 21 | /var/qmail/b
in/splogger smtpd 3 

when I tried running it at the command line, I got the following error:

Ambiguous output redirect.

which I guess would have to do with the ".../var/qmail/bin/qmail-smtpd 21" 
part...the question is, what should it read? Would upgrading to RH 6.1 have 
changed this? I would have thought the redirect syntax has been around longer
than most current high school students. :)

Thanks for the help...

Brandon



Re: quick question re: starting with rblsmtpd

1999-01-03 Thread Dave Sill

Brandon Dudley [EMAIL PROTECTED] wrote:

I was using this command in /etc/rc.d/init.d/qmail before, but now it is not
working. 

/usr/local/bin/tcpserver -x/etc/tcp.smtp.cdb -q -u
16 -g51 -t1 0 smtp /usr/local/bin/rblsmtpd -rrelays.radparker.com /usr/local/bin
/rblsmtpd -rrelays.orbs.org /usr/local/bin/rblsmtpd -rrbl.maps.vix.com /usr/loca
l/bin/rblsmtpd -rdul.maps.vix.com /var/qmail/bin/qmail-smtpd 21 | /var/qmail/b
in/splogger smtpd 3 

when I tried running it at the command line, I got the following error:

Ambiguous output redirect.

which I guess would have to do with the ".../var/qmail/bin/qmail-smtpd 21" 
part...the question is, what should it read? Would upgrading to RH 6.1 have 
changed this? I would have thought the redirect syntax has been around longer
than most current high school students. :)

Which shell are you using? Which shell does your qmail script specify?

-Dave



Re: quick question re: starting with rblsmtpd

1999-01-03 Thread Brandon Dudley


here's the whole script...short answer is csh:

#!/bin/sh
#
# qmail /etc/init.d script for qmail (http://www.qmail.org/)
#
# Version:  @(#) /etc/init.d/qmail 1.00 03-Sep-1997
#
# Author:   Larry Doolittle [EMAIL PROTECTED]
#   derived from skeleton by Miquel van Smoorenburg,
#   [EMAIL PROTECTED]
#

# Source function library.
. /etc/rc.d/init.d/functions

# See how we were called.
case "$1" in
  start)
touch /var/lock/subsys/qmail
env - PATH="/var/qmail/bin:$PATH" \
csh -cf 'qmail-start ./Mailbox splogger qmail '
# should limit RLIMIT_AS here, but bash apparently doesn't
# know that exists.  For now it is hacked into qmail-smtpd.
# 0.5M data should be plenty, resists DOS attacks
   /usr/local/bin/tcpserver -x/etc/tcp.smtp.cdb -q -u16 -g51 -t1 0 smtp 
/usr/local/bin/rblsmtpd -rrelays.radparker.com /usr/local/bin/rblsmtpd 
-rrelays.orbs.org /usr/local/bin/rblsmtpd -rrbl.maps.vix.com /usr/local/bin/rblsmtpd 
-rdul.maps.vix.com /var/qmail/bin/qmail-smtpd 21 | /var/qmail/bin/splogger smtpd 3 
   echo $! /var/local/subsys/qmail-smtpd
;;
  stop)
killall qmail-send
kill `cat /var/local/subsys/qmail-smtpd`
rm -f /var/lock/subsys/qmail-smtpd
rm -f /var/lock/subsys/qmail
;;
  *)
echo "Usage: qmail {start|stop}"
exit 1
esac

exit 0

 Brandon Dudley [EMAIL PROTECTED] wrote:
 
 I was using this command in /etc/rc.d/init.d/qmail before, but now it is not
 working. 
 
 /usr/local/bin/tcpserver -x/etc/tcp.smtp.cdb -q -u
 16 -g51 -t1 0 smtp /usr/local/bin/rblsmtpd -rrelays.radparker.com /usr/local
   /bin
 /rblsmtpd -rrelays.orbs.org /usr/local/bin/rblsmtpd -rrbl.maps.vix.com /usr/
   loca
 l/bin/rblsmtpd -rdul.maps.vix.com /var/qmail/bin/qmail-smtpd 21 | /var/qma
   il/b
 in/splogger smtpd 3 
 
 when I tried running it at the command line, I got the following error:
 
 Ambiguous output redirect.
 
 which I guess would have to do with the ".../var/qmail/bin/qmail-smtpd 21"
part...the question is, what should it read? Would upgrading to RH 6.1 hav
   e 
 changed this? I would have thought the redirect syntax has been around longe
   r
 than most current high school students. :)
 
 Which shell are you using? Which shell does your qmail script specify?
 
 -Dave



Re: quick question re: starting with rblsmtpd

1999-01-03 Thread Dave Sill

Brandon Dudley [EMAIL PROTECTED] wrote:

here's the whole script...short answer is csh:

#!/bin/sh

That's the problem: you're using Bourne shell syntax in the C Shell.
My csh skills are rusty; I can't remember how to redirect stderr.

-Dave



RE: quick question re: starting with rblsmtpd

1999-01-03 Thread Greg Owen

 Brandon Dudley [EMAIL PROTECTED] wrote:
 here's the whole script...short answer is csh:
 
 #!/bin/sh
 
 That's the problem: you're using Bourne shell syntax in the C Shell.
 My csh skills are rusty; I can't remember how to redirect stderr.

To redirect both stdin and stderr to one place, use:

progname  outputfile

If you wish to redirect them to different places, csh does not
handle this case well.  You need to use a subshell like such:

(progname  stdin-outputfile)  stderroutputfile

-- 
gowen -- Greg Owen -- [EMAIL PROTECTED]



Re: quick question re: starting with rblsmtpd

1999-01-03 Thread Brandon Dudley


ok, so I dumped my old rc script and modified Dave Sill's with the rblsmtpd
entry I was using (taken from the qmail archives)smtpd starts and all 
seems hunk dory, except when I telnet into port 25 I don't receive a greeting
from rblsmtpd...is that normal?

Here's the mods I made:

[brandon@misanthrope init.d]# more qmail
#!/bin/sh

PATH=/var/qmail/bin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin
export PATH

QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`

case "$1" in
  start)
echo -n "Starting qmail: qmail-send"
supervise /var/supervise/qmail/send /var/qmail/rc |
setuser qmaill cyclog /var/log/qmail 

echo -n " qmail-smtpd"
supervise /var/supervise/qmail/smtpd /usr/local/bin/tcpserver -x/etc/tcp.smtp.cdb 
-q -u16 -g51 -t1 0 smtp /usr/local/bin/rblsmtpd -rrelays.radparker.com 
/usr/local/bin/rblsmtpd -rrelays.orbs.org /usr/local/bin/rblsmtpd -rrbl.maps.vix.com 
/usr/local/bin/rblsmtpd -rdul.maps.vix.com /var/qmail/bin/qmail-smtpd-wrapper 21 | 
setuser qmaill accustamp | setuser qmaill cyclog /var/log/qmail/smtpd 
echo "."
;;

nothing shows up in the logs after starting this up. Telnetting into port 25
gives me this:

brandon@dudman [9:07am] /home/brandon 331 telnet discontent.com 25
Trying 216.100.35.70...
Connected to discontent.com.
Escape character is '^]'.
220 misanthrope.discontent.com ESMTP

502 unimplemented (#5.5.1)

502 unimplemented (#5.5.1)
quit
221 misanthrope.discontent.com
Connection closed by foreign host.

Does this look right?

Thanks for all the help so far.

Brandon



Re: quick question re: starting with rblsmtpd

1999-01-03 Thread Peter Abplanalp

That looks correct as far as the telnet goes.  You need to speak SMTP to 
it.  I don't know why nothing would show up in the logs.  Have you looked 
in /var/log/maillog, /var/log/qmail, /var/log/qmail/smtpd ot maybe 
/var/log/qmail-smtpd?

-Peter

 Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
 Delivered-To: mailing list [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: quick question re: starting with rblsmtpd 
 Date: Fri, 05 Nov 1999 09:27:41 -0800
 From: Brandon Dudley [EMAIL PROTECTED]
 
 
 ok, so I dumped my old rc script and modified Dave Sill's with the 
rblsmtpd
 entry I was using (taken from the qmail archives)smtpd starts and all 
 seems hunk dory, except when I telnet into port 25 I don't receive a 
greeting
 from rblsmtpd...is that normal?
 
 Here's the mods I made:
 
 [brandon@misanthrope init.d]# more qmail
 #!/bin/sh
 
 PATH=/var/qmail/bin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin
 export PATH
 
 QMAILDUID=`id -u qmaild`
 NOFILESGID=`id -g qmaild`
 
 case "$1" in
   start)
 echo -n "Starting qmail: qmail-send"
 supervise /var/supervise/qmail/send /var/qmail/rc |
 setuser qmaill cyclog /var/log/qmail 
 
 echo -n " qmail-smtpd"
 supervise /var/supervise/qmail/smtpd /usr/local/bin/tcpserver 
-x/etc/tcp.smtp.cdb -q -u16 -g51 -t1 0 smtp /usr/local/bin/rblsmtpd 
-rrelays.radparker.com /usr/local/bin/rblsmtpd -rrelays.orbs.org 
/usr/local/bin/rblsmtpd -rrbl.maps.vix.com /usr/local/bin/rblsmtpd 
-rdul.maps.vix.com /var/qmail/bin/qmail-smtpd-wrapper 21 | setuser qmaill 
accustamp | setuser qmaill cyclog /var/log/qmail/smtpd 
 echo "."
 ;;
 
 nothing shows up in the logs after starting this up. Telnetting into port 
25
 gives me this:
 
 brandon@dudman [9:07am] /home/brandon 331 telnet discontent.com 25
 Trying 216.100.35.70...
 Connected to discontent.com.
 Escape character is '^]'.
 220 misanthrope.discontent.com ESMTP
 
 502 unimplemented (#5.5.1)
 
 502 unimplemented (#5.5.1)
 quit
 221 misanthrope.discontent.com
 Connection closed by foreign host.
 
 Does this look right?
 
 Thanks for all the help so far.
 
 Brandon


Peter Abplanalp
StorageTek
[EMAIL PROTECTED]



Re: quick question re: starting with rblsmtpd

1999-01-03 Thread Peter Abplanalp

I stand corrected!  I looked at my start up and there is a -v, that is why 
I get stuff in the log file.

-Peter

 Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
 Delivered-To: mailing list [EMAIL PROTECTED]
 From: "Petr Novotny" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Date: Fri, 5 Nov 1999 18:32:12 -
 MIME-Version: 1.0
 Content-transfer-encoding: 7BIT
 Subject: Re: quick question re: starting with rblsmtpd 
 X-PM-Encryptor: QDPGP, 4
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 5 Nov 99, at 10:26, Peter Abplanalp wrote:
 
  That looks correct as far as the telnet goes.  You need to speak SMTP 
to
  it.  I don't know why nothing would show up in the logs.
 
 What should be in the logs? Unless you start tcpserver with -v 
 option, it does not log connections - it only barfs about errors. Ditto 
 for rblsmtpd and qmail-smtpd.
 
 -BEGIN PGP SIGNATURE-
 Version: PGP 6.0.2 -- QDPGP 2.60 
 Comment: http://community.wow.net/grt/qdpgp.html
 
 iQA/AwUBOCMirFMwP8g7qbw/EQI80gCZAWxso0o5DE6dD8QErEArhoKhricAniX2
 /ardA08R8vADZo4Swm6g8NHp
 =aA+q
 -END PGP SIGNATURE-
 --
 Petr Novotny, ANTEK CS
 [EMAIL PROTECTED]
 http://www.antek.cz
 PGP key ID: 0x3BA9BC3F
 -- Don't you know there ain't no devil there's just God when he's drunk.
  [Tom Waits]


Peter Abplanalp
StorageTek
[EMAIL PROTECTED]



Re: quick question re: starting with rblsmtpd

1999-01-03 Thread Brandon Dudley


I guess I'm ok...just not logging correctly. Did nelson's test and got
the proper response:

Testing your RBL block.  See http://www.crynwr.com/spam/ for more info

Here's how the conversation looked from linux.crynwr.com.
Note that some sites don't apply the RBL block to postmaster, so
I use your envelope sender as the To: address.

I connected to 216.100.35.70 and here's the conversation I had:

220 rblsmtpd.local
helo linux.crynwr.com
250 rblsmtpd.local
mail from:
250 rblsmtpd.local
rcpt to:[EMAIL PROTECTED]
451 Blackholed - see URL:http://mail-abuse.org/cgi-bin/lookup?192.203.178.39
Terminating conversation

Thanks, all!

Brandon
 That looks correct as far as the telnet goes.  You need to speak SMTP to 
 it.  I don't know why nothing would show up in the logs.  Have you looked 
 in /var/log/maillog, /var/log/qmail, /var/log/qmail/smtpd ot maybe 
 /var/log/qmail-smtpd?
 
 -Peter
 
  Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
  Delivered-To: mailing list [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: Re: quick question re: starting with rblsmtpd 
  Date: Fri, 05 Nov 1999 09:27:41 -0800
  From: Brandon Dudley [EMAIL PROTECTED]
  
  
  ok, so I dumped my old rc script and modified Dave Sill's with the 
 rblsmtpd
  entry I was using (taken from the qmail archives)smtpd starts and all 
  seems hunk dory, except when I telnet into port 25 I don't receive a 
 greeting
  from rblsmtpd...is that normal?
  
  Here's the mods I made:
  
  [brandon@misanthrope init.d]# more qmail
  #!/bin/sh
  
  PATH=/var/qmail/bin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin
  export PATH
  
  QMAILDUID=`id -u qmaild`
  NOFILESGID=`id -g qmaild`
  
  case "$1" in
start)
  echo -n "Starting qmail: qmail-send"
  supervise /var/supervise/qmail/send /var/qmail/rc |
  setuser qmaill cyclog /var/log/qmail 
  
  echo -n " qmail-smtpd"
  supervise /var/supervise/qmail/smtpd /usr/local/bin/tcpserver 
 -x/etc/tcp.smtp.cdb -q -u16 -g51 -t1 0 smtp /usr/local/bin/rblsmtpd 
 -rrelays.radparker.com /usr/local/bin/rblsmtpd -rrelays.orbs.org 
 /usr/local/bin/rblsmtpd -rrbl.maps.vix.com /usr/local/bin/rblsmtpd 
 -rdul.maps.vix.com /var/qmail/bin/qmail-smtpd-wrapper 21 | setuser qmaill 
 accustamp | setuser qmaill cyclog /var/log/qmail/smtpd 
  echo "."
  ;;
  
  nothing shows up in the logs after starting this up. Telnetting into port 
 25
  gives me this:
  
  brandon@dudman [9:07am] /home/brandon 331 telnet discontent.com 25
  Trying 216.100.35.70...
  Connected to discontent.com.
  Escape character is '^]'.
  220 misanthrope.discontent.com ESMTP
  
  502 unimplemented (#5.5.1)
  
  502 unimplemented (#5.5.1)
  quit
  221 misanthrope.discontent.com
  Connection closed by foreign host.
  
  Does this look right?
  
  Thanks for all the help so far.
  
  Brandon
 
 
 Peter Abplanalp
 StorageTek
 [EMAIL PROTECTED]
 



Re: quick question re: starting with rblsmtpd

1999-01-03 Thread troy

On  5 Nov, Dave Sill wrote:
| Brandon Dudley [EMAIL PROTECTED] wrote:
| 
|here's the whole script...short answer is csh:
|
|#!/bin/sh
| 
| That's the problem: you're using Bourne shell syntax in the C Shell.
| My csh skills are rusty; I can't remember how to redirect stderr.

In his case, I think he needs to replace:

   21 | 

with:

   |

...Troy