[exim] Re: Weird bounces

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Laura Williamson via Exim-users
Dátum:  
Címzett: exim-users
Új témák: [exim] DKIM verification
Tárgy: [exim] Re: Weird bounces
Config question

I want to enable DKIM check for some local users/domains but not all,
not really sure how to do this, I've got this

acl_smtp_dkim:
#does not work

#domains = /etc/mail/mylocaldomainswiththisenabled

     deny dkim_status = fail
           message = DKIM validation failed: $dkim_verify_status
            log_message = DKIM validation failed: $dkim_verify_status \
                (address=$sender_address, domain=$dkim_cur_signer), \
                signature is bad
    defer dkim_status = invalid
            message = DKIM signature invalid: $dkim_verify_status
            log_message = DKIM signature invalid: $dkim_verify_status \
                (address=$sender_address, domain=$dkim_cur_signer), \
                invalid signature
    accept
            # Add an X-DKIM header to the message
            add_header = :at_start: X-DKIM: DKIM validation passed: \
                (address=$sender_address domain=$dkim_cur_signer), \
                signature is good
            logwrite = DKIM validation passed

Also another config question. This will not work if a user sends an
email, with gmail.com as sender but via another smtp (and therefore the
DKIM is not in the header). How can I enable so all gmail.com senders
are validated and if no DKIM, rejected?

    warn sender_domains = gmail.com
       dkim_signers = gmail.com
        dkim_status = none
        log_message = GMail sender without gmail.com DKIM signature


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/