Unverified Commit 8b2afb14 authored by IKEDA Soji's avatar IKEDA Soji Committed by GitHub
Browse files

Merge pull request #1019 from ikedas/issue-1018 by ikedas

Workaround for mail loop for sympa-request address (#1018)
parents 125765d9 130a8100
......@@ -134,6 +134,9 @@ sub new {
my $addr = $1;
if ($addr =~ /<>/) { # special: null envelope sender
$self->{'envelope_sender'} = '<>';
} elsif ($addr =~ /<MAILER-DAEMON>/) {
# Same as above, but a workaround for pipe(8) of Postfix 2.3+.
$self->{'envelope_sender'} = '<>';
} else {
my @addrs = Mail::Address->parse($addr);
if (@addrs
......@@ -4377,6 +4380,10 @@ Prepending C<Return-Path:> is available by default.
Add C<R> to the C<flags=> attributes in master.cf.
Additionally with Postfix 2.3 or later, add an empty C<null_sender=>
attribute.
Or "null envelope sender" would be replaced with C<E<lt>MAILER-DAEMONE<gt>>.
=back
=item Exim
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment