"Postfix + Postfwd"-ны өөр хувилбарууд

Дусал нэвтэрхий толь-с
(Хуудас үүсгэв: "<pre> apt-get install postfwd </pre> After that you can run or stop postfwd using systemd, init or script /etc/init.d/postfwd. To change default arguments with whic...")
 
16-р мөр: 16-р мөр:
 
postfwd -f /etc/postfix/postfwd.cf -C
 
postfwd -f /etc/postfix/postfwd.cf -C
  
 +
/etc/postfix/main.cf файлд
 
<pre>
 
<pre>
 
127.0.0.1:10040_time_limit  = 3600
 
127.0.0.1:10040_time_limit  = 3600

01:04, 17 Хоёрдугаар сар 2019-ий байдлаарх засвар

apt-get install postfwd

After that you can run or stop postfwd using systemd, init or script /etc/init.d/postfwd.

To change default arguments with which postfwd is run, edit file /etc/default/postfwd.

/etc/postfix/postfwd.cf

id=R001; sender=~/.*/; action=rate(sender/60/86400/REJECT only 60 messages per day for $$sender)
id=R002; sender=~/.*/; action=rate(sender/20/3600/REJECT only 20 messages per hour for $$sender)

postfwd -f /etc/postfix/postfwd.cf -C

/etc/postfix/main.cf файлд

127.0.0.1:10040_time_limit   = 3600
smtpd_recipient_restrictions = permit_mynetworks
                               reject_unauth_destination
                               check_policy_service inet:127.0.0.1:10040