0

I've just set up opendkim on my server. Prior to this I had postfix set up to have the return path headers set to [email protected] now after installing opendkim that's now changed back to what it was before I made the postfix change to [email protected]

Return-Path: <[email protected]>
Received: from www.domain.com ([xx.xx.xx.xx])
        by mx.google.com with SMTP id y2si1560966wja.78.2015.12.23.02.39.47
        for <[email protected]>;
        Wed, 23 Dec 2015 02:39:48 -0800 (PST)
Received-SPF: pass (google.com: domain of [email protected] designates xx.xx.xx.xx as permitted sender) client-ip=xx.xx.xx.xx;
Authentication-Results: mx.google.com;
       spf=pass (google.com: domain of [email protected] designates xx.xx.xx.xx as permitted sender) [email protected];
       dkim=pass [email protected]

Why did this change after installing opendkim and how can I change it now?

For reference, my original modifications that worked before using dkim were as follows:

  1. add the line smtp_generic_maps = hash:/etc/postfix/generic in /etc/postfix/main.cf
  2. add the line [email protected] [email protected] in /etc/postfix/generic`

1 Answer 1

1

I'm not sure why, when or how this happened, but I noticed a few lines like this in my maillog;

warning: database /etc/postfix/generic.db is older than source file /etc/postfix/generic

So in trying to fix that warning I found something to tell me to run;

postmap /etc/postfix/generic

Which appeared to suppress these errors, but it has also fixed my headers back to what they should be. All sorted now.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .