[exim] Help with transport filter process failed (2)

Page principale
Supprimer ce message
Répondre à ce message
Auteur: F. Mendez
Date:  
À: exim-users
Anciens-sujets: Re: [exim] Outgoing control to specific domains
Sujet: [exim] Help with transport filter process failed (2)
Hello guys.

Im implementing DomainKeys signout on Exim 4.80-5.

So far I can make it signout perfectly but with a given domain. Since we have clients, Im implementing this in cpanel. But the issue is that seems I can't get the varibles to pass through.

This is how Im doing it:

dkim_remote_smtp:
  driver = smtp
interface = ${if exists {/etc/mailips}{${lookup{$original_domain}lsearch{/etc/mailips}{$value}{${lookup{$sender_address_domain}lsearch{/etc/mailips}{$value}{${lookup{${perl{get_sender_from_uid}}}lsearch*{/etc/mailips}{$value}{}}}}}}}}
  helo_data = ${if exists {/etc/mailhelo}{${lookup{$original_domain}lsearch{/etc/mailhelo}{$value}{${lookup{$sender_address_domain}lsearch{/etc/mailhelo}{$value}{${lookup{${perl{get_sender_from_uid}}}lsearch*{/etc/mailhelo}{$value}{$primary_hostname}}}}}}}{$primary_hostname}}
  dkim_domain = "$sender_address_domain"
  dkim_selector = default
  dkim_private_key = "/var/cpanel/domain_keys/private/${dkim_domain}"
  dkim_canon = relaxed
  transport_filter = /opt/exim/sign.sh domainkeys \
                                       --domain="$sender_address_domain" \
                                       --selector=default \
                                       --key-file="/var/cpanel/domain_keys/private/${dkim_domain}"


How do I have to use the variables: sender_address_domain and dkim_domain in order to have them passed and replaced with the data they hold to the trasnport_filter? Should I use chars like: ' or `´ or " ?

I know this is where my trouble is because when I use a single domain and path to its private key, it works, but having it like this code gives me:


T=dkim_remote_smtp defer (-24): transport filter process failed (2)





Th