Код: Выделить всё
begin acl
acl_check_sender:
# тут типа смотреть на адреса, которым в принципе запрещено отправлять
deny message = "You are not allowed to send mail out office"
senders = /store/mnt/lists/restrict.list
#тут я принимаю от каких хостов - сетей
accept
hosts = 192.168.70.2 : 192.168.70.1 : 192.168.70.8 : 192.168.70.242 : 94.27.57.34/32 : 93.178.246.3/32
# без каментов
drop message = Restricted characters in address local part ($sender_address_local_part)
condition = ${if match{$sender_address_local_part}{^[|]}{yes}{no}}
# без каментов
drop message = Automatically generated addresses are not welcome here.
condition = ${if match{$sender_address_local_part}{\%CUST_WORD}{yes}{no}}
# здесь я принимаю только от авторизированных и своей сети
accept authenticated = *
hosts = 192.168.70.0/24
Но вот звонит сотрудник из удаленного офиса и говорит, что мол авторизируюсь - но в ответ получаю
Код: Выделить всё
2012-08-17 12:12:17 no IP address found for host ll-214.160.223.85.od.sovam.net.ua (during SMTP connection from [85.223.160.214])
2012-08-17 12:12:17 H=(krymentar) [85.223.160.214] rejected MAIL <alexey.krymentar@coraltravel.ua>
или я где-то что-то забыл ?