Skip to content

Commit a038d39

Browse files
committed
fwd_only flag
1 parent 82f3f72 commit a038d39

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed

install/debian/exim4.conf.template

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,11 @@ aliases:
224224
pipe_transport = address_pipe
225225
unseen
226226

227+
localuser_fwd_only:
228+
driver = accept
229+
transport = devnull
230+
condition = ${if exists{/etc/exim/domains/$domain/fwd_only}{${lookup{$local_part}lsearch{/etc/exim/domains/$domain/fwd_only}{true}{false}}}}
231+
227232
localuser_spam:
228233
driver = accept
229234
transport = local_spam_delivery

install/rhel/exim-smarthost.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,11 @@ aliases:
229229
pipe_transport = address_pipe
230230
unseen
231231

232+
localuser_fwd_only:
233+
driver = accept
234+
transport = devnull
235+
condition = ${if exists{/etc/exim/domains/$domain/fwd_only}{${lookup{$local_part}lsearch{/etc/exim/domains/$domain/fwd_only}{true}{false}}}}
236+
232237
localuser_spam:
233238
driver = accept
234239
transport = local_spam_delivery

install/rhel/exim.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,11 @@ aliases:
224224
pipe_transport = address_pipe
225225
unseen
226226

227+
localuser_fwd_only:
228+
driver = accept
229+
transport = devnull
230+
condition = ${if exists{/etc/exim/domains/$domain/fwd_only}{${lookup{$local_part}lsearch{/etc/exim/domains/$domain/fwd_only}{true}{false}}}}
231+
227232
localuser_spam:
228233
driver = accept
229234
transport = local_spam_delivery

install/ubuntu/exim4.conf.template

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,11 @@ aliases:
224224
pipe_transport = address_pipe
225225
unseen
226226

227+
localuser_fwd_only:
228+
driver = accept
229+
transport = devnull
230+
condition = ${if exists{/etc/exim/domains/$domain/fwd_only}{${lookup{$local_part}lsearch{/etc/exim/domains/$domain/fwd_only}{true}{false}}}}
231+
227232
localuser_spam:
228233
driver = accept
229234
transport = local_spam_delivery

0 commit comments

Comments
 (0)