Skip to content

Commit

Permalink
Merge pull request #1019 from ikedas/issue-1018 by ikedas
Browse files Browse the repository at this point in the history
Workaround for mail loop for sympa-request address (#1018)
  • Loading branch information
ikedas authored Oct 15, 2020
2 parents 125765d + 130a810 commit 8b2afb1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/lib/Sympa/Message.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8b2afb1

Please sign in to comment.