Portál AbcLinuxu, 17. července 2025 12:51
V dokumentaci NOD32 je totiz popsano asi 5 variant jak jej rozchodit. Tyto varianty neni treba mezi sebou nejak kombinovat.
Rikam to jen pro to, aby tazatel nebyl uveden v omyl, ze exituje jedinne funkcni nastaveni.
---------------------------------------- 4. Bidirectional scanning in MTA Postfix ---------------------------------------- The nod32smtp filter can also serve as a content filter for MTA Postfix providing the following changes are implemented: In section [smtp] of the configuration file: /etc/nod32/nod32.cfg set: listen_port = 2526 server_addr = "localhost" server_port = 2525 With these settings nod32smtp will listen on port 2526 and will forward all communication from this port to the local port 2525. In the next step, modify the /etc/postfix/master.cf file by adding the following specification into the file: localhost:2525 inet n - n - 2 smtpd -o content_filter= \ -o myhostname=nod32.yourdomain.com The value of the parameter myhostname must differ from that set in postfix (postconf myhostname), otherwise a loop is detected (by postfix) and the e-mail is rejected. Finally, add root@mail~: # postconf -e "content_filter = smtp:localhost:2526" into the postfix configurationi file (/etc/postfix/main.cf). TheTady mám problém, když to zapíši na konec, přestane Postfix úplně fungovat !!!
/etc/postfix/main.cf, /etc/postfix/master.cf,
/etc/nod32/nod32.cfg
a do techto souboru vepsat presne vse tak jak je to v te dokumentaci.
Jen do /etc/postfix/master.cf
je to malicko jinak:
localhost:2525 inet n - n - 2 smtpd -o content_filter -o myhostname=tvojedomena.cz
To " = \" do konfiguraku nepis.
Udelej to presne podle te 4 a navic zajisti spousteni demonu nod32d a nod32smtp.
Vic skutecne neni potreba.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.