diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-04-01 15:02:37 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-04-01 15:02:37 +0000 |
commit | f7c9cc679520834d36acc7a1fc666f2a052fce69 (patch) | |
tree | e112e12dd7db2620b5fcfa761c4d37977877eec6 /etc | |
parent | 02cc930297b1c3b375e35032e47c1e66f4e9e712 (diff) | |
download | mailfromd-f7c9cc679520834d36acc7a1fc666f2a052fce69.tar.gz mailfromd-f7c9cc679520834d36acc7a1fc666f2a052fce69.tar.bz2 |
Implement loop statement
git-svn-id: file:///svnroot/mailfromd/trunk@1337 7a8a7f39-df28-0410-adc6-e0d955640f24
Diffstat (limited to 'etc')
-rw-r--r-- | etc/mailfromd.rc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/mailfromd.rc b/etc/mailfromd.rc index 045b0582..e1323f14 100644 --- a/etc/mailfromd.rc +++ b/etc/mailfromd.rc @@ -47,27 +47,27 @@ done prog envfrom do if $f = "" - next + pass elif hostname ${client_addr} matches ".*(adsl|sdsl|hdsl|ldsl|dialin|dialup|ppp|dhcp|dynamic).*" reject 550 5.7.1 "Use your SMTP relay" elif hostname ${client_addr} matches ".*-[0-9]{1,3}-[0-9]{1,3}-[0-9]{1,3}-[0-9]{1,3}.*" on poll host ${client_addr} for $f do when success: - next + pass when not_found or failure: reject 550 5.1.0 cachestr() "Sender validity not confirmed" when temp_failure: tempfail 450 4.1.0 "Try again later" done elif relayed hostname ${client_addr} - next + pass elif $f mx fnmatches "*.yahoo.com" or $f mx fnmatches "*.namaeserver.com" set need_greylist 1 else on poll $f do when success: - next + pass when not_found or failure: reject 550 5.1.0 cachestr() "Sender validity not confirmed" when temp_failure: |