Re: How to drop the recipient address hostname when delivering mail via LMTP?

2010-08-30 Thread Ralph Seichter
On 29.08.10 21:40, Noel Jones wrote: Sorry, I forgot to specify the map type in my example. It must be either regexp: or pcre:. No need for you to apologize. I feel quite silly, because you obviously specifed a regular expression in your example, and I read it as such. I don't know what made

Re: How to drop the recipient address hostname when delivering mail via LMTP?

2010-08-30 Thread mouss
Le 30/08/2010 11:19, Ralph Seichter a écrit : On 29.08.10 21:40, Noel Jones wrote: Sorry, I forgot to specify the map type in my example. It must be either regexp: or pcre:. No need for you to apologize. I feel quite silly, because you obviously specifed a regular expression in your example,

Re: How to drop the recipient address hostname when delivering mail via LMTP?

2010-08-30 Thread Ralph Seichter
On 30.08.10 22:11, mouss wrote: are you saying dovecot lmtp implementation has such a bug? I think that Dovecot is a great piece of software and would not presume to imply that it has a faulty LMTP implementation. More likely, I made some mistake in configuring Dovecot. Currently, all my

Re: How to drop the recipient address hostname when delivering mail via LMTP?

2010-08-28 Thread Ralph Seichter
On 27.08.10 17:58, Noel Jones wrote: If you're using the postfix LMTP client, this might work: http://www.postfix.org/postconf.5.html#lmtp_generic_maps I've added lmtp_generic_maps = hash:$config_directory/lmtp_generic to main.cf. The file's content matches your example, but I don't see

Re: How to drop the recipient address hostname when delivering mail via LMTP?

2010-08-28 Thread Ralph Seichter
On 27.08.10 18:22, Victor Duchovni wrote: [...] LMTP servers are expected to correctly map domains to mailboxes. It is best to no generate invalid LMTP, mangle the headers, ... Good point. The data available for Dovecot's user/password DB lookups does not yet contain domain information for

Re: How to drop the recipient address hostname when delivering mail via LMTP?

2010-08-28 Thread Ralph Seichter
On 27.08.10 21:06, fakessh wrote: What is the best solution to use dovecot lda for its use or complicate the config using lmtp dovecot whereas with a simple config we manage to walk amavisd Sorry, I don't get your meaning. If you are asking about using the dovecot-lda binary instead of LMTP

Re: How to drop the recipient address hostname when delivering mail via LMTP?

2010-08-27 Thread Ralph Seichter
I wonder if I was being too imprecise? I can of course provide postconf -n (and/or dovecot -n) output if it should be required to answer my question. Original Message Subject: How to drop the recipient address hostname when delivering mail via LMTP? Date: Wed, 25 Aug 2010 21:08

Re: How to drop the recipient address hostname when delivering mail via LMTP?

2010-08-27 Thread Noel Jones
On 8/27/2010 2:17 AM, Ralph Seichter wrote: I wonder if I was being too imprecise? I can of course provide postconf -n (and/or dovecot -n) output if it should be required to answer my question. Original Message Subject: How to drop the recipient address hostname when

Re: How to drop the recipient address hostname when delivering mail via LMTP?

2010-08-27 Thread Victor Duchovni
On Fri, Aug 27, 2010 at 10:58:37AM -0500, Noel Jones wrote: I think the problem is better solved in the delivery agent. If you're using the postfix LMTP client, this might work: http://www.postfix.org/postconf.5.html#lmtp_generic_maps /^(.*)@server\.example\.com$/$1 This will also

Re: How to drop the recipient address hostname when delivering mail via LMTP?

2010-08-27 Thread fakessh
On Fri, 27 Aug 2010 12:22:59 -0400, Victor Duchovni victor.ducho...@morganstanley.com wrote: On Fri, Aug 27, 2010 at 10:58:37AM -0500, Noel Jones wrote: I think the problem is better solved in the delivery agent. If you're using the postfix LMTP client, this might work:

How to drop the recipient address hostname when delivering mail via LMTP?

2010-08-25 Thread Ralph Seichter
There is a thread in the Dovecot mailing list discussing this subject, but I think it best to ask here aswell: My Dovecot 2.0 configuration contains these lines auth_username_format = %Ln service lmtp { unix_listener /var/spool/postfix/private/dovecot-lmtp { user = postfix