View previous topic :: View next topic |
Author |
Message |
T! n00b
Joined: 29 Jan 2003 Posts: 28 Location: Amsterdam, The Netherlands
|
Posted: Wed Feb 05, 2003 10:09 pm Post subject: ucspi 0.88-r4 & qmail-1.03-r10 broken? |
|
|
After emerging <subject> my qmail seems to be completely broken. Everything emerged fine (except for daemontools, rts.tests gave some problems with fileutils 4.1.11. installing it from source, wiping rts.tests 'fixed' that) but now qmail-smtp & qmail-pop3d won't start at all.
In the logs:
Code: |
@400000003e418aa63240b53c tcpserver: illegal option --
@400000003e418aa63241e9d4 tcpserver: usage: tcpserver [ -1UXpPhHrRoOdDqQsSv ] [ -c limit ] [ -x rules.cdb ] [ -B banner ] [ -g gid ] [ -u uid ] [ -b backlog ] [ -l localname ] [ -t timeout ] [ -n certfile ] host port program
|
the /service/qmail-smtpd/run reads:
Code: |
#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
exec /usr/bin/softlimit -m 8000000 \
/usr/bin/tcpserver -H -R -vp -x /etc/tcp.smtp.cdb \
-u $QMAILDUID -g $NOFILESGID 0 smtp rblsmtpd /var/qmail/bin/qmail-smtpd 2>&1
|
Quite shitty timing to have my mailserver broken, don't have that much time since I'm up for java cert. tomorrow. argh. Anyone any ideas? |
|
Back to top |
|
|
tecknojunky Veteran
Joined: 19 Oct 2002 Posts: 1937 Location: Montréal
|
Posted: Thu Feb 06, 2003 4:18 am Post subject: |
|
|
how sure are you it's qmail-smtpd supervise scripts?
If the author of the ebuild followed (somewhat) the "Life With Qmail" howto, you should also have a call for tcpserver in /service/qmail-pop3d/run.
One final note... rblsmtpd use rbl.maps.vix.com by default as a block list. I'm unaware if it works, but I cant even ping that dns from my place. So you probably only blocking mails for which their dns do not resolve to a valid IP. _________________ (7 of 9) Installing star-trek/species-8.4.7.2::talax. |
|
Back to top |
|
|
T! n00b
Joined: 29 Jan 2003 Posts: 28 Location: Amsterdam, The Netherlands
|
Posted: Thu Feb 06, 2003 7:14 am Post subject: |
|
|
tecknojunky wrote: | how sure are you it's qmail-smtpd supervise scripts?
If the author of the ebuild followed (somewhat) the "Life With Qmail" howto, you should also have a call for tcpserver in /service/qmail-pop3d/run.
|
yep, that call to tcpserver barks with
Code: |
root /service/qmail-pop3d> /usr/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb 0 pop-3 /var/qmail/bin/qmail-popup rrm.net /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1
tcpserver: illegal option --
tcpserver: usage: tcpserver [ -1UXpPhHrRoOdDqQsSv ] [ -c limit ] [ -x rules.cdb ] [ -B banner ] [ -g gid ] [ -u uid ] [ -b backlog ] [ -l localname ] [ -t timeout ] [ -n certfile ] host port program
|
tecknojunky wrote: |
One final note... rblsmtpd use rbl.maps.vix.com by default as a block list. I'm unaware if it works, but I cant even ping that dns from my place. So you probably only blocking mails for which their dns do not resolve to a valid IP. |
hmm, can't even resolve it from here. _________________ temporarily out of order |
|
Back to top |
|
|
tecknojunky Veteran
Joined: 19 Oct 2002 Posts: 1937 Location: Montréal
|
Posted: Thu Feb 06, 2003 4:53 pm Post subject: |
|
|
Hum, I don't recognise that for a pop3d run script. What is the .cdb doing in there. I don't say it's not correct but it looks more like a qmail-smtpd run script.
This is my run script for qmail-pop3d: Quote: | #!/bin/sh
HN="`hostname`"
PW="`cat /var/qmail/control/checkpassword`"
exec /bin/softlimit -m 2000000 /bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup $HN $PW /var/qmail/bin/qmail-pop3d Maildir 2>&1 |
It's my own inplementation on a Freesco box, so the paths may not correspond to the ones of Gentoo (the /bin mainly should be /usr/bin on gentoo), but it's more the tcpserver options that you should compare.
Search Google with "Life with Qmail" and compare the supervise scripts in it.
Finaly, the rblsmtpd will work but it wont block most of the spam. Here are a few free spam block list:- bl.spamcop.net
- dev.null.dk
- list.dsbl.org, using rbldns as of 2002-03
- multihop.dsbl.org, using rbldns as of 2002-03
- or.orbl.org, down as of 2001-10
- orbs.dorkslayers.com
- orbz.gst-group.co.uk
- relays.ordb.org
- relays.osirusoft.com
- unconfirmed.dsbl.org
Just add any and as much of them as a rblsmtpd -r parameter: Quote: | #!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
exec /usr/bin/softlimit -m 8000000 \
/usr/bin/tcpserver -H -R -vp -x /etc/tcp.smtp.cdb \
-u $QMAILDUID -g $NOFILESGID 0 smtp rblsmtpd -r bl.spam.cop /var/qmail/bin/qmail-smtpd 2>&1 |
_________________ (7 of 9) Installing star-trek/species-8.4.7.2::talax. |
|
Back to top |
|
|
|