Ian Masters skrev:
> Hello,
> 
> I've set up a local mail server with Postfix 2.3.3 and Dovecot 1.0.7 on
> CentOS 5.2.
> 
> This is the first time I've used Postfix.
> 
> I can send and receive local mail which, for the moment, is fine.
> 
> When I tried to send a mail to an external mail address, the delivery
> failed, but I did not get a mail from the server notifying me of that.
> 
> Using "mailq" I can see that the mail is languishing there:
> 
> (connect to alt1.gmail-smtp-in.l.google.com[209.85.163.27]: Connection
> timed out)
> 
> I'd like to know why I didn't get notified.
> 
> According to http://www.postfix.org/bounce.5.html:
> "The  Postfix  bounce(8)  server  produces  delivery status
>        notification  (DSN)  messages  for   undeliverable   mail,
>        delayed  mail, successful delivery or address verification
>        requests.
> 
>        By default, these notifications are generated from  built-
>        in  templates with message headers and message text."
> 
> I'm presuming that means that, without adding anything to
> /etc/postfix/main.cf, that I should be getting some kind of notification
> about the mail problem from Postfix.
> 
> Have I misunderstood this?
> 
> If notifications are sent by default, I need to discover why I didn't
> get one.
> 
> Any help would be much appreciated.
> 
> I'd like to know within about 5 or 10 minutes if there is a problem with
> a mail I've sent.
> 
> Thanks
> 
> Ian Masters
> 
> 
Set delay_warning_time to 5m or 10m

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).

/Max

Reply via email to