On Thu, Aug 24, 2017 at 11:49:19AM +0200, Markus Rosjat wrote:
> so here is my problem, I konfigured postfix and dkimproxy to work together.
> So far so good because it works for outgoing mail. The problem i face is
> with local mails. Postfix somehow rewrites the reciepent from the mail
> adress to [email protected] and then the lookup im my ldap directory fails.
> 
> So the real question is, can I configure postfix to ignore the forwarding to
> dkimproxy for local delivery ?

Without seeing your configuration files, it's hard to tell. However, my
guess is that you've got dkimproxy set to process all of your mail
rather than having it only attached to the smtpd part of it. Check your
master.cf and make sure that you're only referring to dkimproxy there,
as opposed to calling it in main.cf somewhere.

For example, I have SpamAssassin in my pipeline but only for external
mail. I set it up that way by doing this with master.cf (among other
things):

smtpd     pass  -       -       y       -       -       smtpd
        -o smtpd_client_restrictions=$client_restrictions
        -o content_filter=spamassassin

By including the content_filter there, I'm able to have it only affect
mail that originates from external hosts. I assume dkimproxy is called
in a similar fashion. DKIM's too much of a pain in the butt for me
though so I don't have first-hand experience with it.

-- 
To find a friend one must close one eye; to keep him -- two.
                -- Norman Douglas

Reply via email to