On Tuesday 09 June 2009 at 10:41 (CET), [email protected] wrote:
> 1. Is there any way to configure in postfix that, if he didnt find MX
> record for a domain even after (say 3 or 5 times) then postfix has to stop
> the processing of that mail, and send a error message indicating the MX
> problem to the sender.
>
> 2. Is there any way, to notify the sender the status of the message (other
> than sent). For eg; a.. if a message sent successfully no need of any
> report or notification. b. if a message is in deferred queue, it should
> send a notification to user that, this is in deferred queue due to so and
> so issue (may be MX, may be network timeout, etc) and will try to deliver
> it in a later time.
From 'man 5 postconf':
delay_warning_time (default: 0h)
The time after which the sender receives the message headers of mail
that is still queued.
To enable this feature, specify a non-zero time value (an integral
value plus an optional one-letter suffix that specifies the time unit).
Time units: s (seconds), m (minutes), h (hours), d (days), w (weeks).
The default time unit is h (hours).
--
Regards,
Ruben Laban
Systems and Network Administrator
ISM eCompany