Re: smtpd-policyd feature.

2010-03-31 Thread ram
On Wed, 2010-03-31 at 09:03 +0530, an...@isac.gov.in wrote: Dear List, We are using the smtpd-policyd feature from long time to allow some specific users to receive higher size mails. It is working fine. But, it does not work when the recipient_count is more than one as we are

Re: smtpd-policyd feature.

2010-03-31 Thread Wietse Venema
an...@isac.gov.in: Dear List, We are using the smtpd-policyd feature from long time to allow some specific users to receive higher size mails. It is working fine. But, it does not work when the recipient_count is more than one as we are comparing the value with recipient. There

message_size_limit vs virtual_mailbox_limit

2010-03-31 Thread Voytek Eymont
I currently have in main.cf like: message_size_limit = 1024 and virtual_mailbox_limit = 1024 so, if I want to increase it, I need also increase virtual_mailbox_limit to at least same as message_size_limit can I just use message_size_limit = value, and, don't worry about

[Off-Topic] Handling automatic replies sent to from and ignoring the return envelope

2010-03-31 Thread David Michard
Hello, I guess this message is off-topic as it is only loosely related to postfix. You may stop reading this now if you are non interested in such topics. --- I am responsible for a mailing list with roughly half a million subscribers. The flow is outgoing only as we send a newsletter to

Best way to implement SRS

2010-03-31 Thread ram
I know postfix has no native support for Sender Rewriting Scheme (IMHO it should ..) We implement forwarding using virtual_alias_maps or using cyrus+sieve. So what is the recommended way to implement SRS. I think since a milter now can do sender rewrite that will be the easiest way to do it

Re: message_size_limit vs virtual_mailbox_limit

2010-03-31 Thread Noel Jones
On 3/31/2010 6:37 AM, Voytek Eymont wrote: I currently have in main.cf like: message_size_limit = 1024 and virtual_mailbox_limit = 1024 so, if I want to increase it, I need also increase virtual_mailbox_limit to at least same as message_size_limit can I just use message_size_limit =

deliver big messages only at nigth ?

2010-03-31 Thread Jorge E. Rojas
helo people i has been (unlucky) searching a lot in the list archives and google for a way to having a dual scheme for delivering message queue, one for messages below 2 megabytes, this kind with inmediately deliver and messages over this limit with delivery only between 18:00 and 6:00

Re: message_size_limit vs virtual_mailbox_limit

2010-03-31 Thread Victor Duchovni
On Wed, Mar 31, 2010 at 09:31:29AM -0500, Noel Jones wrote: Better choices include - set virtual_mailbox_limit to some large value you don't ever expect to exceed, maybe 10x ~ 100x the message_size_limit. - set virtual_mailbox_limit = $message_size_limit so that changes to

Re: Proper setup of our postfix relays

2010-03-31 Thread Jon Giles
Victor: Thanks again for the suggestions. Having removed fallback_relay has stopped the loops, but I am still challenged in setting up the failover to the second relayhost. Unless there is something I am missing, using a local DNS server to create the failover isn't an option for me. I can't

Re: deliver big messages only at nigth ?

2010-03-31 Thread Kevin DUBOURG
Hello, For me you have to do a script which select the message over 2 megabytes and put them hold. At night you put those mail on queue. With the command postqueue -p and command awk you can put email on hold. Like this to hold email on day : On cron you put this = postqueue -p| awk 'BEGIN {

Re: Proper setup of our postfix relays

2010-03-31 Thread Victor Duchovni
On Wed, Mar 31, 2010 at 01:28:22PM -0400, Jon Giles wrote: Thanks again for the suggestions. Having removed fallback_relay has stopped the loops, but I am still challenged in setting up the failover to the second relayhost. Unless there is something I am missing, using a local DNS server

Re: Proper setup of our postfix relays

2010-03-31 Thread Jon Giles
Victor: Thanks for the tips. After removing fallback_relay from my main.cf the loops stopped when the mailbox server is offline, but I still need to set up the second relayhost. I don't think a local DNS server would work out for us. The relayhosts may change their IPs, and so it would be best

Re: Proper setup of our postfix relays

2010-03-31 Thread Jon Giles
Sorry for missing this. I have these emails going to a special mailbox and I forgot. Sorry again, but thanks again for the help and I will try this out today! jg On 3/31/10 1:55 PM, Victor Duchovni victor.ducho...@morganstanley.com wrote: On Wed, Mar 31, 2010 at 01:28:22PM -0400, Jon Giles

Proxy Setting in Main.cf + Another question (with log snippit)

2010-03-31 Thread Josh Cason
My mailserver is behing a firewall that also does nat tranlastion. So the inside has a dmz zone. When you hit from the oustide you hit the outside / public ip numbers. You are hitting the firewall box. Then going in to the dmz zone. The firewall is setup to route the proper ports back and

Re: Proxy Setting in Main.cf + Another question (with log snippit)

2010-03-31 Thread Noel Jones
On 3/31/2010 3:46 PM, Josh Cason wrote: My mailserver is behing a firewall that also does nat tranlastion. So the inside has a dmz zone. When you hit from the oustide you hit the outside / public ip numbers. You are hitting the firewall box. Then going in to the dmz zone. The firewall is setup

Re: BCC to Undisclosed-Recipient

2010-03-31 Thread Simon
On Wed, Mar 31, 2010 at 9:31 AM, Noel Jones njo...@megan.vbhcs.org wrote: Ok. Please see: http://www.postfix.org/postconf.5.html#undisclosed_recipients_header Either leaving undisclosed_recipients_header at its default value by removing it from your main.cf, or explicitly setting it empty

reject_unknown_sender_domain behavior

2010-03-31 Thread Paul Enlund
Hi I want to stop MAIL FROM: someb...@[a.b.c.d] (IP address) being accepted. My impression would have been the config below would do this as say [1.1.1.1] does not have A or MX records. smtpd_sender_restrictions = reject_unknown_sender_domain How can I achieve my goal. Regards Paul

Re: Bypassing content filter or mail filter if one of them crashes out

2010-03-31 Thread mouss
Sharma, Ashish a écrit : Hello, I am running my postfix with 3 mail filters and 2 content filters (actually one of the content filter (amavisd) is piping it's output to the other). My question here is how can I make sure to make my setup robust in the sense that if one of the mail

Re: message_size_limit vs virtual_mailbox_limit

2010-03-31 Thread Voytek Eymont
On Thu, April 1, 2010 1:31 am, Noel Jones wrote: On 3/31/2010 6:37 AM, Voytek Eymont wrote: no limit is usually a bad choice; unexpected things can happen. Better choices include - set virtual_mailbox_limit to some large value you don't ever expect to exceed, maybe 10x ~ 100x the

Re: reject_unknown_sender_domain behavior

2010-03-31 Thread mouss
Paul Enlund a écrit : Hi I want to stop MAIL FROM: someb...@[a.b.c.d] (IP address) being accepted. My impression would have been the config below would do this as say [1.1.1.1] does not have A or MX records. try a check_sender_access with a pcre map: /@\[/ REJECT Sorry, we do not

holding local delivery

2010-03-31 Thread Vernon A. Fort
I have a setup where the local deliver using cyrus-imapd is located on an encrypted volume. When the server is rebooted, we will manually mount the volume and start the cyrus application. However, until we start cyrus, how can i configure postfix to accept email but defer or hold the local

Re: holding local delivery

2010-03-31 Thread Noel Jones
On 3/31/2010 7:41 PM, Vernon A. Fort wrote: I have a setup where the local deliver using cyrus-imapd is located on an encrypted volume. When the server is rebooted, we will manually mount the volume and start the cyrus application. However, until we start cyrus, how can i configure postfix to

Re: holding local delivery

2010-03-31 Thread Vernon A. Fort
On 3/31/2010 9:58 PM, Noel Jones wrote: On 3/31/2010 7:41 PM, Vernon A. Fort wrote: I have a setup where the local deliver using cyrus-imapd is located on an encrypted volume. When the server is rebooted, we will manually mount the volume and start the cyrus application. However, until we start