Re: [exim] how to confirm that user is sending mail from the…

Top Page
Delete this message
Reply to this message
Author: Lekshmi A. R
Date:  
To: exim-users
CC: dot, exim-users
Subject: Re: [exim] how to confirm that user is sending mail from the id, with which he authenticated himself
It is working if I give as

require verify        = sender
         condition     = ${if eq{$sender_address_local_part}{vinodgm} \
                          {yes} {no} }


instead of

require verify    = sender
          condition = ${if eq{$sender_address_local_part}{$authenticated_id} \
                           {yes} {no} }



where vinodgm is a valid user in the server.

I even tried

        server_condition = ${if eq{$sender_address_data}{$1} \
                           {${if pwcheck{$1:$2}{1}{0}}} {0} }


in the AUTHENTICATION CONFIGURATION. Please let me know how to proceed.

I changed xyzhub as follows.

xyzhub:
        driver = manualroute
        domains = xyz.co.in
        local_parts = lsearch;/etc/aliases
        address_data = $local_part
        route_data = <<one ip address>>
        transport = remote_smtp


Lekshmi A. R.

----- Original Message -----
From: Tony Finch
To: Lekshmi A. R
Cc: dot@??? ; exim-users@???
Sent: Tuesday, May 16, 2006 4:03 PM
Subject: Re: [exim] how to confirm that user is sending mail from the id,with which he authenticated himself


On Tue, 16 May 2006, Lekshmi A. R wrote:

> Our existing ROUTERS CONFIGURATION is as follows. [...] Can u explain
> how to modify this routers, so that even authorised senders will not be
> able to fake their adresses.


You need to change your hub router so that it checks for valid local parts
and sets the address data accordingly:

  xyzhub:
          driver = manualroute
          domains = xyz.co.in
  local_parts = lsearch;/etc/exim/local_part_list
  address_data = $local_part
          route_data = <<one ip address>>
          transport = remote_smtp


Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}

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