Hello,
 
I would appreciate any help. I simly can not make relay-ctrl-2.5 to work. Bellow is the complete listing of everything I have done, installed, etc. Hope is specific enough.
 
Thank you for your help. Hans.
 
--------------------------------------------------
System
 
RedHat Linux 6.3
Qmail 1.03
checkpoppasswd (to validate multiple users with one system account)
relay-ctrl-2.5
 
--------------------------------------------------
 
Things I noticed; afteter installing, the relay-ctrl directories were not created (i created them by hand).
one in /etc the other in /var/spool 
 
Symptoms:
 
I can read email, but after de pop3 conection, no files are added to the /var/spool/relay-ctrl.
And the tcp-smtp file is not modified with the new IP. No errors are logged in any file. So when I try to send email from an IP that is not listed in my tcp-smtp file, I receive the known message "Sorry the domain is not listed in my list of recepient hosts".
 
The cron file for * * * * *  /usr/sbin/relay-ctrl-age is working fine, and istalled.
 
I created the configurations files in /etc/relay-ctrl. The files and its contest I describe them below:
 
File           Content
expiry         900
rule            :allow,RELAYCLIENT=''
rulesdir       /etc
smtpcdb     tcp.smtp.cdb
smtprules   tcp.smtp
spooldir      /var/spool/relay-ctrl
tcprules      /usr/local/bin/tcprules
 
ls -l /etc
-rw-r--r--   1 root     root          114 Oct 17 08:28 tcp.smtp
-rw-r--r--   1 root     root         2226 Oct 17 08:37 tcp.smtp.cdb
drwxr-xr-x   2 root     qmail        4096 Oct 17 08:26 relay-ctrl
 
ls -l /etc/relay-ctrl
-rw-r--r--   1 root     qmail           4 Oct 17 06:41 expiry
-rw-r--r--   1 root     qmail          22 Oct 17 08:26 rule
-rw-r--r--   1 root     qmail           5 Oct 17 06:35 rulesdir
-rw-r--r--   1 root     qmail          13 Oct 17 06:36 smtpcdb
-rw-r--r--   1 root     qmail           9 Oct 17 06:36 smtprules
-rw-r--r--   1 root     qmail          22 Oct 17 06:37 spooldir
-rw-r--r--   1 root     qmail          24 Oct 17 06:43 tcprules
ls -l  /var/spool
drwxr-xr-x   2 root     root         4096 Oct 17 06:15 relay-ctrl
ls -l /usr/local/bin
-rwxr-xr-x   1 root     root        16180 Aug 21 18:07 tcprules
 
ls -l /usr/sbin
-rwxr-xr-x   1 root     root        16258 Oct 17 06:55 relay-ctrl-age
-rwsr-xr-x   1 root     root        14250 Oct 17 06:55 relay-ctrl-allow
tcp-smtp content:
127.:allow,RELAYCLIENT=""
 
qmail script, content:
 
at the beginign:
 
tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup linux.ags.com.mx \
/bin/checkpoppassword relay-ctrl-allow /var/qmail/bin/qmail-pop3d Maildir 2>&1 | \
/var/qmail/bin/splogger pop3d &
 
case $1 ...
...
  cdb)
    tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp
    chmod 644 /etc/tcp.smtp*
    echo "Rele�do /etc/tcp.smtp."
    ;;

I thick this should be all, I have missed some thing?
 
 

Reply via email to