Blocklist with multiple SELECT-fields

2010-02-24 Thread Jørn Skjerven
Hi everybody! I'm trying to implement a blocklist based on a MySQL lookuptable. It works for returning single values like REJECT or OK, but I want it to return 4XX some text the same way as can be done using a standard accessmap. The problem is to return the TEXT. I have tried the following

Re: Blocklist with multiple SELECT-fields

2010-02-24 Thread Stefan Palme
On Wed, 2010-02-24 at 09:16 +0100, Jørn Skjerven wrote: I have tried the following query: query = SELECT action,text FROM blocked_accounts WHERE address = '%s' Try query = SELECT concat(action,' ',text) FROM blocked_accounts ... (don't know the correct Syntax in MySQL to concatenate

Re: header_checks question

2010-02-24 Thread lst_hoe02
Zitat von Victor Duchovni victor.ducho...@morganstanley.com: On Tue, Feb 23, 2010 at 03:47:16PM +0100, Ralf Hildebrandt wrote: So the first one is correct and the second one not?? From: =?iso-8859-1?Q?H=F6fler=2C_Verena?= xx...@x.de To: =?iso-8859-1?Q?=27=22H=F6fler=2C_Martin=22=27?=

Re: header_checks question

2010-02-24 Thread Ralf Hildebrandt
* lst_ho...@kwsoft.de lst_ho...@kwsoft.de: The problem is that on some mails sent from Outlook it is not possible to answer with Thunderbird because the sender address is split into two invalid mailadresses when doing a reply. This only happens when there are special chars in the display name

Re: header_checks question

2010-02-24 Thread lst_hoe02
Zitat von Ralf Hildebrandt ralf.hildebra...@charite.de: * lst_ho...@kwsoft.de lst_ho...@kwsoft.de: The problem is that on some mails sent from Outlook it is not possible to answer with Thunderbird because the sender address is split into two invalid mailadresses when doing a reply. This only

Re: header_checks question

2010-02-24 Thread Wietse Venema
lst_ho...@kwsoft.de: Zitat von Ralf Hildebrandt ralf.hildebra...@charite.de: * lst_ho...@kwsoft.de lst_ho...@kwsoft.de: The problem is that on some mails sent from Outlook it is not possible to answer with Thunderbird because the sender address is split into two invalid mailadresses

Re: 2.7 RPM

2010-02-24 Thread Carl Brewer
Carlos Williams wrote: Does anyone happen to know if anyone is kindly dedicating their time to creating a Postfix 2.7 RPM for download? I know this is extremely time consuming but I am really interested to try out Postfix 2.7 on my CentOS x64 server. I realize Simon was responsible for creating

Re: 2.7 RPM

2010-02-24 Thread Robert Schetterer
Am 24.02.2010 14:04, schrieb Carl Brewer: Carlos Williams wrote: Does anyone happen to know if anyone is kindly dedicating their time to creating a Postfix 2.7 RPM for download? I know this is extremely time consuming but I am really interested to try out Postfix 2.7 on my CentOS x64 server.

Re: 2.7 RPM

2010-02-24 Thread Carl Brewer
For the archive, I had to change the postfix.spec slightly for it to build on CentOS 5.4 x64, by setting with_sasl to 2 The sender_dependent_default_transport_maps feature works a treat, thankyou Wietse. Carl

Re: header_checks question

2010-02-24 Thread Victor Duchovni
On Wed, Feb 24, 2010 at 11:16:41AM +0100, lst_ho...@kwsoft.de wrote: Same what? Can someone explain the observed issue in some detail? All I am seeing is questions about an ill-advised hypothetical solution. When I put my Cyrillic name into Apple's MUA, the From: header read: From:

Display-name rewriting

2010-02-24 Thread Sylvain Ferrand
Hello, I would like to overwrite the display-name (i.e. the sender description string in the the From: field. - cf. RFC 5322 sec 3.4) set by the MUA. Is it possible to rewrite the display-name (1) in the From: header on a postfix server ? Thanks in advance, Sylvain Ferrand

Re: Display-name rewriting

2010-02-24 Thread Ralf Hildebrandt
* Sylvain Ferrand sylvain.ferr...@polytechnique.edu: Hello, I would like to overwrite the display-name (i.e. the sender description string in the the From: field. - cf. RFC 5322 sec 3.4) set by the MUA. Is it possible to rewrite the display-name (1) in the From: header on a postfix server ?

Re: Display-name rewriting

2010-02-24 Thread Victor Duchovni
On Wed, Feb 24, 2010 at 03:55:13PM +0100, Sylvain Ferrand wrote: Hello, I would like to overwrite the display-name (i.e. the sender description string in the the From: field. - cf. RFC 5322 sec 3.4) set by the MUA. Is it possible to rewrite the display-name (1) in the From: header on a

Re: Display-name rewriting

2010-02-24 Thread Ralf Hildebrandt
* Ralf Hildebrandt ralf.hildebra...@charite.de: * Sylvain Ferrand sylvain.ferr...@polytechnique.edu: Hello, I would like to overwrite the display-name (i.e. the sender description string in the the From: field. - cf. RFC 5322 sec 3.4) set by the MUA. Is it possible to rewrite the

Re: restricting acceptence of mail users except from local network

2010-02-24 Thread Noel Jones
On 2/24/2010 12:47 AM, Ruben Safir wrote: Anyway to restrict the From: header to the local domain as well as the Fromwhitespace header It seems that Majordomo will accept the mail if the From: is different than the From From mrbrk...@panix.com From: ru...@mrbrklyn.com I'd like to reject

Re: header_checks question

2010-02-24 Thread Wietse Venema
lst_ho...@kwsoft.de: There is no wrong To-Header. File a bug-report with Mozilla. That's what i tried to find out: Who is at fault and what is the root-case... If the bug is still present in TB3 i will bother to file a bug. If software X mis-handles a correctly-formatted message header,

Re: How to setup postfix to put the queued emails in hold (and not in deferred)

2010-02-24 Thread Michele Carandente
Hi guys. I'm still looking for the right solution... As I said before, I was thinking to put in a cronjob the command postsuper -h ALL, but in that case I'll put in hold also the emails that are in queue because maybe there was an error during the delivery. Suggestions? Thanks Michele

Re: header_checks question

2010-02-24 Thread Victor Duchovni
On Wed, Feb 24, 2010 at 04:12:05PM +0100, lst_ho...@kwsoft.de wrote: There is no wrong To-Header. File a bug-report with Mozilla. That's what i tried to find out: Who is at fault and what is the root-case... If the bug is still present in TB3 i will bother to file a bug. I failed to

Re: How to setup postfix to put the queued emails in hold (and not in deferred)

2010-02-24 Thread Victor Duchovni
On Wed, Feb 24, 2010 at 04:16:56PM +, Michele Carandente wrote: Hi guys. I'm still looking for the right solution... As I said before, I was thinking to put in a cronjob the command postsuper -h ALL, but in that case I'll put in hold also the emails that are in queue because maybe

Re: header_checks question

2010-02-24 Thread lst_hoe02
Zitat von Victor Duchovni victor.ducho...@morganstanley.com: On Wed, Feb 24, 2010 at 04:12:05PM +0100, lst_ho...@kwsoft.de wrote: There is no wrong To-Header. File a bug-report with Mozilla. That's what i tried to find out: Who is at fault and what is the root-case... If the bug is still

Re: Blocklist with multiple SELECT-fields

2010-02-24 Thread mouss
Jørn Skjerven a écrit : Hi everybody! I'm trying to implement a blocklist based on a MySQL lookuptable. It works for returning single values like REJECT or OK, but I want it to return 4XX some text the same way as can be done using a standard accessmap. The problem is to return the TEXT.

migration question

2010-02-24 Thread Terry Barnum
After becoming frustrated with our current (non-postfix/dovecot) mailserver's IMAP performance, I setup postfix+dovecot+mysql on a MacPro running Snow Leopard (10.6.2) using MacPorts and an unused domain. After getting it working and playing with it a bit I now have what is likely a

Re: migration question

2010-02-24 Thread Adrian Overbury
Terry Barnum wrote: After becoming frustrated with our current (non-postfix/dovecot) mailserver's IMAP performance, I setup postfix+dovecot+mysql on a MacPro running Snow Leopard (10.6.2) using MacPorts and an unused domain. After getting it working and playing with it a bit I now have what

Re: migration question

2010-02-24 Thread Terry Barnum
On Feb 24, 2010, at 5:08 PM, Adrian Overbury wrote: Terry Barnum wrote: - configure new postfix/dovecot server to be in correct domain (conf files, certificates) - setup users and passwords on new postfix/dovecot server - use imapsync to pull all email from old server to new

client certificate handling with TLS + sasl

2010-02-24 Thread zhong ming wu
Dear List I am using dovecot sasl with postfix smtp-auth. I also use tls with both dovecot imap/pop server to retrieve mails and also tls with postfix for submission to the relay server. With dovecot I can have my mail client send a certificate and make dovecote use CN field of the cert as

Re: client certificate handling with TLS + sasl

2010-02-24 Thread Victor Duchovni
On Wed, Feb 24, 2010 at 11:46:10PM -0500, zhong ming wu wrote: With dovecot I can have my mail client send a certificate and make dovecote use CN field of the cert as username to authenticate. If I enable that feature in dovecot, postfix authentication does not work despite the fact that I