<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <font face="Times New Roman, Times, serif">I will like to add some
      type of support for external backup emails.<br>
      <br>
      went you send a email from one server and the mail server is not
      responding, you can send to the MX backup email in a priority
      order like MX 5 MX10 MX100, after the some time the mail backup
      server will send you the mail back to you...<br>
      <br>
      the mail issue is, on the default config a new file
      30_exim4-config_check_rcpt<br>
        .ifdef _HAVE_SPF<br>
        deny<br>
          !acl = acl_local_deny_exceptions<br>
          spf = fail<br>
          message = [SPF] $sender_host_address is not allowed to send
      mail from \<br>
                    ${if def:sender_address_domain
      {$sender_address_domain}{$sender_helo_name}}.<br>
          log_message = SPF check failed.<br>
      <br>
      By default is deny the email..<br>
      <br>
      Will be great if we enable some file like: </font><font
      face="Times New Roman, Times, serif">/etc/exim4/trustedmailhosts
      in order to bypass this rule and allow send the mail back from the
      MX backup without check the SPF</font><br>
    <font face="Times New Roman, Times, serif">My proposal will be like:<br>
      <br>
       .ifdef CHECK_RCPT_SPF<br>
        .ifdef _HAVE_SPF<br>
        deny<br>
          !acl = acl_local_deny_exceptions<br>
          !condition = ${if
match_ip{$sender_host_address}{iplsearch;/etc/exim4/trustedmailhosts}{1}{0}}<br>
          spf = fail<br>
          message = [SPF] $sender_host_address is not allowed to send
      mail from \<br>
                    ${if def:sender_address_domain
      {$sender_address_domain}{$sender_helo_name}}.<br>
          log_message = SPF check failed.<br>
      <br>
        defer<br>
          !acl = acl_local_deny_exceptions<br>
          spf = temperror<br>
          message = Temporary DNS error while checking SPF record.  Try
      again later.<br>
      <br>
        warn<br>
      <br>
      I am not a expert on exim rules, maybe there is other way to do
      it.<br>
      <br>
      Regards!<br>
    </font><br>
    <div class="moz-cite-prefix">On 2026-02-04 19:53, Andreas Metzler
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:aYOVnwivof6ZFHVW@argenau.bebt.de">
      <pre wrap="" class="moz-quote-pre">On 2026-02-04 Eduardo Diaz Rodriguez via Pkg-exim4-maintainers <a class="moz-txt-link-rfc2396E" href="mailto:pkg-exim4-maintainers@alioth-lists.debian.net"><pkg-exim4-maintainers@alioth-lists.debian.net></a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="" class="moz-quote-pre">Package: exim4-config
Version: 4.96-15+deb12u7
Severity: normal
</pre>
      </blockquote>
      <pre wrap="" class="moz-quote-pre">



</pre>
      <blockquote type="cite">
        <pre wrap="" class="moz-quote-pre">-- Package-specific info:
Exim version 4.96 #2 built 22-Mar-2025 10:25:14
</pre>
      </blockquote>
      <pre wrap="" class="moz-quote-pre">[... and nothing else ]

I am at loss. What is this report about?

cu Andreas

</pre>
    </blockquote>
    <br>
  
<br>
<br />
by pk25.com
<br />
<br>
</body>
</html>