Re: dovecot-lmtp and postfix

2019-08-11 Thread Coy Hile via dovecot
On 2019-08-11 18:40, Alexander Dalloz via dovecot wrote: Am 11.08.2019 um 18:06 schrieb Coy Hile via dovecot: Your Postfix configuration makes Postfix think gmail.com to be a virtual(8) target domain. Thus it uses virtual_transport. So validate your virtual_alias_maps =

Re: dovecot-lmtp and postfix

2019-08-11 Thread Alexander Dalloz via dovecot
ovecot: [ID 702911 mail.info] lmtp(50179): Connect from local 2019-08-11T15:38:40+00:00 81716ec5-bca4-6d53-ed81-bd1a55d46b4f postfix/lmtp[56821]: [ID 197553 mail.info] 12327F13D: to=, relay=81716ec5-bca4-6d53-ed81-bd1a55d46b4f.localdomain[private/dovecot-lmtp], delay=55, delays=55/0.01/0/0.0

dovecot-lmtp and postfix

2019-08-11 Thread Coy Hile via dovecot
ce_count = 0 vsz_limit = 1 G } service imap { process_min_avail = 3 service_count = 256 } service lmtp { unix_listener /var/spool/postfix/private/dovecot-lmtp { group = postfix mode = 0600 user = postfix } } service pop3-login { inet_listener pop3 { port = 0 } inet

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2019-04-19 Thread Tom Sommer via dovecot
On 2019-04-19 15:26, Aki Tuomi via dovecot wrote: Unfortunately we have quite long list of things to do, so sometimes even trivial things can take a long time. Not to hijack the thread, but perhaps you could elaborate on what has changed within Dovecot? Timo seems to be put in the

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2019-04-19 Thread Aki Tuomi via dovecot
Unfortunately we have quite long list of things to do, so sometimes even trivial things can take a long time. Aki On 18 April 2019 16:53 Tanstaafl via dovecot < dovecot@dovecot.org> wrote: Sadly, I guess not...

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2019-04-18 Thread Tanstaafl via dovecot
Sadly, I guess not... I'm not sure what to make of this, seeing as both Wietse and Timo said it was almost a trivial thing to fix. On Fri Apr 12 2019 12:17:22 GMT-0400 (Eastern Standard Time), Tanstaafl via dovecot wrote: > I'm resurrecting this again because I'm getting pretty close to

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2019-04-12 Thread Tanstaafl via dovecot
I'm resurrecting this again because I'm getting pretty close to possibly being ready to install a brand new dovecot server (finally), but I still need for dovecots LMTP to add the x-original-to header. So... was this completed quietly, or is support for it still not there? Thanks, Charles On

Re: testing dovecot LMTP with postfix/spamassassin

2019-03-17 Thread Aki Tuomi via dovecot
On 17 March 2019 13:30 Eduardo M KALINOWSKI via dovecot < dovecot@dovecot.org> wrote: On 16/03/2019 11:49, Marek Kozlowski via dovecot wrote: Can I test local mail delivery by dovecot LMTP manually? I mean: to

Re: testing dovecot LMTP with postfix/spamassassin

2019-03-17 Thread Eduardo M KALINOWSKI via dovecot
On 16/03/2019 11:49, Marek Kozlowski via dovecot wrote: > Can I test local mail delivery by dovecot LMTP manually? I mean: to > simulate "I'm the Postfix" and produce for some testing e-mail the > same effect as postfix granting it via `local_transport' to dovecot? > You can probably use swaks for

Re: testing dovecot LMTP with postfix/spamassassin

2019-03-17 Thread Yassine Chaouche via dovecot
On 3/17/19 11:59 AM, Yassine Chaouche via dovecot wrote: On 3/17/19 11:10 AM, Marek Kozlowski via dovecot wrote: Thank you but... Please mind that I'm planning to use dovecot LMTP rather than LDA. Best regards, Marek There's /usr/lib/dovecot/lmtp too Yassine. Here's a bad example :

Re: testing dovecot LMTP with postfix/spamassassin

2019-03-17 Thread Yassine Chaouche via dovecot
On 3/17/19 11:10 AM, Marek Kozlowski via dovecot wrote: Thank you but... Please mind that I'm planning to use dovecot LMTP rather than LDA. Best regards, Marek There's /usr/lib/dovecot/lmtp too Yassine.

Re: testing dovecot LMTP with postfix/spamassassin

2019-03-17 Thread Marek Kozlowski via dovecot
:-) On 3/17/19 10:22 AM, Yassine Chaouche via dovecot wrote: On 3/16/19 3:49 PM, Marek Kozlowski via dovecot wrote: Can I test local mail delivery by dovecot LMTP manually? I mean: to simulate "I'm the Postfix" and produce for some testing e-mail the same effect as postfix granting it via

Re: testing dovecot LMTP with postfix/spamassassin

2019-03-17 Thread Yassine Chaouche via dovecot
On 3/16/19 3:49 PM, Marek Kozlowski via dovecot wrote: Can I test local mail delivery by dovecot LMTP manually? I mean: to simulate "I'm the Postfix" and produce for some testing e-mail the same effect as postfix granting it via `local_transport' to dovecot? Best regards, Marek You can

testing dovecot LMTP with postfix/spamassassin

2019-03-16 Thread Marek Kozlowski via dovecot
:-) My postfix configuration is quite complex with a lot of special cases and rules. However I'd like to make an anti-spam configuration as simple and lightweight as possible (KISS). /etc/postfix/master.cf smtp inet

Re: LMTP and Postfix

2017-08-22 Thread kenneth topp
e and > changes to > it also? > > Thanks > > -- > Jerry > There are several ways of telling postfix to use lmtp to deliver to dovecot. I went with a method that was setting just the *_transport variable in main.cf to a unix pipe, so I didn't need to setup a service in master

Re: LMTP and Postfix

2017-08-22 Thread Ralph Seichter
ovecot-lmtp { user = postfix group = postfix mode = 0660 } } # Postfix mailbox_transport = lmtp:unix:private/dovecot-lmtp If you have further questions or a more exotic setup, you might want to consider asking on the Postfix mailing list. -Ralph

LMTP and Postfix

2017-08-22 Thread Jerry
I am setting up a new system that will be using Dovecot with Postifx. I am planning on using LMTP. I read the wiki and and found the settings I need to make in Dovecot and the Postfix main.cf file. However, I saw nothing about the Postfix master.cf file. Do I need to make and changes to it also?

Re: Problem switching from LDA to LMTP (with Postfix)

2017-08-04 Thread Nikolaos Milas
On 4/8/2017 2:07 μμ, Alex JOST wrote: You are searching for the complete username (%u = user@domain) but it sounds like you only want the localpart (%n). See: Thank you Alex, You are right. After switching to LMTP, Dovecot receives from Postfix a fully qualified username, whereas with LDA

Re: Problem switching from LDA to LMTP (with Postfix)

2017-08-04 Thread Alex JOST
Am 04.08.2017 um 12:06 schrieb Nikolaos Milas: Hello, I am trying to switch from LDA to LMTP on a Postfix/Dovecot setup, but something is going wrong. I have followed the directions at: https://wiki.dovecot.org/HowTo/PostfixDovecotLMTP Here is a session from dovecot.log: Aug 4 12:19:42

Problem switching from LDA to LMTP (with Postfix)

2017-08-04 Thread Nikolaos Milas
Hello, I am trying to switch from LDA to LMTP on a Postfix/Dovecot setup, but something is going wrong. I have followed the directions at: https://wiki.dovecot.org/HowTo/PostfixDovecotLMTP Here is a session from dovecot.log: Aug 4 12:19:42 vmail2 dovecot: lmtp(3152): Connect from local

Re: Catch-all with LMTP and Postfix

2016-08-22 Thread Michael Starks
On 08/22/2016 02:00 PM, Aki Tuomi wrote: Seems you accidentically replied to me only. Yup, whoops. Postfix uses the filename you provide as name for the db file, so running it against symlinks does follow the symlink, but it uses the symlink name as what it uses to create the .db file. You

Re: Catch-all with LMTP and Postfix

2016-08-22 Thread Aki Tuomi
On 22.08.2016 21:53, Michael Starks wrote: On 08/22/2016 01:29 AM, Aki Tuomi wrote: It seems your postfix is misbehaving. Did you forget to run postmap? Aki Tuomi Dovecot oy Thanks for the response, Aki. I dug a little deeper and found this: lrwxrwxrwx. 1 root root20 Jul 24 01:37

Re: Catch-all with LMTP and Postfix

2016-08-22 Thread Aki Tuomi
> On August 22, 2016 at 6:32 AM Michael Starks > wrote: > > > > Hidy-ho, > > I'm having a difficult time getting catch-all working when using Dovecot > LMTP. I would like *@example.com (everything) to go to > virt...@example.com, where virtual is a valid virtual

Catch-all with LMTP and Postfix

2016-08-21 Thread Michael Starks
21 08:02:50 hostname postfix/lmtp[4914]: 8DF8E9AFE6: to=<t...@example.com>, relay=mail.example.com[private/dovecot-lmtp], delay=0.07, delays=0.04/0.01/0.01/0.01, dsn=5.1.1, status=bounced (host mail.example.com[private/dovecot-lmtp] said: 550 5.1.1 <t...@example.com> User does

Re: LMTP with Postfix Problem

2015-06-18 Thread Daniel Tröder
will be sent back to me. Every time the message delivery is attempted, Dovecot says the LMTP directory doesn't exist. I thought it was created automatically as messages arrive. Jun 18 01:48:27 machine-name postfix/lmtp[30644]: 4CA5B8CB6: to=postmaster@my-domain, orig_to=postmaster, relay=none, delay

Re: LMTP with Postfix Problem

2015-06-18 Thread Steve Matzura
On Thu, 18 Jun 2015 09:24:32 +0200, you wrote: I think private/dovecot-lmtp isn't found. Please compare your Dovecot socket configuration and Postfix-main.cf configuration to http://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP I had it set up that way, but found extra lines in 10-master.conf.

LMTP with Postfix Problem

2015-06-17 Thread Steve Matzura
is attempted, Dovecot says the LMTP directory doesn't exist. I thought it was created automatically as messages arrive. Jun 18 01:48:27 machine-name postfix/lmtp[30644]: 4CA5B8CB6: to=postmaster@my-domain, orig_to=postmaster, relay=none, delay=0.02, delays=0.02/0/0/0, dsn=4.4.1, status=deferred

Re: Postpone email delivery with LMTP and Postfix

2015-04-30 Thread Thomas Leuxner
* Miloslav Hůla miloslav.h...@gmail.com 2015.04.29 22:47: is there any way, based on userdb/passwdb attribute, how to postpone an email delivery? The purpose is, I need to freeze an account (Maildir++) for a few minutes and new email must not be delivered. But emails must be delivered when

Re: Postpone email delivery with LMTP and Postfix

2015-04-30 Thread Miloslav Hůla
Dne 30.4.2015 v 18:51 Thomas Leuxner napsal(a): * Miloslav Hůla miloslav.h...@gmail.com 2015.04.29 22:47: is there any way, based on userdb/passwdb attribute, how to postpone an email delivery? The purpose is, I need to freeze an account (Maildir++) for a few minutes and new email must not be

Postpone email delivery with LMTP and Postfix

2015-04-29 Thread Miloslav Hůla
Hi, is there any way, based on userdb/passwdb attribute, how to postpone an email delivery? The purpose is, I need to freeze an account (Maildir++) for a few minutes and new email must not be delivered. But emails must be delivered when account is unfrozen. I found few things about Postfix

Re: Postpone email delivery with LMTP and Postfix

2015-04-29 Thread Gedalya
On 04/29/2015 04:47 PM, Miloslav Hůla wrote: Hi, is there any way, based on userdb/passwdb attribute, how to postpone an email delivery? The purpose is, I need to freeze an account (Maildir++) for a few minutes and new email must not be delivered. But emails must be delivered when account is

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2015-04-28 Thread Tobias Franzén
On 2014-01-08 14:32, Charles Marcus wrote: On 2012-04-09 8:53 AM, Timo Sirainen t...@iki.fi wrote: On 9.4.2012, at 15.50, Charles Marcus wrote: LMTP adds a new Delivered-To:rcpt-to@address header when there is a single RCPT TO. You can force a single RCPT TO from Postfix side by setting

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2015-04-28 Thread Charles Marcus
On 4/28/2015 1:40 PM, Tobias Franzén lists.zx...@otaking.se wrote: On 2014-01-08 14:32, Charles Marcus wrote: On 2012-04-09 8:53 AM, Timo Sirainen t...@iki.fi wrote: On 9.4.2012, at 15.50, Charles Marcus wrote: LMTP adds a new Delivered-To:rcpt-to@address header when there is a single RCPT

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2014-01-08 Thread Charles Marcus
On 2012-04-09 8:53 AM, Timo Sirainen t...@iki.fi wrote: On 9.4.2012, at 15.50, Charles Marcus wrote: LMTP adds a new Delivered-To:rcpt-to@address header when there is a single RCPT TO. You can force a single RCPT TO from Postfix side by setting lmtp_destination_recipient_limit=1. LMTP doesn't

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2012-04-09 Thread Timo Sirainen
On 5.4.2012, at 15.59, Charles Marcus wrote: Does anyone know if the use of LMTP (or even the dovecot LDA) still loses the x-original-to header that the postfix vda adds and that I rely heavily on (since I use a lot of aliases), and if it does, is there any solution to get the original

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2012-04-09 Thread Charles Marcus
On 2012-04-09 3:33 AM, Timo Sirainen t...@iki.fi wrote: On 5.4.2012, at 15.59, Charles Marcus wrote: Does anyone know if the use of LMTP (or even the dovecot LDA) still loses the x-original-to header that the postfix vda adds and that I rely heavily on (since I use a lot of aliases), and if it

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2012-04-09 Thread Timo Sirainen
On 9.4.2012, at 15.50, Charles Marcus wrote: LMTP adds a new Delivered-To:rcpt-to@address header when there is a single RCPT TO. You can force a single RCPT TO from Postfix side by setting lmtp_destination_recipient_limit=1. LMTP doesn't add/remove/change X-Original-To: header. Ok, thanks

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2012-04-09 Thread Charles Marcus
On 2012-04-09 8:53 AM, Timo Sirainen t...@iki.fi wrote: I guess X-Original-To is the same address as what Postfix sees as the original RCPT TO address before alias expansion and such? In that case, see my today's mail in Postfix list. Yep... and hoping that you and Wietse can work out some way

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2012-04-08 Thread Daniel L. Miller
On Sat, 7 Apr 2012 14:30:38 -0400, Jerry wrote: On Sat, 07 Apr 2012 11:06:48 -0700 Daniel L. Miller articulated: Unfortunately, the docs for the ltmp agent http://www.postfix.org/lmtp.8.html [1] don't say anything about adding these headers. I tried asking on the Postfix list - didn't

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2012-04-07 Thread Daniel L. Miller
On 4/6/2012 1:00 PM, Charles Marcus wrote: On 2012-04-06 2:53 PM, Daniel L. Miller dmil...@amfes.com wrote: I'm currently using Postfix 2.7, Dovecot 2.1, and the Dovecot LDA. I have a pure virtual user environment stored in LDAP. My messages include X-Original-To and Delivered-To headers.

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2012-04-07 Thread Jerry
On Sat, 07 Apr 2012 11:06:48 -0700 Daniel L. Miller articulated: Unfortunately, the docs for the ltmp agent http://www.postfix.org/lmtp.8.html don't say anything about adding these headers. I tried asking on the Postfix list - didn't get much of an answer. I may be wrong; however, from

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2012-04-06 Thread Daniel L. Miller
On 4/5/2012 5:59 AM, Charles Marcus wrote: On 2012-04-05 4:18 AM, Thomas Leuxner t...@leuxner.net wrote: Also with 2.x you may want to use LMTP rather than the LDA Piping. http://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP I am preparing to convert my main client's postfix_courier-imap setup

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2012-04-06 Thread Charles Marcus
On 2012-04-06 2:53 PM, Daniel L. Miller dmil...@amfes.com wrote: I'm currently using Postfix 2.7, Dovecot 2.1, and the Dovecot LDA. I have a pure virtual user environment stored in LDAP. My messages include X-Original-To and Delivered-To headers. Well that is great news... at least I'll be

[Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2012-04-05 Thread Charles Marcus
On 2012-04-05 4:18 AM, Thomas Leuxner t...@leuxner.net wrote: Also with 2.x you may want to use LMTP rather than the LDA Piping. http://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP I am preparing to convert my main client's postfix_courier-imap setup to dovecot 2.1, which currently just uses