Re: Hourly Limits

2009-07-11 Thread Sahil Tandon
On Sat, 11 Jul 2009, ad...@gg-lab.net wrote: > And, i've also found postfwd, but i can't see how can i use it to > limit mails in number. Assuming you want to limit mails per envelope sender, the following (untested) rule should work: id=MAX_PER_HOUR ; protocol_state=END-OF-MESSAGE ; \ act

Re: Hourly Limits

2009-07-11 Thread Benny Pedersen
On Sat, July 11, 2009 21:42, ad...@gg-lab.net wrote: > And, i've also found postfwd, but i can't see how can i use it to > limit mails in number. or make it with fail2ban, match on sasl in log, geek style :) just make a action that disable sasl for this user in the time frame maybe it can be d

Re: Hourly Limits

2009-07-11 Thread Benny Pedersen
On Sat, July 11, 2009 20:01, ad...@gg-lab.net wrote: > i have benn googling for hours today, and can't solve this problem: hope its not generic :) > Any idea? policyd v2 http://www.policyd.org/ -- xpoint

Re: TLS library problems

2009-07-11 Thread Barney Desmond
2009/7/11 Wietse Venema : >> system.log:Jul 10 00:07:57 trex postfix/smtpd[45598]: warning: TLS >> library problem: 45598:error:140760FC:SSL >> routines:SSL23_GET_CLIENT_HELLO:unknown protocol:s23_srvr.c:571: > > This is openssl's way of saying that the client sent garbage. To expand on that, I im

Re: offer starttls only on port 587

2009-07-11 Thread Wietse Venema
Bradley Giesbrecht: > How can I offer starttls on port 587 and not port 25? > > I've tried moving the tls statements from main.cf to master.cf under > 587 but postfix is still offering tls on port 25. http://www.postfix.org/DEBUG_REAEDME.html#mail Wietse

offer starttls only on port 587

2009-07-11 Thread Bradley Giesbrecht
How can I offer starttls on port 587 and not port 25? I've tried moving the tls statements from main.cf to master.cf under 587 but postfix is still offering tls on port 25. Thanks, Bradley Giesbrecht

Re: Hourly Limits

2009-07-11 Thread ad...@gg-lab.net
Very good, thankyou. I found DEB package postfix-policyd. In the .conf file i've created, i can see some quota-related directives, but it seems it can limit only SASL autenticated users or hosts (and the host will always be the same. And, i've also found postfwd, but i can't see how can i use it

Re: Hourly Limits

2009-07-11 Thread Sahil Tandon
On Jul 11, 2009, at 2:01 PM, "ad...@gg-lab.net" wrote: Hi, i have benn googling for hours today, and can't solve this problem: I'm working on a free-hosting platform. As MTA, of course, i've choosen postfix. Now, to prevent abuse, i want to limit the number of email each user can send in an

Hourly Limits

2009-07-11 Thread ad...@gg-lab.net
Hi, i have benn googling for hours today, and can't solve this problem: I'm working on a free-hosting platform. As MTA, of course, i've choosen postfix. Now, to prevent abuse, i want to limit the number of email each user can send in an our. Any idea? Thankyou

Running out of mail queue space encountered - need help analyzing logs

2009-07-11 Thread Kenneth Stephen
Hi, I had an unexpected surge of mail last night, and I see the following entries in my log (captured via mail.debug in syslog): Jul 11 05:30:48 rust mail:info postfix/smtpd[409770]: connect from d03relay05.maildomain1.somewhere.com[a.b.c.107] Jul 11 05:30:48 rust mail:info postfix/smtpd[40977

Re: unexpected filter response from SNFMilter when sending multiple messages to postfix over one SMTP connection

2009-07-11 Thread Wietse Venema
Alban Deniz: > Hi Wietse, > > Your patch fixed the problem! (I had some trouble using the patch utility, so > I applied the changes by hand). > > I first built and installed from the postfix-2.6.2 tarball. The problem was > still there (failure after 20 or messages). Then I modified milter8.c,

Errors after upgrades

2009-07-11 Thread LuKreme
I updated my ports of mysql to 5.1.35 and of postfix to 2.6.2. Everything seems to be working fine, except I get these errors occasionally: postfix/trivial-rewrite[65905]: fatal: proxy:mysql:/usr/local/etc/ postfix/mysql_virtual_domains_maps.cf(0,lock|fold_fix): table lookup problem if I

Re: Dispatching mail on severals servers

2009-07-11 Thread Sam Przyswa
Wietse Venema a écrit : Sam Przyswa: Hi, I have to dispatch mail for a domain my_domain.com to severals servers. All mail addresses are on the form u...@my_domain.com but users are dispatched on different hosts (host1, host2, etc) All mails are received on a main mail server an

Re: Dispatching mail on severals servers

2009-07-11 Thread Wietse Venema
Sam Przyswa: > Hi, > > I have to dispatch mail for a domain my_domain.com to severals servers. > All mail addresses are on the form u...@my_domain.com but users are > dispatched on different hosts (host1, host2, etc) All mails are received > on a main mail server and I have to send it to the ri

Dispatching mail on severals servers

2009-07-11 Thread Sam Przyswa
Hi, I have to dispatch mail for a domain my_domain.com to severals servers. All mail addresses are on the form u...@my_domain.com but users are dispatched on different hosts (host1, host2, etc) All mails are received on a main mail server and I have to send it to the right host where the user

Re: Allow a group of unauthenticated senders

2009-07-11 Thread priscilla
Scott Haneda wrote: On Jul 10, 2009, at 10:49 PM, priscilla wrote: In domain x.com i want to authenticate all users who needs to send mail. For some users alone (i will specify them in a seperate text file) i dont want to authenticate the sender.

Re: Allow a group of unauthenticated senders

2009-07-11 Thread Scott Haneda
On Jul 10, 2009, at 10:49 PM, priscilla wrote: In domain x.com i want to authenticate all users who needs to send mail. For some users alone (i will specify them in a seperate text file) i dont want to authenticate the sender. For example a...@x.com should provide password for sending mail.