Hi,

This is sorta a feature request, but may be solveable by a better config:

https://marc.info/?l=openbsd-misc&m=155670259203430&w=2

What I did was explained there.

Here is my config for the mail system in question:

--->
... some keys cut ...

listen on lo0
listen on ix1 tls auth

table aliases file:/etc/mail/aliases
table secrets file:/etc/mail/secrets
########################
action "local" lmtp "/var/imap/socket/lmtp" user _cyrus alias <aliases>
action "relay" relay tls no-verify host smtps://la...@mail.solarscale.de \
        auth <secrets>
########################
match for local action "local"
match for any action "relay"
match auth from any for any action "relay"
<---

So what happened to me was that I activated a crontab accidentally that
fetchmails POP3 mail.  It connects to localhost and delivers to me
(pjp@localhost).  In my case the lmtp delivery caused a no such mailbox
error, and opensmtpd then sent a bounce to the originators of the mail as
MAILER-DAEMON via the relay.  How can I in future prevent this through the 
config?

If not possible, is it simple to somehow work out a workaround for such
situations?  I'm just lucky OpenBSD mailing lists seem to have a catch
for such bounces, but I still had to say sorry.

Regards,
-peter

-- 
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Reply via email to