Re: Forwarding to two servers

2009-08-27 Thread tom lee
If there can be some delay between receipt and replication, something like rsync will work fine, although it will propagate users' mistakes. If you need the message delivered to both stores at roughly the same time, the virtual_alias_maps solution would work, or you can e.g. have your delivery

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 while

Re: time stamp changes in the queue'

2009-05-22 Thread tom lee
On Fri, May 22, 2009 at 12:36 PM, Victor Duchovni victor.ducho...@morganstanley.com 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

Re: time stamp changes in the queue'

2009-05-21 Thread tom lee
On Wed, May 20, 2009 at 5:36 PM, Wietse Venema wie...@porcupine.org 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

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 think

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 always

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 alerted before

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.cf, It

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 the

Re: postfix database

2009-04-28 Thread tom lee
On Tue, Apr 28, 2009 at 12:39 PM, Victor Duchovni victor.ducho...@morganstanley.com wrote: On Tue, Apr 28, 2009 at 12:24:21PM -0700, tom lee wrote: I use Postfix Maildir for saving storing the incoming emails. I also use procmail to deliver the emails to a different directory every day

redirect the emails

2009-04-27 Thread tom lee
Hello, I created 365 directory based on date for every year and want to redirect the emails to 365 different directory for all incoming emails based on date. for example, all emails arriving on 01/01/2009 should go to directory HOME/Maildir/20090101. How can it be done via postfix or procmail?

about relay server

2009-03-10 Thread tom lee
hello, I checked the doc about the mail relay in postfix and still not clear about two issues. I have mail sending from machine A to machine B, machine B is a relay server forwarding the email to machine C (target machine). I want to make sure there is no emails bouncing back from either

Re: about relay server

2009-03-10 Thread tom lee
On Tue, Mar 10, 2009 at 12:01 AM, ram r...@netcore.co.in wrote: On Mon, 2009-03-09 at 23:40 -0700, tom lee wrote: hello, I checked the doc about the mail relay in postfix and still not clear about two issues. I have mail sending from machine A to machine B,  machine B is a relay server

Re: about relay server

2009-03-10 Thread tom lee
On Tue, Mar 10, 2009 at 4:14 PM, mouss mo...@ml.netoyen.net wrote: All mails sending from machine A via relaying machine B will arrive in machine C. I think I need to set up something in machine B so that there will be no mails bounce back to machine A. if you want machine B to send no