>Здравствуйте! Пожалуйса подскажите как сделать так, чтобы через меня не использовали в
>качестве транспорта. А то логи смотришь посылают почту какие то левые
>люди таким же левым людям). Огрнаничивать по айпи не охота.
>Как сделать так, чтобы почта рассылалась только в том случае, если
>один из адресов (отправитель или получатель) зарегистрирвоан на моем сервере? Заранее
>спасибо!
читать доку по установке qmail
запускай qmail через tcpserver и там создавай базешку tcp.smtp.cdb где прописывать сетки для релея
8a. Access Control
Before we can start up our qmail smtpd, we need to do some access control. The simplest way to do this is by using files in /etc. I use /etc/tcp.smtp as my access control file. If you don't need to do any access control, /etc/tcp.smtp can have just one line:
:allow
Note that a default configuration does not allow for ANY relaying, even from localhost. To allow relaying from localhost and your local network, you would have to use something like this:
127.0.0.1:allow,RELAYCLIENT=""
192.168.1.:allow,RELAYCLIENT=""
:allow
For more examples, man tcprules.
After you've created your rules, you need to activate them. tcpserver works by reading a cdb (database) file. You use the tcprules program to build the database file from your /etc/tcp.smtp file. This is accomplished by the following command:
# tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp