Stefan Palme wrote:
> Now I want a special authenticated user to be allowed to send
> mails with an "unknown recipient domain". Is this possible?
> 
> (The reason for this strange requirement is, that this "user"
> is a software product. This software delivers its mails via 
> the local SMTP server. When it tries to send emails to an invalid
> domain, postfix should not reject this email during the internal
> SMTP communication. Instead I want it to accept it and create
> a bounce message to the original sender).


I can think of a few ways. If the software is running on the same
machine, you could add a check_sender_access table before the rejections
to permit it. You could move permit_sasl_authenticated higher, but
that's probably undesirable. A special instance of smtpd in master.cf,
as suggested, is also good.

There might be a "proper" way to do this, using the authentication
credentials at an earlier stage, but I can't claim to know.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to