[Dovecot] LMTP/Sieve/sendmail path
Hello,
I have a system using postfix multi instance feature. The first, main postfix-instance is a nullclient as suggested by http://www.postfix.org/MULTI_INSTANCE_README.html#split
The second instance is for real use. Postfix receive mail and handover them to the dovecot lmtp server.
Thats working.
The lmtp server supports sieve. One account has activated a vacation rule. So while delivering a mail to this account, dovecot creates a new mail based on the vacation rules.
*This one* fail. It is injected in the main postfix instance, which is wrong in this case.
I tried to start dovecot with an additional environment MAIL_CONFIG=/etc/postfix-instance2 and enabled alternate_config_directories in main.cf of the first insance. ( http://www.postfix.org/postconf.5.html#alternate_config_directories ) I also configured the userdb to return an extrafield userdb_mail_config=/etc/postfix-instance2.
But all produce strance postfix errors I never saw in my last 6 years as postfix-admin.
Would it be possible to configure dovecot lmtp server to use an external smtp-server to submit new mails ?
Any other Ideas ?
Thanks Andreas
-- Andreas Schulze Internetdienste | P252
DATEV eG 90329 Nürnberg | Telefon +49 911 319-0 | Telefax +49 911 319-3196 E-Mail info @datev.de | Internet www.datev.de Sitz: 90429 Nürnberg, Paumgartnerstr. 6-14 | Registergericht Nürnberg, GenReg Nr.70 Vorstand Prof. Dieter Kempf (Vorsitzender) Dipl.-Kfm. Wolfgang Stegmann (stellvertretender Vorsitzender) Dipl.-Kfm. Michael Leistenschneider Jörg Rabe v. Pappenheim Dipl.-Vw. Eckhard Schwarzer Vorsitzender des Aufsichtsrates: Reinhard Verholen
Am 03.06.2011 11:09, schrieb Andreas Schulze:
Hello,
I have a system using postfix multi instance feature. The first, main postfix-instance is a nullclient as suggested by http://www.postfix.org/MULTI_INSTANCE_README.html#split
The second instance is for real use. Postfix receive mail and handover them to the dovecot lmtp server.
Thats working.
The lmtp server supports sieve. One account has activated a vacation rule. So while delivering a mail to this account, dovecot creates a new mail based on the vacation rules.
*This one* fail. It is injected in the main postfix instance, which is wrong in this case.
I tried to start dovecot with an additional environment MAIL_CONFIG=/etc/postfix-instance2 and enabled alternate_config_directories in main.cf of the first insance. ( http://www.postfix.org/postconf.5.html#alternate_config_directories ) I also configured the userdb to return an extrafield userdb_mail_config=/etc/postfix-instance2.
But all produce strance postfix errors I never saw in my last 6 years as postfix-admin.
Would it be possible to configure dovecot lmtp server to use an external smtp-server to submit new mails ?
Any other Ideas ?
Thanks Andreas
i guess you should ask at the postfix mail list cause this should be could fixed with postfix anyway there is http://www.acme.com/software/mini_sendmail/ ---sni Add -s flag to let you specify an SMTP server
maybe you can use it as workaround
-- Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
On Fri, Jun 03, 2011 at 11:09:23AM +0200, Andreas Schulze wrote:
Hello,
I have a system using postfix multi instance feature. The first, main postfix-instance is a nullclient as suggested by
If you call the default instance (as in http://www.postfix.org/MULTI_INSTANCE_README.html#default_instance) the "first, main postfix-instance" and this is the null-client instance, configured as sugested in the walk-through (http://www.postfix.org/MULTI_INSTANCE_README.html#quick), this should work.
What happens if you invoke sendmail manually, what happens to messages from cronjobs?
http://www.postfix.org/MULTI_INSTANCE_README.html#split
The second instance is for real use. Postfix receive mail and handover them to the dovecot lmtp server.
Thats working.
The lmtp server supports sieve. One account has activated a vacation rule. So while delivering a mail to this account, dovecot creates a new mail based on the vacation rules.
*This one* fail. It is injected in the main postfix instance, which is wrong in this case.
Why is this wrong? The vacation message is a locally generated message and as this should go to the null-client.
I tried to start dovecot with an additional environment MAIL_CONFIG=/etc/postfix-instance2
I doubt this will affect the sendmail call from sieves vacation plugin.
and enabled alternate_config_directories in main.cf of the first insance.
You should not alter the config_directory for the default instance.
( http://www.postfix.org/postconf.5.html#alternate_config_directories ) I also configured the userdb to return an extrafield ) userdb_mail_config=/etc/postfix-instance2.
Does this even exist?
But all produce strance postfix errors I never saw in my last 6 years as postfix-admin.
Would it be possible to configure dovecot lmtp server to use an external smtp-server to submit new mails ?
Any other Ideas ?
If none of the above pointers help, go to the postfix-users list and follow the guidelines in http://www.postfix.org/DEBUG_README.html#mail when reporting the problem.
Dennis
participants (4)
-
Andreas Schulze
-
Dennis Guhl
-
Robert Schetterer
-
Timo Sirainen