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 <syst...@some.xyz>: Relay access denied; from=<s...@int.pl>
to=<syst...@some.xyz> 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;
envelope-from=s...@int.pl; receiver=<UNKNOWN>
E603C6070980: client=smtpo62.interia.pl[217.74.67.62]
E603C6070980:
message-id=<c6e2fd8e-ccac-30a2-09cf-feee25d72...@int.pl>
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=<s...@int.pl>, size=2699, nrcpt=1 (queue
active)
connect from localhost[127.0.0.1]
BCA3A6070981: client=localhost[127.0.0.1]
BCA3A6070981:
message-id=<c6e2fd8e-ccac-30a2-09cf-feee25d72...@int.pl>
disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1
data=1 quit=1 commands=5
BCA3A6070981: from=<s...@int.pl>, size=3207, nrcpt=1 (queue
active)
E603C6070980: to=<syst...@some.xyz>,
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=<syst...@some.xyz>, relay=virtual,
delay=0.05, delays=0.02/0/0/0.02, dsn=5.1.1, status=bounced
(unknown user: "syst...@some.xyz")
C7D846070980:
message-id=<20230904131848.c7d846070...@swir.mine.priv>
BCA3A6070981: sender non-delivery notification: C7D846070980
C7D846070980: from=<>, size=5075, nrcpt=1 (queue active)
BCA3A6070981: removed
but that user "syst...@some.xyz 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 -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org