postfix+amavis-ng: Name service error
Настроил postfix (локальная почта своими силами, остальная ч/з
smarthost) и amavis-ng совместно с clamav. При этом локальные письма не
хотят ходить: посылаются только при наличии коннекта с нетом (dial-up),
в логах postfix:
Mar 23 15:21:36 debsmart postfix/smtp[4336]: DE7F52C25B:
to=<postmaster@debsmart>, relay=none, delay=71920, status=deferred (Name
service error for localhost: Host not found, try again)
При отсутствии amavis-ng, локальная почта ходит ОК. Настраивал так:
добавил в /etc/postfix/main.cf:
content_filter = smtp:localhost:10025
В /etc/postfix/master.cf добавил:
localhost:10026 inet n - - - - smtpd -o content_filter
amvis-ng:
mail-transfer-agent = SMTP
...
input address = localhost
input port = 10025
output address = localhost
output port = 10026
В чем ошибка, где исправить?
--
Best regards,
Yury A. Yurevich
Registered Linux User #276311
Debian 3.0r1 Woody kernel 2.6.3
Reply to: