Skip to content

Commit

Permalink
lda: Allow -f sender to omit domain.
Browse files Browse the repository at this point in the history
Several people complained about the original enforcement of the presence of a
domain (added for v2.3.0) to be too restrictive. Apparently, this legitimately
happens with bounce messages on certain platforms.
  • Loading branch information
stephanbosch committed May 26, 2018
1 parent 0e16bc7 commit ccd65c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lda/main.c
Expand Up @@ -333,6 +333,7 @@ int main(int argc, char *argv[])
/* envelope sender address */
if (smtp_address_parse_path(ctx.pool, optarg,
SMTP_ADDRESS_PARSE_FLAG_BRACKETS_OPTIONAL |
SMTP_ADDRESS_PARSE_FLAG_ALLOW_LOCALPART |
SMTP_ADDRESS_PARSE_FLAG_ALLOW_EMPTY,
&mail_from, &errstr) < 0) {
i_fatal_status(EX_USAGE,
Expand Down

0 comments on commit ccd65c0

Please sign in to comment.