search for: smtp_address_parse_path

Displaying 4 results from an estimated 4 matches for "smtp_address_parse_path".

2019 Mar 24
1
Weird things in the mail queue
...valid local recipient. Yes, the envelope sender is flawed. But that is not the LDAs concern. If the SMTPD was happy enough, the email has been accepted and must not lead to a late bounce. In the case we're currently seeing this leads to backscatter spam. I think the right logic would be to not smtp_address_parse_path the enveloper sender unless it is needed for legitimate bounces (e.g. mailbox over quota). In that case a failing enveloper sender should be replaced for the bounce. In any other case dovecot-lda and lmtp must not bother. Kind regards, Daniel
2019 Feb 21
2
Weird things in the mail queue
I noticed a mail stuck in my mail queue. dovecot-lda was returning error 64 Invalid parameter given. (EX_USAGE). Weird, weird, weird. After some sleuthing, I found the sender address was FirstLast at domain.tld, with a UTF8-encoded Unicode U+FEFF ZERO WIDTH NO-BREAK SPACE character (AKA byte order mark) between "First" and "Last" :) Since that is passed as the -f parameter to
2018 Mar 07
2
Mail addresses with quotes + Postfix
Op 7-3-2018 om 15:40 schreef Stephan Bosch: > > > Op 7-3-2018 om 13:46 schreef Philipp Berger: >> I wrapped the LDA command in a script. I can see that Postfix passes >> "@@mydomain.tld" as the -d argument, without quotes. >> I then adapted the script to specifically replace this address with >> "@"@mydomain.tld, but this results in the
2018 Mar 07
0
Mail addresses with quotes + Postfix
Interesting, the documentation and the build-in help of dovecot-lda do not mention -r exists :) case 'r': /* final recipient address */ if (smtp_address_parse_path(ctx.pool, optarg, SMTP_ADDRESS_PARSE_FLAG_ALLOW_LOCALPART | SMTP_ADDRESS_PARSE_FLAG_BRACKETS_OPTIONAL, &final_rcpt_to, &errstr) < 0) { i_fatal_status(EX_USAGE, "Invalid -a parameter: %s", errstr); Btw: Should the error message not read "Invalid -r parameter: %s...