On 04/09/2023 15:05, Jaroslaw Rafa via Postfix-users wrote:
Dnia  4.09.2023 o godz. 14:53:42 lejeczek via Postfix-users pisze:
Postfix logs when mail is sent to it:
...
connect from smtpo71.interia.pl[217.74.67.71]
Anonymous TLS connection established from
smtpo71.interia.pl[217.74.67.71]: TLSv1.2 with cipher
ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)
NOQUEUE: reject: RCPT from smtpo71.interia.pl[217.74.67.71]: 554
5.7.1 <[email protected]>: Relay access denied; from=<[email protected]>
to=<[email protected]> proto=ESMTP helo=<smtpo71.interia.pl>
...

but at the same time Postifx sends mail out just find.
I'm hoping what missed or got wrong must be trivial - what that
might be?
Did you define in the Postfix config that Postfix should handle mail for
domain some.xyz ? Like "mydestination=", "virtual_mailbox_domains=" or
"virtual_alias_domains=" (depending on how do you deliver mail for that
domain).
I did have '#virtual_mailbox_domains' - being amateur in my mind it did not make sense, since I wanted Postfix to relay on Dovecot, to have it & removed those.
Which one of those would be 'best practice/option' ?

If I use "virtual_mailbox_domains" then logs show:
...
fatal: bad string length 0 < 1: virtual_mailbox_base =
...
so I add that.
Now Postifx errors out:
...
prepend Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=217.74.67.62; helo=smtpo62.interia.pl; [email protected]; receiver=<UNKNOWN>
E603C6070980: client=smtpo62.interia.pl[217.74.67.62]
E603C6070980: message-id=<[email protected]> disconnect from smtpo62.interia.pl[217.74.67.62] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7 E603C6070980: from=<[email protected]>, size=2699, nrcpt=1 (queue active)
connect from localhost[127.0.0.1]
BCA3A6070981: client=localhost[127.0.0.1]
BCA3A6070981: message-id=<[email protected]> disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5 BCA3A6070981: from=<[email protected]>, size=3207, nrcpt=1 (queue active) E603C6070980: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=21, delays=5.2/0.01/0/16, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as BCA3A6070981)
E603C6070980: removed
BCA3A6070981: to=<[email protected]>, relay=virtual, delay=0.05, delays=0.02/0/0/0.02, dsn=5.1.1, status=bounced (unknown user: "[email protected]") C7D846070980: message-id=<[email protected]>
BCA3A6070981: sender non-delivery notification: C7D846070980
C7D846070980: from=<>, size=5075, nrcpt=1 (queue active)
BCA3A6070981: removed


but that user "[email protected] do exist, Dovecot says so. (& sends out successfully) If I add more, like 'virtual_mailbox_maps', etc. then it "fixes" delivery but !! defeats the purpose/goal - Dovecot's auth & delivery - no?


_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to