On Saturday 02 September 2006 00:03, Stephen Gran wrote:
> On Fri, Sep 01, 2006 at 11:45:19PM +0200, Oliver König said:
> > > You seem to have case issues here, i.e., MAILMAN_DOMAINS vs.
> > > MAILMAN_domains. The documentation shows this all lower case. I don't
> > > know if that is significant or not, but it may be.
> > >
> > > Also, you don't indicate whether or not you have server.windfinder.com
> > > and news.server.windfinder.com in local_domains. If not, I think this
> > > is the cause of your relaying problem.
> >
> > The lists are in the local domain (windfinder.com). So I just deleted the
> > following:
> > domainlist mailman_domains= server.windfinder.com
> > MAILMAN_LISTCHK=MAILMAN_HOME/lists/${lc::$local_part}/config.pck
> > .. and any additional RCPT ACL should be obsolte because the lists ARE in
> > the local domain.
> >
> > When a subscriber posts to the list /var/log/exim4/mainlog still says.
> > 2006-09-01 23:40:08 H=mailout03.sul.t-online.com [194.25.134.81]
> > F=<k.oliver@???> rejected RCPT
> > <News-request@???>: relay not permitted
> >
> > .ifndef MAIN_LOCAL_DOMAINS
> > MAIN_LOCAL_DOMAINS = @:localhost:windfinder.com:server.windfinder.com
> > .endif
> > domainlist local_domains = MAIN_LOCAL_DOMAINS
>
> That should set the domainlist local_domains to be the list
> MAIN_LOCAL_DOMAINS, which is what you wnat, unless of course it is
> elsewhere defined (command line or something). Should be OK, though.
>
> [snip]
>
> > accept
> > domains = +local_domains
> > endpass
> > message = unknown user
> > verify = recipient
> >
> > accept
> > domains = +relay_to_domains
> > endpass
> > .ifdef CHECK_RCPT_GIVE_UNKNOWN_USER
> > message = ${if eq{$acl_verify_message}{Unrouteable address}{unknown
> > user} {$acl_verify_message}}
> > .else
> > message = unrouteable address
> > .endif
> > verify = recipient
> >
> > accept
> > hosts = +relay_from_hosts
> >
> > accept
> > authenticated = *
> >
> > deny
> > message = relay not permitted
>
> This should accept the message, unless the local part isn't routeable.
>
> So, run:
>
> /usr/sbin/exim4 -bhc 194.25.134.81
>
> (output from exim)
> EHLO mailout03.sul.t-online.com
> (output from exim)
> MAIL FROM:<k.oliver@???>
> (output from exim)
> RCPT TO:<News-request@???>
>
> (the part you type begins in caps)
> And post the bit after RCPT TO. someone will spot the flaw.
My dynamic IP address has changed so I used H=mailout02.sul.t-online.com
[194.25.134.17] F=<k.oliver@???>. Here is the output after RCPT TO
RCPT TO:<News-request@???>
>>> using ACL "acl_check_rcpt"
>>> processing "accept"
>>> check hosts = :
>>> host in ":"? no (end of list)
>>> accept: condition test failed
>>> processing "warn"
>>> check hosts = +relay_from_hosts
>>> no IP address found for host MAIN_RELAY_NETS (during SMTP connection from
mailout02.sul.t-online.com [194.25.134.17])
LOG: no IP address found for host MAIN_RELAY_NETS (during SMTP connection from
mailout02.sul.t-online.com [194.25.134.17])
>>> host in "127.0.0.1 : ::::1 : 127.0.0.1 : ::::1 : MAIN_RELAY_NETS"? no
(failed to find IP address for MAIN_RELAY_NETS)
>>> host in "+relay_from_hosts"? no (end of list)
>>> warn: condition test failed
>>> processing "deny"
>>> check domains = +local_domains
>>> server.windfinder.com
in "@:localhost:windfinder.com:server.windfinder.com"? yes
(matched "server.windfinder.com")
>>> server.windfinder.com in "+local_domains"? yes (matched "+local_domains")
>>> check local_parts = ^[.] : ^.*[@%!/|\'`#&?]
>>> News-request in "^[.] : ^.*[@%!/|'`#&?]"? no (end of list)
>>> deny: condition test failed
>>> processing "deny"
>>> check domains = !+local_domains
>>> server.windfinder.com in "!+local_domains"? no (matched "!
+local_domains" - cached)
>>> deny: condition test failed
>>> processing "accept"
>>> check local_parts = postmaster
>>> News-request in "postmaster"? no (end of list)
>>> accept: condition test failed
>>> processing "deny"
>>> check !acl = acl_whitelist_local_deny
>>> using ACL "acl_whitelist_local_deny"
>>> processing "accept"
>>> check hosts = ${if exists{/etc/exim4/local_host_whitelist}
{/etc/exim4/local_host_whitelist}{}}
>>> host in ""? no (end of list)
>>> accept: condition test failed
>>> processing "accept"
>>> check senders = ${if exists{/etc/exim4/local_sender_whitelist}
{/etc/exim4/local_sender_whitelist}{}}
>>> k.oliver@??? in ""? no (end of list)
>>> accept: condition test failed
>>> end of ACL "acl_whitelist_local_deny": implicit DENY
>>> check senders = ${if exists{/etc/exim4/local_sender_blacklist}
{/etc/exim4/local_sender_blacklist}{}}
>>> k.oliver@??? in ""? no (end of list)
>>> deny: condition test failed
>>> processing "deny"
>>> check !acl = acl_whitelist_local_deny
>>> using ACL "acl_whitelist_local_deny"
>>> processing "accept"
>>> check hosts = ${if exists{/etc/exim4/local_host_whitelist}
{/etc/exim4/local_host_whitelist}{}}
>>> host in ""? no (end of list)
>>> accept: condition test failed
>>> processing "accept"
>>> check senders = ${if exists{/etc/exim4/local_sender_whitelist}
{/etc/exim4/local_sender_whitelist}{}}
>>> k.oliver@??? in ""? no (end of list)
>>> accept: condition test failed
>>> end of ACL "acl_whitelist_local_deny": implicit DENY
>>> check hosts = ${if exists{/etc/exim4/local_host_blacklist}
{/etc/exim4/local_host_blacklist}{}}
>>> host in ""? no (end of list)
>>> deny: condition test failed
>>> processing "deny"
>>> check !acl = acl_whitelist_local_deny
>>> using ACL "acl_whitelist_local_deny"
>>> processing "accept"
>>> check hosts = ${if exists{/etc/exim4/local_host_whitelist}
{/etc/exim4/local_host_whitelist}{}}
>>> host in ""? no (end of list)
>>> accept: condition test failed
>>> processing "accept"
>>> check senders = ${if exists{/etc/exim4/local_sender_whitelist}
{/etc/exim4/local_sender_whitelist}{}}
>>> k.oliver@??? in ""? no (end of list)
>>> accept: condition test failed
>>> end of ACL "acl_whitelist_local_deny": implicit DENY
>>> check senders = ${if exists{/etc/exim4/local_sender_callout}
{/etc/exim4/local_sender_callout}{}}
>>> k.oliver@??? in ""? no (end of list)
>>> deny: condition test failed
>>> processing "deny"
>>> check !acl = acl_whitelist_local_deny
>>> using ACL "acl_whitelist_local_deny"
>>> processing "accept"
>>> check hosts = ${if exists{/etc/exim4/local_host_whitelist}
{/etc/exim4/local_host_whitelist}{}}
>>> host in ""? no (end of list)
>>> accept: condition test failed
>>> processing "accept"
>>> check senders = ${if exists{/etc/exim4/local_sender_whitelist}
{/etc/exim4/local_sender_whitelist}{}}
>>> k.oliver@??? in ""? no (end of list)
>>> accept: condition test failed
>>> end of ACL "acl_whitelist_local_deny": implicit DENY
>>> check recipients = ${if exists{/etc/exim4/local_rcpt_callout}
{/etc/exim4/local_rcpt_callout}{}}
>>> News-request@??? in ""? no (end of list)
>>> deny: condition test failed
>>> processing "accept"
>>> check domains = +local_domains
>>> server.windfinder.com in "+local_domains"? yes (matched "+local_domains" -
cached)
>>> check verify = recipient
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> routing News-request@???
>>> calling mailman_router router
>>> routed by mailman_router router
>>> ----------- end verify ------------
>>> accept: condition test succeeded
250 Accepted