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:
zbyszek@???: smart_host=domain.tld auth_plain=^zbyszek@???^somepasswordhere
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 <zbyszek@???>: Unrouteable address
2006-11-17 21:42:38 H=localhost [127.0.0.1]:3132 I=[127.0.0.1]:25
F=<zbyszek@???> rejected RCPT <zbyszek@???>: 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