Re: using postgres functions for domain tables

2012-02-22 Thread Peter
On 23/02/12 05:30, Matthias Leopold wrote: > how do i make a postgres plperl function return a value/row only when > certain conditions are met and otherwise return "nothing"/void/0 rows? > right now my function returns "1 row" even when i return undef. Have you tried using your function in the WH

Re: Delay before initial 220 greeting

2012-02-22 Thread Stan Hoeppner
On 2/22/2012 12:33 PM, Wietse Venema wrote: > Alex: >> Hi, >> >> I have a postfix-2.8.7 system with fedora15 and amavisd-new-2.6.6. >> Lately I have been experiencing significant delays before receiving >> the initial postfix 220 greeting from all remote hosts. I've verified > > What is the output

postscreen dnsbl logging

2012-02-22 Thread Wietse Venema
I have changed postscreen DNSBL "reject" logging, so that it now gives credit to the DNSBL with the largest weight, instead of the DNSBL that replies first. I think that the result resembles more what some people expected to see. Wietse Before: dnsblog[75702]: addr 124.42.204.113 listed

Re: postfix schema

2012-02-22 Thread Nikolaos Milas
On 22/2/2012 8:13 μμ, Jeroen Geilman wrote: There is no "postfix schema". Indeed, there is no official Postfix schema. However, it will be interesting to read the following threads: http://www.openldap.org/lists/openldap-technical/201105/msg00033.html and http://www.openldap.org/lists/openld

Re: Delay before initial 220 greeting

2012-02-22 Thread Wietse Venema
Alex: > Hi, > > I have a postfix-2.8.7 system with fedora15 and amavisd-new-2.6.6. > Lately I have been experiencing significant delays before receiving > the initial postfix 220 greeting from all remote hosts. I've verified What is the output from: grep warning: /var/log/maillog Then you m

Delay before initial 220 greeting

2012-02-22 Thread Alex
Hi, I have a postfix-2.8.7 system with fedora15 and amavisd-new-2.6.6. Lately I have been experiencing significant delays before receiving the initial postfix 220 greeting from all remote hosts. I've verified DNS is working properly and can resolve hosts properly. It seems to be related to system

Re: postfix schema

2012-02-22 Thread Jeroen Geilman
On 02/22/2012 05:46 PM, vishesh kumar wrote: Hi All I want to setup Postfix+LDAP on Redhat EL6. The problem i am facing is Postfix schema file . The openldap version on EL6 is 2.4.19 and its support LDAP enabled schema file . I can't see Ldap enabled schema file on my server and unable to fin

Re: mailq not showing the recipient

2012-02-22 Thread Ralf Hildebrandt
* Wietse Venema : > Ralf Hildebrandt: > > A few seconds ago I logged in on our mailbox server and found: > > > > postamt:~# mailq > > Queue ID- --Size-- ---Arrival Time --Sender/Recipient-- > > 3TtQjD72G4z2r0c* 1237 Wed Feb 22 18:31:28 s.sxxx...@charite.de > > > > -- 2 Kbytes

Re: Adding custom header

2012-02-22 Thread Wietse Venema
Jack Knowlton: > I would like to add a custom header, something like "X-Abuse: if > spam/uce email ab...@mydomain.com". How should I go about, without > postfix adding the header twice (before and after dkimfilter-out)? Wietse > See the discussion of receive_override_options in the FILTER_README

Re: mailq not showing the recipient

2012-02-22 Thread Viktor Dukhovni
On Wed, Feb 22, 2012 at 06:37:04PM +0100, Ralf Hildebrandt wrote: > postamt:~# mailq > Queue ID- --Size-- ---Arrival Time --Sender/Recipient-- > 3TtQjD72G4z2r0c* 1237 Wed Feb 22 18:31:28 s.sxxx...@charite.de > > I didn't notice at first, but I then wondered - huh? Why is mail

Re: mailq not showing the recipient

2012-02-22 Thread Wietse Venema
Ralf Hildebrandt: > A few seconds ago I logged in on our mailbox server and found: > > postamt:~# mailq > Queue ID- --Size-- ---Arrival Time --Sender/Recipient-- > 3TtQjD72G4z2r0c* 1237 Wed Feb 22 18:31:28 s.sxxx...@charite.de > > -- 2 Kbytes in 1 Request. > postamt:~# logout

Re: mailq not showing the recipient

2012-02-22 Thread Ralf Hildebrandt
* Ralf Hildebrandt : > Feb 22 18:31:29 postamt postfix/cleanup[27987]: 3TtQjD72G4z2r0c: > message-id=<04a9a765f941f3fb639ca825d2ac7899.squir...@webmail.charite.de> > Feb 22 18:31:29 postamt postfix/qmgr[8645]: 3TtQjD72G4z2r0c: > from=, size=1237, nrcpt=2 (queue active) > Feb 22 18:31:29 postamt

Re: Adding custom header

2012-02-22 Thread Jack Knowlton
On Wed, February 22, 2012 1:20 am, Wietse Venema wrote: > Jack Knowlton: >> Hi guys. >> My mailserver uses a relayhost which basically only signs messages with >> DKIM and delivers them. >> I would like to add a custom header, something like "X-Abuse: if >> spam/uce >> email ab...@mydomain.com". >>

mailq not showing the recipient

2012-02-22 Thread Ralf Hildebrandt
A few seconds ago I logged in on our mailbox server and found: postamt:~# mailq Queue ID- --Size-- ---Arrival Time --Sender/Recipient-- 3TtQjD72G4z2r0c* 1237 Wed Feb 22 18:31:28 s.sxxx...@charite.de -- 2 Kbytes in 1 Request. postamt:~# logout I didn't notice at first, but I

Re: using postgres functions for domain tables

2012-02-22 Thread k...@rice.edu
On Wed, Feb 22, 2012 at 05:30:02PM +0100, Matthias Leopold wrote: > hi, > > i want to use postgres (8.3) plperl functions to provide > virtual_mailbox_domains/relay_domains. > > is this possible? > > how do i make a postgres plperl function return a value/row only > when certain conditions are m

postfix schema

2012-02-22 Thread vishesh kumar
Hi All I want to setup Postfix+LDAP on Redhat EL6. The problem i am facing is Postfix schema file . The openldap version on EL6 is 2.4.19 and its support LDAP enabled schema file . I can't see Ldap enabled schema file on my server and unable to find it on net as well. Can you people guide me in ri

using postgres functions for domain tables

2012-02-22 Thread Matthias Leopold
hi, i want to use postgres (8.3) plperl functions to provide virtual_mailbox_domains/relay_domains. is this possible? how do i make a postgres plperl function return a value/row only when certain conditions are met and otherwise return "nothing"/void/0 rows? right now my function returns "1

Re: rewrite from: address

2012-02-22 Thread polloxx
Thanks Noël. On Wed, Feb 22, 2012 at 2:47 PM, Noel Jones wrote: > On 2/22/2012 6:49 AM, polloxx wrote: >> I also thought to use canonical_maps, but only Return-Path: is >> changed, not the From: >> > > Please see > http://www.postfix.org/postconf.5.html#local_header_rewrite_clients > > > >  -- No

Re: Ldap queries optimization

2012-02-22 Thread Viktor Dukhovni
On Wed, Feb 22, 2012 at 09:17:24AM +0100, Angel L. Mateo wrote: > >Postfix is not monolithic, so cleanup(8) repeats some queries > >made by smtpd(8), and in smtpd(8) some queries are repeated because > >this makes the code more modular. > > I know it needs to repeat queries. But, in this cas

Re: rewrite from: address

2012-02-22 Thread Noel Jones
On 2/22/2012 6:49 AM, polloxx wrote: > I also thought to use canonical_maps, but only Return-Path: is > changed, not the From: > Please see http://www.postfix.org/postconf.5.html#local_header_rewrite_clients -- Noel Jones

Postfix 2.9.1 stable release

2012-02-22 Thread Wietse Venema
[An on-line version of this announcement will be available at http://www.postfix.org/announcements/postfix-2.9.1.html] Postfix stable release 2.9.1 is available. This contains fixes that are already part of Postfix 2.10. * The "change header" Milter request could replace the wrong heade

Re: Where should Feature-Wishes go?

2012-02-22 Thread Wietse Venema
Jean Bruenn: > On Wed, 22 Feb 2012 07:06:28 -0500 (EST) > Wietse Venema wrote: > > > Jean Bruenn: > > > Hello, > > > > > > I was wondering where feature-wishes should be written to, so I > > > assume this maillinglist might be a good start. Might well be that > > > other people asked for similar

Re: rewrite from: address

2012-02-22 Thread polloxx
I also thought to use canonical_maps, but only Return-Path: is changed, not the From: On Tue, Feb 21, 2012 at 4:21 PM, Noel Jones wrote: > On 2/21/2012 8:03 AM, polloxx wrote: >> Hi, >> >> I want to rewrite the From: address for inbound mail from that >> address. I use Address Rewriting: virtual

Re: Where should Feature-Wishes go?

2012-02-22 Thread Jean Bruenn
On Wed, 22 Feb 2012 07:06:28 -0500 (EST) Wietse Venema wrote: > Jean Bruenn: > > Hello, > > > > I was wondering where feature-wishes should be written to, so I > > assume this maillinglist might be a good start. Might well be that > > other people asked for similar features already, a fast look

Re: Where should Feature-Wishes go?

2012-02-22 Thread Wietse Venema
Jean Bruenn: > Hello, > > I was wondering where feature-wishes should be written to, so I assume > this maillinglist might be a good start. Might well be that other > people asked for similar features already, a fast look through the > archive didn't result in anything like that though. Discuss d

Re: Ldap queries optimization

2012-02-22 Thread Wietse Venema
Angel L. Mateo: > > Some queries are repeated, this should have no significant impact. > > Focus on overalll performance rather than optimizing non-critical > > paths. Postfix is not monolithic, so cleanup(8) repeats some queries > > made by smtpd(8), and in smtpd(8) some queries are repeated becau

Re: Postfix unable to send email for specific domain

2012-02-22 Thread Wietse Venema
kshitij mali: > I have postfix chroot i think [master.cf] Indeed. Both smtpd (server) and smtp (client) are chrooted. Your current problem is with the client. You may run into other problems with the server. > but i want to know that the problem is with the resolution and sending > email to specf

Re: Ldap queries optimization

2012-02-22 Thread Angel L. Mateo
El 17/02/12 17:18, Viktor Dukhovni escribió: Some queries are repeated, this should have no significant impact. Focus on overalll performance rather than optimizing non-critical paths. Postfix is not monolithic, so cleanup(8) repeats some queries made by smtpd(8), and in smtpd(8) some queries ar