I'm running exim 4.72 to service a small number of users (less than 50) and
to relay mail from a few groupware apps running on one particular machine
(which I'll call Samson).

Samson sends email 'from' quite a few different addresses. It can have any
number of group projects, and each group project has a name, and the names
become part of a cluster of associated email accounts, such as "
[email protected]" and "[email protected]" and "
[email protected]".

I have samson's FQDN, ip address, and the verizon-generated FQDN for the
public ip address (see below) all added to my relay-from-hosts file, which
then looks something like this:

11.111.111.1
static-11-111-111-1.prvdri.fios.verizon.net
samson.example.com

The problem I'm having is that mail from samson is being rejected with
verification errors. I thought I had exim configured to relay from samson
correctly, but I've obviously done something wrong.

I'm a n00b. Not going to pretend I know what's wrong. Here's an example
rejection, from my mainlog:

2011-04-25 11:55:27 H=static-11-111-111-1.prvdri.fios.verizon.net (
samson.free-conversant.com) [11.111.111.1] F=<[email protected]>
rejected RCPT <[email protected]>: Sender verify failed


My exim.cf has this:

Under the Main Configuration Settings:

hostlist   relay_from_hosts = lsearch;/etc/exim/relay-from-hosts


my acl_check_rcpt contains (among lots of other things):

acl_check_rcpt:

  accept  hosts = :
          control = dkim_disable_verify

  deny    message       = Restricted characters in address
          domains       = +local_domains
          local_parts   = ^[.] : ^.*[@%!/|]

  deny    message       = Restricted characters in address
          domains       = !+local_domains
          local_parts   = ^[./|] : ^.*[@%!] : ^.*/\\.\\./

  deny    condition     = ${if eq {$sender_address_local_part}{postmaster} \
                          {true}{false}}
          sender_domains = +local_domains

  deny    condition     = ${if eq {$sender_address_local_part}{nobody} \
                          {true}{false}}
          sender_domains = +local_domains

  accept  local_parts   = postmaster
          domains       = +local_domains

  require verify        = sender

  accept  hosts         = +relay_from_hosts
          control       = submission
          control       = dkim_disable_verify

  accept  authenticated = *
          control       = submission/sender_retain
          control       = dkim_disable_verify
          add_header    = X-Authenticated-Sender: ${sender_address}

  require message = relay not permitted
          domains = +local_domains : +relay_to_domains

  require verify = recipient

  accept

(Sorry if this is hard to follow.)

Can anyone help me figure this out?

Seth
-- 
## 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/

Reply via email to