Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Sympa
Commits
8b2afb14
Unverified
Commit
8b2afb14
authored
Oct 15, 2020
by
IKEDA Soji
Committed by
GitHub
Oct 15, 2020
Browse files
Merge pull request #1019 from ikedas/issue-1018 by ikedas
Workaround for mail loop for sympa-request address (#1018)
parents
125765d9
130a8100
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/Sympa/Message.pm
View file @
8b2afb14
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment