Re: time stamp changes in the queue'

2009-05-22 Thread Ralf Hildebrandt
* tom lee : > my procmail setting is very simple: > > VERBOSE=yes > LOGFILE=/var/log/procmail.log > USERINBOX="$HOME/Maildir/" > :0 > $USERINBOX > > > so, if $USERINBOX is not writable, procmail delivered the mail to > /var/mail, not the postfix. > (I may change USERINBOX to the external storag

Re: time stamp changes in the queue'

2009-05-22 Thread tom lee
On Fri, May 22, 2009 at 12:36 PM, Victor Duchovni wrote: > On Fri, May 22, 2009 at 12:33:22PM -0700, tom lee wrote: > >> > >> > Please show actual evidence that mail is delivered to the mailspool >> > directory while home_mailbox is set in main.cf: >> > >> > 1) Command output from "postconf -n hom

Re: time stamp changes in the queue'

2009-05-22 Thread Wietse Venema
tom lee: > procmail: Error while writing to "/Users/username/Maildir/" The error message says PROCMAIL. This is the POSTFIX mailing list. Wietse

Re: time stamp changes in the queue'

2009-05-22 Thread Victor Duchovni
On Fri, May 22, 2009 at 12:33:22PM -0700, tom lee wrote: > > > > Please show actual evidence that mail is delivered to the mailspool > > directory while home_mailbox is set in main.cf: > > > > 1) Command output from "postconf -n home_mailbox". > > $ postconf -n home_mailbox > home_mailbox = Maild

Re: time stamp changes in the queue'

2009-05-22 Thread tom lee
> > Please show actual evidence that mail is delivered to the mailspool > directory while home_mailbox is set in main.cf: > > 1) Command output from "postconf -n home_mailbox". $ postconf -n home_mailbox home_mailbox = Maildir/ > 2) Logging that shows delivery to system mailbox. procmail: Error

Re: time stamp changes in the queue'

2009-05-22 Thread Wietse Venema
tom lee: > >> > >> One more thing, I have MAILDIR set to an external storage server which > > > > Postfix has no MAILDIR setting. > > > > sorry, I am talking about home_mailbox, it looks that if home_mailbox > not available, the mail will go to the default mail_spool_directory. Please show actual

Re: time stamp changes in the queue'

2009-05-22 Thread tom lee
>> >> One more thing, I have MAILDIR set to an external storage server which > > Postfix has no MAILDIR setting. > sorry, I am talking about home_mailbox, it looks that if home_mailbox not available, the mail will go to the default mail_spool_directory. I tried to make mail_spool_directory (/var/m

Re: time stamp changes in the queue'

2009-05-21 Thread Wietse Venema
tom lee: [ Charset ISO-8859-1 unsupported, converting... ] > On Wed, May 20, 2009 at 5:36 PM, Wietse Venema wrote: > > tom lee: > >> postqueue -p and mailq doesn't display the queued mails sorted based > >> on the arrival time. > > > > Why can't you let the mail system work FOR you, > > This is t

Re: time stamp changes in the queue'

2009-05-21 Thread tom lee
On Wed, May 20, 2009 at 5:36 PM, Wietse Venema wrote: > tom lee: >> postqueue -p and mailq doesn't display the queued mails sorted based >> on the arrival time. > > Why can't you let the mail system work FOR you, This is the special system dealing things differently. Thanks for you and other's he

Re: time stamp changes in the queue'

2009-05-20 Thread Wietse Venema
tom lee: > postqueue -p and mailq doesn't display the queued mails sorted based > on the arrival time. Why can't you let the mail system work FOR you, by allowing it to send delayed mail notifications and other delivery status information like every other mail system on this planet? If you have a

Re: time stamp changes in the queue'

2009-05-20 Thread Victor Duchovni
On Wed, May 20, 2009 at 03:56:00PM -0700, tom lee wrote: > I mainly want to find out the mail with the longest time in the queue > by checking the arrival time. Is there a way to do it? Only by examining all the messages, which can be done by parsing the output of mailq, there is a blank line bet

Re: time stamp changes in the queue'

2009-05-20 Thread tom lee
>> >> If I set delay_warning_time for 2 days and  blocked the outgoing port >> 25, what happened to the to-be-bounced mails? > > See next paragraph. > >> > When the message can't be delivered to the sender, Postfix can be >> > configured to send it to $2bounce_notice_recipient instead. >> >> The de

Re: time stamp changes in the queue'

2009-05-20 Thread Wietse Venema
tom lee: > On Wed, May 20, 2009 at 12:56 PM, Wietse Venema wrote: > > tom lee: > >> > > >> > Postfix WILL send the "delayed mail" notification to the email SENDER. > >> > >> > >> If I set delay_warning_time for 2 day, can I see the to-be-sent mail > >> in the queue /var/spool/postfix/deferred? > >

Re: time stamp changes in the queue'

2009-05-20 Thread tom lee
On Wed, May 20, 2009 at 12:56 PM, Wietse Venema wrote: > tom lee: >> > >> > Postfix WILL send the "delayed mail" notification to the email SENDER. >> >> >> If I set delay_warning_time for 2 day, can I see the to-be-sent mail >> in the queue /var/spool/postfix/deferred? >> >> Another issue is that

Re: time stamp changes in the queue'

2009-05-20 Thread Wietse Venema
tom lee: > > > > Postfix WILL send the "delayed mail" notification to the email SENDER. > > > If I set delay_warning_time for 2 day, can I see the to-be-sent mail > in the queue /var/spool/postfix/deferred? > > Another issue is that my sever blocked out-going port 25, it only > allows incoming p

Re: time stamp changes in the queue'

2009-05-20 Thread tom lee
> > "postqueue -p" with a bit of grepping should give you that information > as well I believe. Thanks. it looks that postqueue -p and mailq are similar in displaying the time stamp for the incoming emails. Tom.

Re: time stamp changes in the queue'

2009-05-20 Thread tom lee
> > Postfix WILL send the "delayed mail" notification to the email SENDER. If I set delay_warning_time for 2 day, can I see the to-be-sent mail in the queue /var/spool/postfix/deferred? Another issue is that my sever blocked out-going port 25, it only allows incoming port 25 in my firewall. I th

Re: time stamp changes in the queue'

2009-05-20 Thread Guy
2009/5/20 tom lee : > Thanks. for my case, my postfix server is the relay server. once the > relay server cannot connect to the relayhost listed in relay server > main.cf, > It cannot send out the email to the delay_notice_recipient under this > situation. > > Is there a way that I can run a comma

Re: time stamp changes in the queue'

2009-05-19 Thread Wietse Venema
tom lee: > > > > >> > >> I need to write a script to scan the queue to be alerted before the > >> mails start to bounce back. > > > > That is what "delay_warning_time" is for. > > > Thanks. for my case, my postfix server is the relay server. once the > relay server cannot connect to the relayhost

Re: time stamp changes in the queue'

2009-05-19 Thread tom lee
>> >> I need to write a script to scan the queue to be alerted before the >> mails start to bounce back. > > That is what "delay_warning_time" is for. delay_warning_time will let the sender get the email about the status of mail in the queue. what I want to do is to avoid to notify the sender but

Re: time stamp changes in the queue'

2009-05-19 Thread tom lee
> > >> >> I need to write a script to scan the queue to be alerted before the >> mails start to bounce back. > > That is what "delay_warning_time" is for. Thanks. for my case, my postfix server is the relay server. once the relay server cannot connect to the relayhost listed in relay server main.

Re: time stamp changes in the queue'

2009-05-19 Thread Wietse Venema
tom lee: > > > >> Is there a better way or command to find out queued mails more than 2 > >> days old instead of using find to search /var/spool/postfix/deferred/ > > > > Can you describe the problem, instead of the solution (locate > > file older than N days)? > > > > I need to write a script to

Re: time stamp changes in the queue'

2009-05-19 Thread tom lee
> >> Is there a better way or command to find out queued mails more than 2 >> days old instead of using find to search /var/spool/postfix/deferred/ > > Can you describe the problem, instead of the solution (locate > file older than N days)? > I need to write a script to scan the queue to be alerte

Re: time stamp changes in the queue'

2009-05-19 Thread Wietse Venema
tom lee: > Hello, > I want to find out if there is a mail in the queue for two days using > "find" command. > However, creation time for the mails under /var/spool/postfix/deferred/ > is always about 40 minutes ahead of my local time, I also noticed > that the time stamp for the mails in the qu

time stamp changes in the queue

2009-05-19 Thread tom lee
Hello, I want to find out if there is a mail in the queue for two days using "find" command. However, creation time for the mails under /var/spool/postfix/deferred/ is always about 40 minutes ahead of my local time, I also noticed that the time stamp for the mails in the queue changes and alway