Re: [exim] [Mailman-Users] Mailman with exim4 on Debian Sarg…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Stephen Gran
Dátum:  
Címzett: exim-users, mailman-users
Tárgy: Re: [exim] [Mailman-Users] Mailman with exim4 on Debian Sarge
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.
--
--------------------------------------------------------------------------
|  Stephen Gran                  | This is Unix we're talking about,       |
|  steve@???             | remember.  It's not supposed to be nice |
|  http://www.lobefin.net/~steve | for the applications programmer.   --   |
|                                | Matthew Danish on debian-devel          |

--------------------------------------------------------------------------