2009/7/4 Ing. Davy Leon <d...@scu.escambray.com.cu>:
> I deliver all my outgoing email to an smarthost.
> This smarthost is sender dependant password protected. How can postfix make
> the delivery?

Postfix can use Cyrus SASL to perform SMTP client auth.

> I think, every time posrfix open a SMTP session with the smarthost after
> authentication should deliver one message and close it. If deliver several
> messages using the same smtp session, the smarthost will change the "From"
> header making the email looks like coming from the user owner of the
> credential postfix used for opening it, wich is wrong. So Postfix has to
> authenticate with the smarthost for every message.

It sounds like you already have client-auth working? Anyway, this
sounds like what you want, but it may require a bit of work for a
larger setup:
http://www.postfix.org/SASL_README.html#client_sasl_sender

> Some times smarthost account get blocked for a short period of time due to
> spammers brute forde attack, so, how can I tell postfix, that keep in queue
> messages that could't be delivered to the smarthost because of a blocked
> account without noticing the user, just the postmaster.

Postfix will notify the sender about delays because that makes sense.
Maybe you can configure this, I'm not sure. Or just turn off delay
notifications.

Reply via email to