Dovecot sieve vacation: Client host rejected: Access denied (in reply to RCPT TO command))

Hi,

I try to setup a sieve vacation auto-reply. Internal it’s working properly. Unfortunately the messages aren’t accepted on the outside:

t 24 19:33:12 ucsmaster postfix/qmgr[32108]: 6B955448E8: from=<>, size=1332, nrcpt=1 (queue active)
Oct 24 19:33:12 ucsmaster amavis[13825]: (13825-09) Passed CLEAN {RelayedOpenRelay}, [127.0.0.1] <> -> <external@bla.de>, Message-ID: <dovecot-sieve-1603560791-532037-0@ucsmaster.top2.top1>, mail_id: ywEe2uCbo9iv, Hits: -1.901, size: 849, queued_as: 6B955448E8, 670 ms
Oct 24 19:33:12 ucsmaster postfix/smtp[25487]: 8F43C45DCB: to=<external@bla.de>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.94, delays=0.27/0/0/0.67, 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 6B955448E8)
Oct 24 19:33:12 ucsmaster postfix/qmgr[32108]: 8F43C45DCB: removed
Oct 24 19:33:12 ucsmaster postfix/smtp[25502]: 6B955448E8: to=<external@bla.de>, relay=my.mail.relay:587, delay=0.31, delays=0.04/0.02/0.18/0.07, dsn=5.7.1, status=bounced (host my.mail.relay said: 554 5.7.1 <i59F4B348.versanet.de[89.244.179.72]>: Client host rejected: Access denied (in reply to RCPT TO command))
Oct 24 19:33:12 ucsmaster postfix/qmgr[32108]: 6B955448E8: removed

I assume this is an issue with the mail headers? Can this caused by the sieve script? The internal mail server is connected to a mail relay with two different mail domains.

Best,
SirTux

Mastodon