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