Hello!

How can I make, opensmtpd accept mail for all recipients: that are present in the file /etc/opensmtpd/aliases and that are not present?
I had the rule in my /etc/opensmtpd/smtpd.conf file:

   accept \
       from any \
       for domain domain.ltd alias <aliases> \
       deliver to lmtp "/run/dovecot/lmtp" rcpt-to

I have changed this rule to:

   accept \
       from any \
       for domain domain.ltd \
       deliver to lmtp "/run/dovecot/lmtp" rcpt-to

Now, if I send to any recipient in my domain, for example rggg...@domain.ltd, I receive error 550, but I need mail to be deliver to i...@domain.ltd

--
Thank you!

Reply via email to