[Exim] Exim 3.36 + Amavisd-new (working configuration)

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Rodrigo Barbosa
Date:  
À: exim-users
Sujet: [Exim] Exim 3.36 + Amavisd-new (working configuration)
--
Well, I started with the amavisnewd-README.exim_v3_app guide,
from Andreas Zeidler <az@???>.
Unfortunately, it did cause me several mail loops (exim->amavis->exim->amavis
at nauseum).

Here is how I made it work ... Major changed on the procedure are:
- Removed localhost from local_domains
- On the router, I used "self = pass" instead of "self = send"

On exim.conf:
======================

# Removed localhost from local_domains

(...)
# Transport
    amavis:
      driver = smtp
      hosts = localhost
      port = 10024
      allow_localhost
      transport_filter = "/usr/bin/spamc"


(...)
# Director
    amavis_director:
      condition = "${if and {{eq {$sender_host_address}{127.0.0.1}} \
                             {eq {$sender_helo_name}{amavis}}} {0}{1}}"
      driver = smartuser
      transport = amavis
      verify = false


(...)

    trusted_users = mail:amavis


(...)
# Router
    amavis_router:
      condition = "${if and {{eq {$sender_host_address}{127.0.0.1}} \
                             {eq {$sender_helo_name}{amavis}}} {0}{1}}"
      driver = domainlist
      transport = amavis
      route_list = "* localhost byname"
      verify = false
      self = pass


==================
On amavisd.conf:

    $forward_method = 'smtp:127.0.0.1:25';
    $notify_method = $forward_method;
    $localhost_name = "amavis";
    $relayhost_is_client = 0;


--
Rodrigo Barbosa <rodrigob@???>
"Quid quid Latine dictum sit, altum viditur"
"Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)

--
[ Content of type application/pgp-signature deleted ]
--