Click to See Complete Forum and Search --> : qmail woes


skeet_61
11-23-2003, 09:38 PM
i can't get my qmail to work with relay-ctl...


qmail-pop3d/run
##################################
#!/bin/sh
exec /usr/local/bin/softlimit -m 6000000 \
envdir /etc/relay-ctrl \
/usr/local/bin/relay-ctrl-chdir \
/usr/local/bin/tcpserver -v -R -H -l 0 0 110 \
/var/qmail/bin/qmail-popup server.ebmg.com \
/bin/checkpassword \
/usr/local/bin/relay-ctrl-allow \
/var/qmail/bin/qmail-pop3d Maildir 2>&1
##################################

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 6000000 \
envdir /etc/relay-ctrl\
/usr/local/bin/tcpserver -H -R -l 0 \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
/usr/local/bin/relay-ctrl-check \
/var/qmail/bin/qmail-smtpd 2>&1
##################################

qmail-send/run
##################################
#!/bin/sh
exec /var/qmail/rc
##################################

[root@server /etc/relay-ctrl]$ more *
::::::::::::::
RELAY_CTRL_DIR
::::::::::::::
/home/relay-ctrl/allow

::::::::::::::
RELAY_CTRL_EXPIRY
::::::::::::::
900

::::::::::::::
RELAY_CTRL_PORT
::::::::::::::
811

::::::::::::::
RELAY_CTRL_RELAYCLIENT
::::::::::::::

##################################

[root@server /home/relay-ctrl/allow]$ ls -l
total 8
drwxrwxrwx 2 root root 4096 Nov 23 19:44 .
drwx------ 3 root root 4096 Nov 22 20:13 ..
-rwxr-xr-x 1 auser auser 14 Nov 23 20:05 ip.xx.xx.xxx

##################################

[root@server /home/relay-ctrl/allow]$ cat ip.xx.xx.xxx
user=auser

##################################


-----Original Message-----
From: System Administrator
Sent: Sunday, November 23, 2003 7:02 PM
To: 'A User'
Subject: Undeliverable: test

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

Subject: RE: test
Sent: 11/23/2003 7:02 PM

The following recipient(s) could not be reached:

'A Test' on 11/23/2003 7:02 PM
553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)


##################################



Please help me! I havn't been able to figure this out, and currently the server is an open relay, and it's getting 100s of queues per day of spam that is filling up the hard drive to an unusable state.

Thank You,
-B

hard candy
11-24-2003, 11:24 AM
Are you using smtp-poplock? Here's a site that tells you how to use it. It may help.
Smtp-poplock (http://www.davideous.com/smtp-poplock/)

skeet_61
11-24-2003, 01:07 PM
i tried it once, but i will try it again!

-B

skeet_61
11-28-2003, 01:01 AM
ok i tried the pop-lock, but when i try to login, it just hangs when its sending the un/pw... ive toggled with some lines in my qmail-pop3d/run and found the when i took out the /usr/sbin/logpopauth-pre, it would let me log in as usual, but nothing shows up in the showallowed database...

:-\

-B