[Dovecot] Have an issue with catch-all - Dovecot-lda andPostfix
Hi,
I run dovecot version 2.1.7 and postfix 2.9.6. I'm using dovecot-lda as local delivery. I use virtual users and need to use catch-all for some of my domains.
My problem when using catch-all is that I got a separate email for each recipient. As an example: If I send mail to: test1@test.org, test2, test3@test.org, test4@test.org and have a catch-all which will send this mail to test@test.org. In this example I get 4 mails in my test@test.org inbox and in TO: field in the header I have all this four recipients: TO: test1@test.org, test2, test3@test.org, test4@test.org.
In my dovecot log: 2013-07-10 13:49:25 lda(test@test.org): Debug: Destination address: test@test.org (source: user@hostname) 2013-07-10 13:49:25 lda(test@test.org: Info: msgid=<20130710114924.DBA3F9FA8D@mail2.test.org>: saved mail to INBOX 2013-07-10 13:49:25 lda(test@test.org): Info: msgid=<20130710114924.DBA3F9FA8D@mail2.test.org>: saved mail to INBOX 2013-07-10 13:49:25 lda(test@test.org): Info: msgid=<20130710114924.DBA3F9FA8D@mail2.test.org>: saved mail to INBOX 2013-07-10 13:49:25 lda(test@test.org): Info: msgid=<20130710114924.DBA3F9FA8D@mail2.test.org>: saved mail to INBOX
My question is if it's possible to receive just one mail instead of four?
If I send the mail via Spamassassin I'll just receive one mail to test@test.org with TO: test1@test.org, test2, test3@test.org, test4@test.org in the header.
Thanks in advance Br Joakim
# dovecot -n:
Am 10.07.2013 15:17, schrieb Joakim Ohlsson:
Hi,
I run dovecot version 2.1.7 and postfix 2.9.6. I'm using dovecot-lda as local delivery. I use virtual users and need to use catch-all for some of my domains.
My problem when using catch-all is that I got a separate email for each recipient. As an example: If I send mail to: test1@test.org, test2, test3@test.org, test4@test.org and have a catch-all which will send this mail to test@test.org. In this example I get 4 mails in my test@test.org inbox and in TO: field in the header I have all this four recipients: TO: test1@test.org, test2, test3@test.org, test4@test.org.
looks ok to me, did you expect other ?
In my dovecot log: 2013-07-10 13:49:25 lda(test@test.org): Debug: Destination address: test@test.org (source: user@hostname) 2013-07-10 13:49:25 lda(test@test.org: Info: msgid=<20130710114924.DBA3F9FA8D@mail2.test.org>: saved mail to INBOX 2013-07-10 13:49:25 lda(test@test.org): Info: msgid=<20130710114924.DBA3F9FA8D@mail2.test.org>: saved mail to INBOX 2013-07-10 13:49:25 lda(test@test.org): Info: msgid=<20130710114924.DBA3F9FA8D@mail2.test.org>: saved mail to INBOX 2013-07-10 13:49:25 lda(test@test.org): Info: msgid=<20130710114924.DBA3F9FA8D@mail2.test.org>: saved mail to INBOX
My question is if it's possible to receive just one mail instead of four?
perhaps, with some filter or supress doubles etc
If I send the mail via Spamassassin I'll just receive one mail to test@test.org with TO: test1@test.org, test2, test3@test.org, test4@test.org in the header.
Thanks in advance Br Joakim
# dovecot -n:
you should solve your problem in not using catch alls in the first line
Best Regards MfG Robert Schetterer
-- [*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, 10 Jul 2013, Joakim Ohlsson wrote:
I run dovecot version 2.1.7 and postfix 2.9.6. I'm using dovecot-lda as local delivery. I use virtual users and need to use catch-all for some of my domains.
Where do you use "catch-all" in Postfix or Dovecot?
If you must use Dovecot's "catch-all", Postfix is calling the Dovecot LDA for times, so you end up with four copies.
You could try to change to Dovecot LMTP, maybe it is detecting the duplication.
Can you activate catch-all in Postfix, then Postfix is to detect the duplicate recipients.
If I send the mail via Spamassassin I'll just receive one mail to test@test.org with TO: test1@test.org, test2, test3@test.org, test4@test.org in the header.
How do you send a mail via Spamassassin? You know that the "to" header is used in only very rare cases for mail routing, in other words: "to" has nothing to do with mail routing.
Regards,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBUd15nV3r2wJMiz2NAQIIBAf/VGjzKQCGOPyOdh1IjRCL1QPv8thFujt1 8OJJonm06EcxJ2hQGJFK/UK4TK8x4hcgse7Oj3NqsJV6n9u2UAcW1pe73phs5U53 mD0TLN8CsFOxwtP0nxZAYUGHgBriihRit0yUTNe0cdHMBOpCmLtaCe8EAnSSW6hU g+QcpTyrUiSbwSctYZv8ck2rI6Slym1cFHcJ818+rEeIBWz+ijtqNVaJ+jNavi3l f4EuEWL3qne8CkrwYCgSJ3ZYC32Z6niyglsJX3NAcZvRVlKvtV/tXfbnnlQ4i5Fn pkbWR/SzMI7YZISEYy+Vgioa6ulBo084g9mshuZQuw8XbMOZw5VCHg== =i2YG -----END PGP SIGNATURE-----
participants (3)
-
Joakim Ohlsson
-
Robert Schetterer
-
Steffen Kaiser