[Dovecot] LMTP/Sieve/sendmail path

Dennis Guhl dg at dguhl.org
Fri Jun 3 13:51:04 EEST 2011


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


More information about the dovecot mailing list