Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users

Disabling sender verification for a single host

 

 

exim users RSS feed   Index | Next | Previous | View Threaded


ml+exim at wzff

Dec 8, 2011, 6:17 PM

Post #1 of 3 (306 views)
Permalink
Disabling sender verification for a single host

Hello,

I tried disabling sender verification for one single IP address, but it doesn't
work as expected:

require verify = sender
hosts = 127.0.1.3

will reject all other mails, while adding an exclamation mark in front of the IP
will reject the mails from this particular IP. What am I missing?

Best regards,

Moritz

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


jgh at wizmail

Dec 8, 2011, 6:34 PM

Post #2 of 3 (299 views)
Permalink
Re: Disabling sender verification for a single host [In reply to]

On 2011-12-09 02:17, ml+exim [at] wzff wrote:
> I tried disabling sender verification for one single IP address, but it doesn't
> work as expected:
>
> require verify = sender
> hosts = 127.0.1.3
>
> will reject all other mails, while adding an exclamation mark in front of the IP
> will reject the mails from this particular IP. What am I missing?

You're requiring that all somethings (RCPT smtp commands?)
a) sender-verify
and
b) come from that host

How about inverting your logic -

deny the something when
a) the host isn't that one
and
b) fails to verify-sender


Cheers,
Jeremy

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


ml+exim at wzff

Dec 8, 2011, 6:57 PM

Post #3 of 3 (300 views)
Permalink
Re: Disabling sender verification for a single host [In reply to]

Hello Jeremy,

On Fri, Dec 09, 2011 at 02:34:47 +0000, Jeremy Harris wrote:
> You're requiring that all somethings (RCPT smtp commands?)
> a) sender-verify
> and
> b) come from that host
>
> How about inverting your logic -
>
> deny the something when
> a) the host isn't that one
> and
> b) fails to verify-sender


Alright, I wasn't aware that it's a logical and :-)

Just to make sure I don't make a stupid mistake again, would the following be
correct?

deny host = ! 127.0.1.3
! verify = sender

It seems to work at first glance.


Thanks,

Moritz

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

exim users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.