-- 

I need urgently to configure the relay in the qmail and I'm not
getting.

My situation is the following:
  
I have several users that are connected my server to receive and to
send e-mails.
Those users are not in my network.
Everybody has dynamic IPs because they connect to the Internet
through several others ISPs.
For that reason I opted for the POP-before-SMTP authentication, and
I installed the package "relay-ctrl".

I followed all the instructions of the file "Readme":

# gzip -dc relay-ctrl-2.5.tar.gz | tar xvf -
# make
# make root-install

After, I put in crontab the followed lines:

* * * * * /usr/sbin/relay-ctrl-age

And, in the file /etc/rc.d/init.d/qmail, I insert the followed lines
between "esac" and "exit 0":

tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup pop3.tecnohost.com.br \
/bin/checkpassword /usr/sbin/relay-ctrl-allow /var/qmail/bin/qmail-pop3d Maildir 2>&1 
| \
/var/qmail/bin/splogger pop3d &

So, as nothing happened, I read all messages in the list archive about
"relay-ctrl" and I discovered that was necessary to do more things than
file "Readme" didn't explain:

1. Create the directory /etc/relay-ctrl

2. Create some files and put inside the /etc/relay-ctrl:
   2.1. expiry
   2.2. rule
   2.3. rulesdir
   2.4. smtpcdb
   2.5. smtprules
   2.6. spooldir
   2.7. tcprules
   
3. Inside this files, put:
   3.1. expiry    = 900
   3.2. rule      = :allow,RELAYCLIENT=''
   3.3. rulesdir  = /etc
   3.4. smtpcdb   = tcp.smtp.cdb
   3.5. smtprules = tcp.smtp
   3.6. spooldir  = /var/spool/relay-ctrl
   3.7. tcprules  = /usr/local/bin/tcprules

4. Create the directory /var/spool/relay-ctrl/

5. After all, I reboot the computer.

I would like to know if still need to do more some thing...
'Cause as I said before, in README it doesn't explain practically anything.
Most of the things that I did was through the messages of that list.   
As if I was joining pieces of a puzzle.

I ask that, because the things are not still working.  :-(((

See what it's already working:

1. The users can receive messages from any domain out of my network.
2. The users can send messages for any domain out of my network.

See what is not still working:

1. The users can send messages without receive first.
2. Inside the /var/spool/relay-ctrl/ a file is created with the name of
   the address IP that is using the e-mail in the moment.
   But this file stay empty (is that correct?) and is not never
   deleted.


Please help me!
I'm there are days trying to solve that without success.
I don't know more than to do.

--

Thanks,
Ana Paula


Reply via email to