Monday, February 21, 2022, 11:23:11 PM, Jaroslaw Rafa wrote:
> Dnia 21.02.2022 o godz. 13:09:19 Alexey Shpakovsky pisze:
>> On Mon, February 21, 2022 12:59, Jaroslaw Rafa wrote:
>> >
>> > The part I am wondering about is exactly "Dovecot accepts". As far as I
>> > know, Dovecot does not need to "accept" anything, because it does not
>> > receive mail.
>>
>> > At least that's how I always used it :).
>>
>> I believe that's how most of us configure it, indeed!
>>
>>
>> But Dovecot also has an LMTP server:
>> https://doc.dovecot.org/configuration_manual/protocols/lmtp_server/
>> (LMTP is like SMTP, just lighter)
> Yes, but the OP did not state that he uses Dovecot in LMTP mode. If this is
> the case, he should make it clear, because this is not typical use case.
I do apologize. I thought I had mentioned using LMTP but really should have
included all of this anyway:
virtual_mailbox_domains = pjb.cc
virtual_mailbox_maps = hash:/usr/local/etc/postfix/vmailbox
virtual_alias_maps = hash:/usr/local/etc/postfix/virtual
virtual_transport = lmtp:unix:/var/spool/postfix/private/dovecot-lmtp
And:
smtpd_recipient_restrictions =
permit_mynetworks,
reject_unauth_destination,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
reject_unlisted_recipient,
permit
--
Cheers,
Phil