[pfx] dkim=none

2023-09-06 Thread roughnecks via Postfix-users
hello,

excuse me if I profit from your expertise but I wouldn't know where else to 
ask..

I have a main example.space domain and an example.eu aliased domain.

I have set up different txt record for dkim for each domain and the problem is 
that when I'm sending mail via the main domain (space), they are not dkim 
signed.. It either says dkim=none or the dkim header is totally missing.

If I send via the aliased domain I have no issues whatsoever.

I searched the web for dkim=none extensively to no avail, it looks like most of 
the people have issues with the aliased domain and not the main one.

Any help appreciated, thanks.___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] Re: dkim=none

2023-09-06 Thread Aban Dokht via Postfix-users

roughnecks via Postfix-users wrote:
 

I have set up different txt record for dkim for each domain and the problem is 
that when I'm sending mail via the main domain (space), they are not dkim 
signed.. It either says dkim=none or the dkim header is totally missing.



Hello roughnecks,

postfix does not DKIM sign your outgoing mails.
Which software do you use to sign your aoutgoint emails (opendkim, rspamd,...)?


Regards
Aban

--
 Aban Dokht   aban.do...@abando.de
--
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] Re: dkim=none

2023-09-06 Thread postfix--- via Postfix-users

I have set up different txt record for dkim for each domain and the problem is 
that when I'm sending mail via the main domain (space), they are not dkim 
signed.. It either says dkim=none or the dkim header is totally missing.

If I send via the aliased domain I have no issues whatsoever.



Assuming you are using opendkim for signing the .eu domain, did you add the 
.space domain to the dkim config so it knows to sign both domains?
Check /etc/opendkim/SigningTable
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] Re: dkim=none

2023-09-06 Thread roughnecks via Postfix-users
Hi Aban, I'm using opendkim, followed the Debian wiki page to generate my keys 
and set it up.

Il 6 settembre 2023 09:21:35 CEST, Aban Dokht via Postfix-users 
 ha scritto:
>roughnecks via Postfix-users wrote:
> 
>> I have set up different txt record for dkim for each domain and the problem 
>> is that when I'm sending mail via the main domain (space), they are not dkim 
>> signed.. It either says dkim=none or the dkim header is totally missing.
>> 
>
>Hello roughnecks,
>
>postfix does not DKIM sign your outgoing mails.
>Which software do you use to sign your aoutgoint emails (opendkim, rspamd,...)?
>
>
>Regards
>Aban
>
>-- 
> Aban Dokht   aban.do...@abando.de
>--
>___
>Postfix-users mailing list -- postfix-users@postfix.org
>To unsubscribe send an email to postfix-users-le...@postfix.org
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] Re: dkim=none

2023-09-06 Thread roughnecks via Postfix-users
> Assuming you are using opendkim for signing the .eu domain, did you 
add the .space domain to the dkim config so it knows to sign both domains?



Yeah, the config is always been there, since before I had the .eu domain.

> Check /etc/opendkim/SigningTable

I don't have this file, just /etc/opendkim.conf


OpenPGP_0x8FBF94AC1E006074.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] Re: dkim=none

2023-09-06 Thread roughnecks via Postfix-users

Il 06/09/2023 09:26, postfix--- via Postfix-users ha scritto:

Check /etc/opendkim/SigningTable


I've added KeyTable, SigningTable and TrustedHosts files and now it 
looks fixed.


Thanks


OpenPGP_0x8FBF94AC1E006074.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] Re: dkim=none

2023-09-06 Thread Michel Verdier via Postfix-users
On 2023-09-06, roughnecks via Postfix-users wrote:

>> Check /etc/opendkim/SigningTable
>
> I don't have this file, just /etc/opendkim.conf

So you need to put in /etc/opendkim.conf
KeyTablerefile:/etc/opendkim/KeyTable
SigningTablerefile:/etc/opendkim/SigningTable

In /etc/opendkim/SigningTable
*@ ._domainkey.

In /etc/opendkim/KeyTable
._domainkey. ::

In SigningTable and KeyTable you must have one line for each domain. I
think you already have the same lines but in /etc/opendkim.conf ?
And you already have DNS entries ?
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] Re: dkim=none

2023-09-06 Thread roughnecks via Postfix-users

Il 06/09/2023 10:35, Michel Verdier via Postfix-users ha scritto:

On 2023-09-06, roughnecks via Postfix-users wrote:


Check /etc/opendkim/SigningTable


I don't have this file, just /etc/opendkim.conf


So you need to put in /etc/opendkim.conf
KeyTablerefile:/etc/opendkim/KeyTable
SigningTablerefile:/etc/opendkim/SigningTable

In /etc/opendkim/SigningTable
*@ ._domainkey.

In /etc/opendkim/KeyTable
._domainkey. ::

In SigningTable and KeyTable you must have one line for each domain. I
think you already have the same lines but in /etc/opendkim.conf ?
And you already have DNS entries ?
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


Thank you, as I said in another message I added those files already and 
it looks fixed.


Thank You!


OpenPGP_0x8FBF94AC1E006074.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org