Re: Proxying a policy service

2009-05-13 Thread lst_hoe02
Zitat von Adrian Overbury : Has anyone ever written a proxy server for policy services? I have a policy server (grossd, one of the best greylisting engines I've ever used) that, if it goes down, causes my Postfix servers to temp fail everything with 'Server configuration problem'. This is

Re: Postfix version 2.6.0 available

2009-05-13 Thread Pascal Maes
Le 12-mai-09 à 15:17, Wietse Venema a écrit : Postfix stable release 2.6.0 is available. After Postfix was declared "complete" with version 2.3, the focus has moved towards improving the code/documentation, and updating it for changing environments. Hello, We have installed the new version

smtp_header_checks

2009-05-13 Thread Alvaro Marín
Hello, I'm trying to delete/discard an emai if it has a header with one value. I've to do it after it is accepted (and after one content filter execution) so I thought in smtp_header_checks but I see that it doesn't support actions like DISCARD. Any idea of how to do this? Thanks! Regards, --

Unable to compile Postfix 2.6 on Ubuntu 2.10 or CentOS 5.2

2009-05-13 Thread David Touzeau
Dear I'm trying to compile Postfix 2.6 on Ubuntu 2.10 or CentOS 5.2 with the following arguments: make tidy /usr/bin/make makefiles CCARGS=" -DMAX_DYNAMIC_MAPS -DHAS_PCRE -DMYORIGIN_FROM_FILE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAS_LDAP -DHAS_SSL -I/usr/include/openssl -DUSE_SASL_AUTH

Re: Unable to compile Postfix 2.6 on Ubuntu 2.10 or CentOS 5.2

2009-05-13 Thread Wietse Venema
David Touzeau: > > Dear > > I'm trying to compile Postfix 2.6 on Ubuntu 2.10 or CentOS 5.2 with the > following arguments: > > make tidy > /usr/bin/make makefiles CCARGS=" -DMAX_DYNAMIC_MAPS -DHAS_PCRE > -DMYORIGIN_FROM_FILE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -DHAS_LDAP -DHAS_SSL -I/u

Re: Unable to compile Postfix 2.6 on Ubuntu 2.10 or CentOS 5.2

2009-05-13 Thread David Touzeau
Dear this is the output of pcre-config --cflags Nothing in output for the 2 distributions on Ubuntu : pcre-config --libs -L/usr/lib -lpcre On CentOS: -lpcre Message initial De: Wietse Venema À: da...@touzeau.eu Cc: postfix-users@postfix.org Sujet: Re: Unable to comp

Re: Unable to compile Postfix 2.6 on Ubuntu 2.10 or CentOS 5.2

2009-05-13 Thread Wietse Venema
Wietse Venema: > David Touzeau: > > /usr/bin/make makefiles CCARGS=" -DMAX_DYNAMIC_MAPS -DHAS_PCRE > > -DMYORIGIN_FROM_FILE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > > -DHAS_LDAP -DHAS_SSL -I/usr/include/openssl -DUSE_SASL_AUTH > > -I/usr/include/sasl -DUSE_CYRUS_SASL -DUSE_TLS" DEBUG= AUXLIBS="

Re: smtp_header_checks

2009-05-13 Thread Duane Hill
On Wed, 13 May 2009, Alvaro Mar?n wrote: Hello, I'm trying to delete/discard an emai if it has a header with one value. I've to do it after it is accepted (and after one content filter execution) so I thought in smtp_header_checks but I see that it doesn't support actions like DISCARD. Any idea

LDAP aliases problem

2009-05-13 Thread Mickaël Canévet
Hi, I have some trouble trying to validate mail aliases from LDAP. My users are defined in LDAP with the attribute 'mail' that stores each mail alias and the attribute mailRoutingAddress that stores the real mail address (corresponding to uid). for example: dn: uid=lastname, ou=people, dc=mydoma

Re: smtp_header_checks

2009-05-13 Thread Alvaro Marín
Duane Hill escribió: > On Wed, 13 May 2009, Alvaro Mar?n wrote: > >> Hello, >> >> I'm trying to delete/discard an emai if it has a header with one value. >> I've to do it after it is accepted (and after one content filter >> execution) so I thought in smtp_header_checks but I see that it doesn't >

Re: LDAP aliases problem

2009-05-13 Thread Victor Duchovni
On Wed, May 13, 2009 at 04:46:02PM +0200, Micka?l Can?vet wrote: > Hi, > > I have some trouble trying to validate mail aliases from LDAP. > > My users are defined in LDAP with the attribute 'mail' that stores each > mail alias and the attribute mailRoutingAddress that stores the real > mail addr

Re: Unable to compile Postfix 2.6 on Ubuntu 8.10 or CentOS 5.2

2009-05-13 Thread David Touzeau
Just Notice when do ld -lpcre --verbose i receive error ld: warning: cannot find entry symbol _start; not setting start address but library is found in /usr/lib/libpcre.so attempt to open /usr/i386-redhat-linux/lib/libpcre.so failed attempt to open /usr/i386-redhat-linux/lib/libpcre.a failed

Re: smtp_header_checks

2009-05-13 Thread Ralf Hildebrandt
* Alvaro Marín : > >> I'm trying to delete/discard an emai if it has a header with one value. > >> I've to do it after it is accepted (and after one content filter > >> execution) so I thought in smtp_header_checks but I see that it doesn't > >> support actions like DISCARD. > >> Any idea of how t

Re: Unable to compile Postfix 2.6 on Ubuntu 8.10 or CentOS 5.2

2009-05-13 Thread Victor Duchovni
On Wed, May 13, 2009 at 05:09:18PM +0200, David Touzeau wrote: > Just Notice when do > > ld -lpcre --verbose > > i receive error > ld: warning: cannot find entry symbol _start; not setting start address This is normal. Your "CCARGS" recipe is broken. Either: - Don't include "HAS_PCRE

Re: smtp_header_checks

2009-05-13 Thread Alvaro Marín
Ralf Hildebrandt escribió: > * Alvaro Marín : > I'm trying to delete/discard an emai if it has a header with one value. I've to do it after it is accepted (and after one content filter execution) so I thought in smtp_header_checks but I see that it doesn't support actions like

Re: smtp_header_checks

2009-05-13 Thread Duane Hill
On Wed, 13 May 2009, Alvaro Mar?n wrote: Duane Hill escribi?: On Wed, 13 May 2009, Alvaro Mar?n wrote: Hello, I'm trying to delete/discard an emai if it has a header with one value. I've to do it after it is accepted (and after one content filter execution) so I thought in smtp_header_checks

Re: Unable to compile Postfix 2.6 on Ubuntu 8.10 or CentOS 5.2

2009-05-13 Thread David Touzeau
Many thanks victor Without notify HAS_PCRE the compilation run correctly Message initial De: Victor Duchovni Reply-to: postfix-users@postfix.org À: postfix-users@postfix.org Sujet: Re: Unable to compile Postfix 2.6 on Ubuntu 8.10 or CentOS 5.2 Date: Wed, 13 May 2009 11:13:19

Re: smtp_header_checks

2009-05-13 Thread Victor Duchovni
On Wed, May 13, 2009 at 03:39:32PM +, Duane Hill wrote: > On Wed, 13 May 2009, Alvaro Mar?n wrote: > >> Duane Hill escribi?: >>> On Wed, 13 May 2009, Alvaro Mar?n wrote: >>> Hello, I'm trying to delete/discard an emai if it has a header with one value. I've to do it after i

header_checks & body_checks exemptions

2009-05-13 Thread Eric Cunningham
Is there a way to exempt postmas...@my.domain, ab...@my.domain and u...@my.domain from header_checks and body_checks while still maintaining the functionality of those checks? -Eric

Re: header_checks & body_checks exemptions

2009-05-13 Thread Ralf Hildebrandt
* Eric Cunningham : > Is there a way to exempt postmas...@my.domain, ab...@my.domain and > u...@my.domain from header_checks and body_checks while still maintaining > the functionality of those checks? No. -- Ralf Hildebrandt Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450

postfix as a content filter for certain domain

2009-05-13 Thread David Zejda
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, there is a Postfix running for several local and virtual domains now, some messages are stored locally in maildirs, some are being aliased somwehere else, according to alias map. Postfix is configured to filter mails through Spammassassin and C

Re: postfix as a content filter for certain domain

2009-05-13 Thread Wietse Venema
David Zejda: -- Start of PGP signed section. > Hello, > > there is a Postfix running for several local and virtual domains now, > some messages are stored locally in maildirs, some are being aliased > somwehere else, according to alias map. Postfix is configured to filter > mails through Spammassa

Re: Proxying a policy service

2009-05-13 Thread J Sloan
Adrian Overbury wrote: > Has anyone ever written a proxy server for policy services? I have a > policy server (grossd, one of the best greylisting engines I've ever > used) that, if it goes down, causes my Postfix servers to temp fail > everything with 'Server configuration problem'. This is a re

Re: Proxying a policy service

2009-05-13 Thread Sahil Tandon
On May 13, 2009, at 12:51 PM, J Sloan wrote: Adrian Overbury wrote: Has anyone ever written a proxy server for policy services? I have a policy server (grossd, one of the best greylisting engines I've ever used) that, if it goes down, causes my Postfix servers to temp fail everything with 'Se

Relocated Users

2009-05-13 Thread Fabio Viero
Hi I need to do something like this: Someone sends an e-mail to u...@domain.com Someone gets a reply from postfix saying "User has moved to newu...@newdomain.com" I need postfix to STILL deliver the message to u...@domain.com (which doesn't happens) I tried using relocated with virtual aliases,

Re: Proxying a policy service

2009-05-13 Thread Wietse Venema
J Sloan: > Adrian Overbury wrote: > > Has anyone ever written a proxy server for policy services? I have a > > policy server (grossd, one of the best greylisting engines I've ever > > used) that, if it goes down, causes my Postfix servers to temp fail > > everything with 'Server configuration prob

Re: Relocated Users

2009-05-13 Thread Scott Haneda
On May 13, 2009, at 10:40 AM, Fabio Viero wrote: I need to do something like this: Someone sends an e-mail to u...@domain.com Someone gets a reply from postfix saying "User has moved to newu...@newdomain.com" I need postfix to STILL deliver the message to u...@domain.com (which doesn't happens)

Re: Relocated Users

2009-05-13 Thread Fabio Viero
On Wed, May 13, 2009 at 2:54 PM, Scott Haneda wrote: > On May 13, 2009, at 10:40 AM, Fabio Viero wrote: > >> I need to do something like this: >> >> Someone sends an e-mail to u...@domain.com >> Someone gets a reply from postfix saying "User has moved to >> newu...@newdomain.com" >> I need postfix

limit outgoing smtp connections

2009-05-13 Thread richard lucassen
IIRC there's a limit for limiting outgoing smtp connections. I just can't find it. Anyone a hint? R. -- ___ It is better to remain silent and be thought a fool, than to speak aloud and remove all doubt. +---

Re: Proxying a policy service

2009-05-13 Thread J Sloan
Wietse Venema wrote: > J Sloan: > >> Adrian Overbury wrote: >> >>> Has anyone ever written a proxy server for policy services? I have a >>> policy server (grossd, one of the best greylisting engines I've ever >>> used) that, if it goes down, causes my Postfix servers to temp fail >>> every

Re: limit outgoing smtp connections

2009-05-13 Thread Victor Duchovni
On Wed, May 13, 2009 at 08:54:18PM +0200, richard lucassen wrote: > IIRC there's a limit for limiting outgoing smtp connections. I just > can't find it. Anyone a hint? http://www.postfix.org/postconf.5.html#default_process_limit http://www.postfix.org/postconf.5.html#smtp_destination_conc

Re: limit outgoing smtp connections

2009-05-13 Thread Magnus Bäck
On Wednesday, May 13, 2009 at 20:54 CEST, richard lucassen wrote: > IIRC there's a limit for limiting outgoing smtp connections. I just > can't find it. Anyone a hint? Limiting in what sense? The total number of concurrent SMTP clients, concurrency per destination, ...? -- Magnus Bäck mag

Re: Relocated Users

2009-05-13 Thread Brian Evans - Postfix List
Fabio Viero wrote: > Hi > > I need to do something like this: > > Someone sends an e-mail to u...@domain.com > Someone gets a reply from postfix saying "User has moved to > newu...@newdomain.com" > I need postfix to STILL deliver the message to u...@domain.com (which > doesn't happens) > > I tried

Re: limit outgoing smtp connections

2009-05-13 Thread Kenneth Marshall
Use a policyd. Cheers, Ken On Wed, May 13, 2009 at 09:53:25PM +0200, Magnus B?ck wrote: > On Wednesday, May 13, 2009 at 20:54 CEST, > richard lucassen wrote: > > > IIRC there's a limit for limiting outgoing smtp connections. I just > > can't find it. Anyone a hint? > > Limiting in what sen

Re: limit outgoing smtp connections

2009-05-13 Thread Victor Duchovni
On Wed, May 13, 2009 at 02:57:44PM -0500, Kenneth Marshall wrote: > > > IIRC there's a limit for limiting outgoing smtp connections. I just > > > can't find it. Anyone a hint? > > Use a policyd. No, policy daemons are only involved in incoming SMTP connections. -- Viktor. Disclaimer:

Re: Proxying a policy service

2009-05-13 Thread J Sloan
Sahil Tandon wrote: > > Google 'hapolicy synopsis' -- the author of postfwd wrote a perl > script which acts as a load balancing policy service that can return > dunno if the underlying services are unreachable. Obviously, if > hapolicy itself malfunctions, you're back at square one. Looks intere

Re: Relocated Users

2009-05-13 Thread Randy
Fabio Viero wrote: On Wed, May 13, 2009 at 2:54 PM, Scott Haneda wrote: On May 13, 2009, at 10:40 AM, Fabio Viero wrote: I need to do something like this: Someone sends an e-mail to u...@domain.com Someone gets a reply from postfix saying "User has moved to newu...@newdomain.com" I n

Re: limit outgoing smtp connections

2009-05-13 Thread richard lucassen
On Wed, 13 May 2009 21:53:25 +0200 Magnus Bäck wrote: > > IIRC there's a limit for limiting outgoing smtp connections. I just > > can't find it. Anyone a hint? > > Limiting in what sense? The total number of concurrent SMTP clients, > concurrency per destination, ...? No, just limit the number

Re: limit outgoing smtp connections

2009-05-13 Thread richard lucassen
On Wed, 13 May 2009 15:21:47 -0400 Victor Duchovni wrote: > On Wed, May 13, 2009 at 08:54:18PM +0200, richard lucassen wrote: > > > IIRC there's a limit for limiting outgoing smtp connections. I just > > can't find it. Anyone a hint? > > http://www.postfix.org/postconf.5.html#default_proces

Re: Relocated Users

2009-05-13 Thread Scott Haneda
On May 13, 2009, at 1:08 PM, Randy wrote: You can still do an auto-reply using scripts. Hand off the user's message, then send it to the new location. I used smtpd_recipient_restrictions and created a list. I then passed this on to the autoresponder once a user/input validation script made

Re: limit outgoing smtp connections

2009-05-13 Thread Kenneth Marshall
On Wed, May 13, 2009 at 03:59:58PM -0400, Victor Duchovni wrote: > On Wed, May 13, 2009 at 02:57:44PM -0500, Kenneth Marshall wrote: > > > > > IIRC there's a limit for limiting outgoing smtp connections. I just > > > > can't find it. Anyone a hint? > > > > Use a policyd. > > No, policy daemons a

Re: Relocated Users

2009-05-13 Thread Fabio Viero
2009/5/13 Brian Evans - Postfix List : > Fabio Viero wrote: >> Hi >> >> I need to do something like this: >> >> Someone sends an e-mail to u...@domain.com >> Someone gets a reply from postfix saying "User has moved to >> newu...@newdomain.com" >> I need postfix to STILL deliver the message to u...@

Re: limit outgoing smtp connections

2009-05-13 Thread Victor Duchovni
On Wed, May 13, 2009 at 03:39:56PM -0500, Kenneth Marshall wrote: > On Wed, May 13, 2009 at 03:59:58PM -0400, Victor Duchovni wrote: > > On Wed, May 13, 2009 at 02:57:44PM -0500, Kenneth Marshall wrote: > > > > > > > IIRC there's a limit for limiting outgoing smtp connections. I just > > > > > ca

Re: Proxying a policy service

2009-05-13 Thread mouss
Adrian Overbury a écrit : > Has anyone ever written a proxy server for policy services? I have a > policy server (grossd, one of the best greylisting engines I've ever > used) that, if it goes down, causes my Postfix servers to temp fail > everything with 'Server configuration problem'. This is a

Re: limit outgoing smtp connections

2009-05-13 Thread Magnus Bäck
On Wednesday, May 13, 2009 at 22:09 CEST, richard lucassen wrote: > On Wed, 13 May 2009 15:21:47 -0400 > Victor Duchovni wrote: [...] > > http://www.postfix.org/master.5.html(Process limit) > > Wel, if I limit the number of smtpd processes, do I also limit the > incoming connecti

Re: Relocated Users

2009-05-13 Thread Scott Haneda
On May 13, 2009, at 2:14 PM, mouss wrote: Thank for any info or links to other docs I am missing. There are problems with auto-responders: - first, there is the backscatter problem (sending the reply to a forged address...). - second, most auto-responders are broken, in so many ways. so at

Re: limit outgoing smtp connections

2009-05-13 Thread richard lucassen
On Wed, 13 May 2009 22:58:01 +0200 Magnus Bäck wrote: > > Wel, if I limit the number of smtpd processes, do I also limit the > > incoming connections? > > Don't limit the number of smtpd processes; limit the number of smtp > processes. Doing so won't affect the number of incoming connections. O

Re: Relocated Users

2009-05-13 Thread mouss
Scott Haneda a écrit : > On May 13, 2009, at 1:08 PM, Randy wrote: > >> You can still do an auto-reply using scripts. Hand off the user's >> message, then send it to the new location. >> I used smtpd_recipient_restrictions and created a list. I then passed >> this on to the autoresponder once a us

Re: Relocated Users

2009-05-13 Thread mouss
Fabio Viero a écrit : > 2009/5/13 Brian Evans - Postfix List : >> Fabio Viero wrote: >>> Hi >>> >>> I need to do something like this: >>> >>> Someone sends an e-mail to u...@domain.com >>> Someone gets a reply from postfix saying "User has moved to >>> newu...@newdomain.com" >>> I need postfix to S

Re: Following CentOS Postfix Config Guide

2009-05-13 Thread Carlos Williams
Guys - After implementing the main.cf on my Postfix server, I noticed a increase in spam from before I modified my main.cf. Do you guys know what could be causing this based on the changes I made to main.cf below? ***OLD*** myhostname = mail.ideorlando.org alias_maps = hash:/etc/aliases alias_dat

Postfix-2.6.0 RPM

2009-05-13 Thread Just E. Mail
I noticed that Postfix V#2.6.0 is now out. Does anybody know where to get RPM files? GOOGLE did not help. Jennifer

Re: Postfix version 2.6.0 available

2009-05-13 Thread Sahil Tandon
On Wed, 13 May 2009, Pascal Maes wrote: > Le 12-mai-09 à 15:17, Wietse Venema a écrit : > >> Postfix stable release 2.6.0 is available. After Postfix was declared >> "complete" with version 2.3, the focus has moved towards improving >> the code/documentation, and updating it for changing environme

Re: Postfix-2.6.0 RPM

2009-05-13 Thread Victor Duchovni
On Wed, May 13, 2009 at 04:07:39PM -0600, Just E. Mail wrote: > I noticed that Postfix V#2.6.0 is now out. Does anybody know where to get > RPM files? GOOGLE did not help. If the purpose of using RPM files is to facilitate binary updates from distribution servers, wait until *your distribution*

Header Check Assistance

2009-05-13 Thread Drew Tomlinson
Is there some rule about submitting questions with the string "Help" in the subject? I've tried posting the following note with the subject of "Help With header_checks" and received a bounce message indicating this error: BOUNCE postfix-users@postfix.org: Admin request: /^subject:\s*help\b/i

Re: Postfix version 2.6.0 available

2009-05-13 Thread Victor Duchovni
On Wed, May 13, 2009 at 06:59:09PM -0400, Sahil Tandon wrote: > > We have installed the new version of postfix and we see the following > > situation : > > > > # tail -f /var/log/mail.log | grep 10025 > > May 13 09:18:13 smtp-1 postfix/smtpd[26441]: warning: proxy > > 127.0.0.1:10025 rejected

Re: Postfix-2.6.0 RPM

2009-05-13 Thread Wietse Venema
Victor Duchovni: > On Wed, May 13, 2009 at 04:07:39PM -0600, Just E. Mail wrote: > > > I noticed that Postfix V#2.6.0 is now out. Does anybody know where to get > > RPM files? GOOGLE did not help. > > If the purpose of using RPM files is to facilitate binary updates from > distribution servers,

Re: Header Check Assistance

2009-05-13 Thread Wietse Venema
Drew Tomlinson: > I'm using postfix 2.5.6,1 and have been using postfix for a long time. > In older versions, to perform header checks, I had a text file and would > then have to run postmap to create the header_check.db file. Is this This has never been necessary, if you wanted to use the fi

Re: Postfix-2.6.0 RPM

2009-05-13 Thread Victor Duchovni
On Wed, May 13, 2009 at 07:26:34PM -0400, Wietse Venema wrote: > > > I noticed that Postfix V#2.6.0 is now out. Does anybody know where to get > > > RPM files? GOOGLE did not help. > > > > If the purpose of using RPM files is to facilitate binary updates from > > distribution servers, wait until

RE: Postfix-2.6.0 RPM

2009-05-13 Thread MacShane, Tracy
> -Original Message- > From: owner-postfix-us...@postfix.org > [mailto:owner-postfix-us...@postfix.org] On Behalf Of Victor Duchovni > Sent: Thursday, 14 May 2009 9:04 AM > To: postfix-users@postfix.org > Subject: Re: Postfix-2.6.0 RPM > > On Wed, May 13, 2009 at 04:07:39PM -0600, Just

Re: Postfix-2.6.0 RPM

2009-05-13 Thread KLaM Postmaster
Victor Duchovni wrote: > On Wed, May 13, 2009 at 04:07:39PM -0600, Just E. Mail wrote: > > >> I noticed that Postfix V#2.6.0 is now out. Does anybody know where to get >> RPM files? GOOGLE did not help. >> > > If the purpose of using RPM files is to facilitate binary updates from > distrib

Re: Postfix-2.6.0 RPM

2009-05-13 Thread KLaM Postmaster
Not only am I not competent to install Postfix, I should learn to type.

Re: Relocated Users

2009-05-13 Thread Fabio Viero
On Wed, May 13, 2009 at 10:01 PM, Fabio Viero wrote: >> look again at the example that Brian proposed. the virtual alias >> contains _two_ (2) addresses. >> >> if it is not clear, use something like this: >> >> u...@example.com        u...@example.com, u...@relocated.example.com >> >> >> then conf

postfix smtpd interface when using IP slow but when using localhost normal

2009-05-13 Thread Samuel Sappa
I have problem with my postfix, a few days ago my smtpd running very slow, when delivering message (using MUA outlook,TB,OE) message delivering very slow, but if user using web mail which is using openwebmail the deliver running fine without the delay, I came to conclusion that, when postfix sendin

kill ip from bootnets and zombi (shell script)

2009-05-13 Thread Julio Cesar Covolato
Hi! I made a litle shell script to stoping bootnets and zombis, and I want know what you think about it. The purpose is drop via iptables hosts that are rejected several times in a litle space of time, reading the log generated by postfix. Tested in a Linux box. The script is so poor,

Re: kill ip from bootnets and zombi (shell script)

2009-05-13 Thread Julio Cesar Covolato
Hi! Sorry! You must configure your path to postfix mail log and iptables. Edit the script pf-ip-killer and set the variables to your enviroment. []'s - _Julio Cesar Covolato 0v0 /(_)\ F: 55-11-3129-3366 ^ ^ PSI INTERNET --

Re: kill ip from bootnets and zombi (shell script)

2009-05-13 Thread Andreas Schuldei
* Julio Cesar Covolato (ju...@psi.com.br) [090514 07:26]: > Hi! > > I made a litle shell script to stoping bootnets and zombis, and I want > know what you think about it. > > The purpose is drop via iptables hosts that are rejected several > times in a litle space of time, reading the log