Hello,

I am looking for advice. After reading the docs, I found that I can use 
different smart hosts based on the sending email id.

So I created smtp_users file with the following content:

[EMAIL PROTECTED]:   smart_host=domain.tld [EMAIL PROTECTED]

and added two more entries like that.

I only accept connections from localhost but I do use

require verify        = sender

2006-11-17 21:42:38 H=localhost [127.0.0.1]:3132 I=[127.0.0.1]:25 sender 
verify fail for <[EMAIL PROTECTED]>: Unrouteable address
2006-11-17 21:42:38 H=localhost [127.0.0.1]:3132 I=[127.0.0.1]:25 
F=<[EMAIL PROTECTED]> rejected RCPT <[EMAIL PROTECTED]>: Sender 
verify failed

Notice this error is generated at the localhost level. How do I make sure 
sender is verified then?

Some other config

hostlist   relay_from_hosts = 127.0.0.1

smart_route:
driver = manualroute
domains = !+local_domains
transport = remote_smtp
     route_list = "* 
${extract{smart_host}{${lookup{$sender_address}lsearch{/etc/exim/smtp_users}{$value}fail}}}"
no_more

authentication to smarhost:

plain:
      driver = plaintext
      public_name = PLAIN
      client_send = 
"${extract{auth_plain}{${lookup{$sender_address}lsearch{/etc/exim/smtp_users}{$value}fail}}}"

When I turn off sender verification I get relay not permitted from other 
servers.

Only when I turn off sender verification I am able to use domain.tld setup 
where I think they have qmail as the mail server (and they accept my email 
relayed from exim at localhost). When I tried the same with my main FBSD 
server, it wouldn't allow me to relay through it.

Would someone have any suggestion how to solve this?

Many thanks!

-- 
Zbigniew Szalbot

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

Reply via email to