Re: Limit the number of messages sent per user?

2010-08-13 Thread Noel Jones
On 8/13/2010 8:29 PM, Walter Pinto wrote: Noel, Does your info apply to servers used only for outgoing mail as well? It's less likely to cause problems, but it's not very well suited to the task. -- Noel Jones

Re: Limit the number of messages sent per user?

2010-08-13 Thread Walter Pinto
Noel, Does your info apply to servers used only for outgoing mail as well?

Re: Limit the number of messages sent per user?

2010-08-13 Thread Walter Pinto
I see, thank you.

Re: Limit the number of messages sent per user?

2010-08-13 Thread Noel Jones
On 8/13/2010 4:09 PM, Walter Pinto wrote: Although untested, here is how I set mine up, can anyone confirm this would work for the OPs question? anvil_rate_time_unit= 60m smtpd_recipient_limit = 100 smtpd_recipient_overshoot_limit = 20 smtpd_client_message_rate_limit = 100 smtpd_client_recip

Re: Send Message when reject_unknown_hostname is invoked [resolved]

2010-08-13 Thread Noel Jones
On 8/13/2010 1:31 PM, jason hirsh wrote: On Aug 13, 2010, at 2:22 PM, Wietse Venema wrote: jason hirsh: I am apparently having an issue with some servers whose mail is being rejected because of reject_unknown_hostname the reject was shown here Aug 11 00:21:36 xxx postfix/smtpd[96422]:

Re: Limit the number of messages sent per user?

2010-08-13 Thread Walter Pinto
Although untested, here is how I set mine up, can anyone confirm this would work for the OPs question? anvil_rate_time_unit= 60m smtpd_recipient_limit = 100 smtpd_recipient_overshoot_limit = 20 smtpd_client_message_rate_limit = 100 smtpd_client_recipient_rate_limit = 100 smtpd_client_connectio

Re: Limit the number of messages sent per user?

2010-08-13 Thread Matt Hayes
On 8/13/2010 4:56 PM, Leonel Florin Selles wrote: > i need to limit the number of messages sent per user in postfix, there are > someone to know how can i do that. > > > > I believe you can use policyd to do this. http://policyd.org -Matt

Limit the number of messages sent per user?

2010-08-13 Thread Leonel Florin Selles
i need to limit the number of messages sent per user in postfix, there are someone to know how can i do that.

Re: Force users to auth.

2010-08-13 Thread Michael Orlitzky
On 08/13/2010 12:14 PM, Rachid Abdelkhalak wrote: Hello List, I want to force my users to authenticate using the SMTP auth even if they are sending emails from computers including in mynetwork range. If you do not want to permit the hosts in $mynetworks, do not permit_mynetworks.

Re: Send Message when reject_unknown_hostname is invoked [resolved]

2010-08-13 Thread Michael Orlitzky
On 08/13/2010 02:31 PM, jason hirsh wrote: On Aug 13, 2010, at 2:22 PM, Wietse Venema wrote: jason hirsh: I am apparently having an issue with some servers whose mail is being rejected because of reject_unknown_hostname the reject was shown here Aug 11 00:21:36 xxx postfix/smtpd[96422]

Re: Send Message when reject_unknown_hostname is invoked [resolved]

2010-08-13 Thread jason hirsh
On Aug 13, 2010, at 2:22 PM, Wietse Venema wrote: jason hirsh: I am apparently having an issue with some servers whose mail is being rejected because of reject_unknown_hostname the reject was shown here Aug 11 00:21:36 xxx postfix/smtpd[96422]: NOQUEUE: reject: RCPT from mail01a.yesbank

Re: Send Message when reject_unknown_hostname is invoked

2010-08-13 Thread jason hirsh
On Aug 13, 2010, at 2:14 PM, Larry Stone wrote: On Fri, 13 Aug 2010, jason hirsh wrote: when I stop debugging I won't this is the third instance of I have had of "lost mail" and teh first that I had the address so I can chase it down You didn't lose any mail. The upstream server did.

Re: Send Message when reject_unknown_hostname is invoked

2010-08-13 Thread Wietse Venema
jason hirsh: > I am apparently having an issue with some servers whose mail is being > rejected because of > > reject_unknown_hostname > > the reject was shown here > > Aug 11 00:21:36 xxx postfix/smtpd[96422]: NOQUEUE: reject: RCPT > from mail01a.yesbank.com[65.196.66.182]: 450 4.7.1

Re: Send Message when reject_unknown_hostname is invoked

2010-08-13 Thread Larry Stone
On Fri, 13 Aug 2010, jason hirsh wrote: when I stop debugging I won't this is the third instance of I have had of "lost mail" and teh first that I had the address so I can chase it down You didn't lose any mail. The upstream server did. You can't fix other server's problems and until you a

Re: Speed up queue injection

2010-08-13 Thread Noel Jones
On 8/13/2010 8:22 AM, J. Roeleveld wrote: On Friday 13 August 2010 14:23:51 Wietse Venema wrote: Ralf Hildebrandt: * Ram: Mail in plain text format , mime encoded message OK! Currenlty I get 40/s - 45/s That sounds normal. Any filtering (in these cases you should inject in a way that by

Re: Send Message when reject_unknown_hostname is invoked

2010-08-13 Thread jason hirsh
On Aug 13, 2010, at 1:22 PM, Jeroen Geilman wrote: On 08/13/2010 07:05 PM, jason hirsh wrote: I am apparently having an issue with some servers whose mail is being rejected because of reject_unknown_hostname the reject was shown here Aug 11 00:21:36 xxx batfish ? i was trying

Re: Send Message when reject_unknown_hostname is invoked

2010-08-13 Thread Jeroen Geilman
On 08/13/2010 07:05 PM, jason hirsh wrote: I am apparently having an issue with some servers whose mail is being rejected because of reject_unknown_hostname the reject was shown here Aug 11 00:21:36 xxx batfish ? postfix/smtpd[96422]: NOQUEUE: reject: RCPT from mail01a.yesbank.com[65.

Re: Is possible reject mail with multiple destination?

2010-08-13 Thread kazabe
> > Here's some rope: > > # main.cf > header_checks = regexp:/etc/postfix/header_checks > > # header_checks > IF /^(to|cc):/ > /(@*){10}/  HOLD  too many addresses in To: or CC: header > ENDIF > > > > Note this counts the recipients listed in each header, not the combined > total. > > Note this cou

Send Message when reject_unknown_hostname is invoked

2010-08-13 Thread jason hirsh
I am apparently having an issue with some servers whose mail is being rejected because of reject_unknown_hostname the reject was shown here Aug 11 00:21:36 xxx postfix/smtpd[96422]: NOQUEUE: reject: RCPT from mail01a.yesbank.com[65.196.66.182]: 450 4.7.1 : Helo command rejected: Host

Re: Force users to auth.

2010-08-13 Thread Jan Kohnert
Rachid Abdelkhalak schrieb: > mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain > mynetworks = 10.78.0.0/16, 10.82.0.0/19, 127.0.0.0/32 > relay_domains = $mydestination, $mydomain > relayhost = [192.168.10.2] > smtpd_sender_restrictions = > permit_sasl_authenticated >

RE: Force users to auth.

2010-08-13 Thread Gary Smith
> Here is a parts from my main.cf > > mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain > mynetworks = 10.78.0.0/16, 10.82.0.0/19, 127.0.0.0/32 > relay_domains = $mydestination, $mydomain > relayhost = [192.168.10.2] > smtpd_sender_restrictions = > permit_sasl_authenti

Force users to auth.

2010-08-13 Thread Rachid Abdelkhalak
Hello List, I want to force my users to authenticate using the SMTP auth even if they are sending emails from computers including in mynetwork range. Here is a parts from my main.cf mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain mynetworks = 10.78.0.0/16, 10.82.0.0/19

Re: /usr/lib/postfix/smtp: bad command startup -- throttling

2010-08-13 Thread Erwan David
On Fri, Aug 13, 2010 at 04:29:15PM CEST, J4 said: > On 08/13/2010 04:24 PM, Ralf Hildebrandt wrote: > > * J4 : > > > > > >> Aug 13 16:20:07 pp24-app046 postfix/cleanup[6184]: warning: database > >> /etc/postfix/virtual.db is older than source file /etc/postfix/virtual > >> Aug 13 16:20:07 pp24-

Re: /usr/lib/postfix/smtp: bad command startup -- throttling

2010-08-13 Thread Ralf Hildebrandt
* J4 : > On 08/13/2010 04:24 PM, Ralf Hildebrandt wrote: > > * J4 : > > > > > >> Aug 13 16:20:07 pp24-app046 postfix/cleanup[6184]: warning: database > >> /etc/postfix/virtual.db is older than source file /etc/postfix/virtual > >> Aug 13 16:20:07 pp24-app046 postfix/trivial-rewrite[6185]: warnin

Re: /usr/lib/postfix/smtp: bad command startup -- throttling

2010-08-13 Thread J4
On 08/13/2010 04:24 PM, Ralf Hildebrandt wrote: > * J4 : > > >> Aug 13 16:20:07 pp24-app046 postfix/cleanup[6184]: warning: database >> /etc/postfix/virtual.db is older than source file /etc/postfix/virtual >> Aug 13 16:20:07 pp24-app046 postfix/trivial-rewrite[6185]: warning: >> database /etc/p

Re: /usr/lib/postfix/smtp: bad command startup -- throttling

2010-08-13 Thread Ralf Hildebrandt
* J4 : > Aug 13 16:20:07 pp24-app046 postfix/cleanup[6184]: warning: database > /etc/postfix/virtual.db is older than source file /etc/postfix/virtual > Aug 13 16:20:07 pp24-app046 postfix/trivial-rewrite[6185]: warning: > database /etc/postfix/virtual.db is older than source file > /etc/postfix/v

Re: /usr/lib/postfix/smtp: bad command startup -- throttling

2010-08-13 Thread J4
On 08/13/2010 04:15 PM, Lee Woodworth wrote: > On 08/13/10 08:13, J4 wrote: >> smtpd_recipient_restrictions = permit_mynetworks#,reject_unauth_destination > Don't think this is a valid name I have changed it to read: smtpd_recipient_restrictions=permit_mynetworks,reject_unauth

Re: /usr/lib/postfix/smtp: bad command startup -- throttling

2010-08-13 Thread J4
On 08/13/2010 04:18 PM, Ralf Hildebrandt wrote: > * J4 : > >> Dear knowledgeable ones, >> >> I have just installed postfix and have some teething problems. This >> message keeps being displayed: >> >> Aug 13 15:41:20 p2aa-app046 postfix/master[4555]: warning: process >> /usr/lib/postfix/s

Re: /usr/lib/postfix/smtp: bad command startup -- throttling

2010-08-13 Thread Ralf Hildebrandt
* J4 : > Dear knowledgeable ones, > > I have just installed postfix and have some teething problems. This > message keeps being displayed: > > Aug 13 15:41:20 p2aa-app046 postfix/master[4555]: warning: process > /usr/lib/postfix/smtp pid 5394 exit status 1 > Aug 13 15:41:20 p2aa-app046 postf

/usr/lib/postfix/smtp: bad command startup -- throttling

2010-08-13 Thread J4
Dear knowledgeable ones, I have just installed postfix and have some teething problems. This message keeps being displayed: Aug 13 15:41:20 p2aa-app046 postfix/master[4555]: warning: process /usr/lib/postfix/smtp pid 5394 exit status 1 Aug 13 15:41:20 p2aa-app046 postfix/master[4555]: warnin

Re: Speed up queue injection

2010-08-13 Thread J. Roeleveld
On Friday 13 August 2010 14:23:51 Wietse Venema wrote: > Ralf Hildebrandt: > > * Ram : > > > Mail in plain text format , mime encoded message > > > > OK! > > > > > Currenlty I get 40/s - 45/s > > > > That sounds normal. Any filtering (in these cases you should inject in > > a way that bypasses

Active Directory and virtual delivery agent

2010-08-13 Thread Aaron Roberts
Hi, I'm looking for a bit of inspiration... I have a number of linux boxes using winbind to provide UNIX system users from a Win2008R2 Active Directory domain. I'm using winbind's RID idmap backend thing to provide consistent UNIX UIDs and GIDs across multiple servers. For non-windows

Re: Speed up queue injection

2010-08-13 Thread Wietse Venema
Ralf Hildebrandt: > * Ram : > > > Mail in plain text format , mime encoded message > > OK! > > > Currenlty I get 40/s - 45/s > That sounds normal. Any filtering (in these cases you should inject in > a way that bypasses and filters) > > But I want it to be atleast 100/s > > Two machineS? > re

Re: Speed up queue injection

2010-08-13 Thread Ralf Hildebrandt
* Ram : > Mail in plain text format , mime encoded message OK! > Currenlty I get 40/s - 45/s That sounds normal. Any filtering (in these cases you should inject in a way that bypasses and filters) > But I want it to be atleast 100/s Two machineS? relay boxes > Delivery is not at all an issue

Re: Speed up queue injection

2010-08-13 Thread Ram
Hi , On Fri, 2010-08-13 at 09:39 +0200, Ralf Hildebrandt wrote: > * Ram : > > We have a requirement to send some research analysis mails as quickly as > > possible. > > > > > > > > Everyday after the data is available my app generates the mails in eml > > format in a directory. > > What is e

Re: reject_rbl_client

2010-08-13 Thread Ralf Hildebrandt
* Ralf Hildebrandt : > Indeed. And that's actually documented http://www.postfix.org/STRESS_README.html Although the above example shows three RBL lookups (lines 4-6), Postfix will only do a single DNS query, so it does not affect the performance. -- Ralf Hildebrandt Geschäftsbereich IT | A

Re: reject_rbl_client

2010-08-13 Thread Ralf Hildebrandt
* Vasya Pupkin : > Hello. > > I wonder, how postfix handles multiple entries like this: > > reject_rbl_client hostkarma.junkemailfilter.com=127.0.0.2, > reject_rbl_client hostkarma.junkemailfilter.com=127.0.0.4, > > Will it try to lookup address every time, No > or it is smart and will us

reject_rbl_client

2010-08-13 Thread Vasya Pupkin
Hello. I wonder, how postfix handles multiple entries like this: reject_rbl_client hostkarma.junkemailfilter.com=127.0.0.2, reject_rbl_client hostkarma.junkemailfilter.com=127.0.0.4, Will it try to lookup address every time, or it is smart and will use previous lookup result to compare with

Re: Speed up queue injection

2010-08-13 Thread Ralf Hildebrandt
* Ram : > We have a requirement to send some research analysis mails as quickly as > possible. > > > > Everyday after the data is available my app generates the mails in eml > format in a directory. What is eml format? > Currently I have a perl script that makes parallel smtp connections on >