Re: [exim] mail relay - null or empty Envelope Sender proble…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Todd Lyons
Dátum:  
Címzett: Amrahd Droflow
CC: exim-users
Tárgy: Re: [exim] mail relay - null or empty Envelope Sender problem...
On Thu, Aug 13, 2009 at 11:15 AM, Amrahd Droflow<exim.talk@???> wrote:
>
>
> On Wed, Aug 12, 2009 at 5:47 PM, Todd Lyons <tlyons@???> wrote:
>>
>> On Wed, Aug 12, 2009 at 3:27 PM, Amrahd Droflow<exim.talk@???>
>> wrote:
>> >
>> > acl_smtp_rcpt = check_recipient
>> > acl_smtp_auth = check_auth
>>
>> Want to see the two acl's above.
>>
>> > check_recipient:
>> > *...snip...*
>> >
>> > Please let me know any ideas you have... I can post more/specific parts
>> > of
>> > the config file too of course.
>>
>> Show what comes after the snip, and also show the check_auth acl.
>>
>> --
>> Regards...      Todd
>
> Hi Todd,
>
> Thanks for looking at this... here are the sections you wanted to see:
>
> ######################################################
> check_recipient:
>   accept  hosts   = +whitelist
>   endpass
>   accept  authenticated = *
>           encrypted = *
>   accept  condition = ${if eq{$interface_port}{587}{1}{0}}
>           endpass
>           message = SMTP AUTH required for port 587
>           authenticated = *
>   accept        senders        = /usr/local/etc/exim/relayers


Can it take just a filename as the argument? Shouldn't it be
something like this:

accept  senders = ${lookup{$host_name}lsearch\
                  {/some/file}{$value}{}}


I also don't really understand this one.

>   accept  message     = Invalid sender: $local_part@$domain :Blocked Bounce
> Message
>           senders     = :
>           log_message = FILTER BOUNCEBLOCK Blocked Bounce Message
>           endpass
>           verify      =
> recipient/callout=4m,maxwait=4m,connect=30s,use_sender


Why is it an accept? That whole endpass thing just never really made
a whole lot of sense to me. Every time I have a case where I need to
use it, I have to study the docs and figure it out step by step. It's
not a natural thought process, and for some reason the knowledge
doesn't stick around after I've implemented it. I'll just assume that
I'm getting old and just can't remember crap anymore...

> Thanks again for taking a look at this...


Hope you get it working soon.

-- 
Regards...      Todd