Re: [Exim] SMTP MAIL FROM:

Página Inicial
Delete this message
Reply to this message
Autor: Walt Reed
Data:  
Para: Jerry Van Brimmer
CC: exim
Assunto: Re: [Exim] SMTP MAIL FROM:
On Tue, Aug 03, 2004 at 09:25:05PM -0700, Jerry Van Brimmer said:
> I'm trying to get Exim set up to to send mail to/through my DSL ISP, which is
> Verizon.

<snip>
> Why does Exim insert <root@???> in the SMTP>>MAIL FROM: field? That
> seems to be the whole problem. How do I make Exim insert jerryvb@???
> there, which is my real Verizon email address?


There are several issues.

First, you should probably use a rewrite rule:

######################################################################
#                      REWRITE CONFIGURATION                         #
######################################################################


# This rewriting rule is particularly useful for dialup users who
# don't have their own domain, but could be useful for anyone.
# It looks up the real address of all local users in a file

begin rewrite

*@lightstar.net    ${lookup{$1}lsearch{/etc/email-addresses}\
                                                {$value}fail} frFs
##########


Your /etc/email-addresses would contain lines like:
root: jerryvb@???

See section 31 of the exim spec for more info.

The second thing you are going to need to do is use SMTP AUTH with
Verizon, and all your outbound mail should go through VOL.

Your smarthost router would look like:

smarthost:
driver = domainlist
transport = verizon_smtp
domains = ! +local_domains
# Let's not send mail to ourselves due to broken DNS servers
ignore_target_hosts = 127.0.0.1/8
route_list = "* outgoing.verizon.net bydns_a"

Your Transport:

# This sends via Verizon's smarthost
verizon_smtp:
driver = smtp
dns_qualify_single = false
hosts_nopass_tls = *
gethostbyname
hosts = outgoing.verizon.net
hosts_require_auth = outgoing.verizon.net


And finally in your authenticators:
login:
    driver = plaintext
    public_name = LOGIN
    client_send = : YourVOLusername : YourPassword


Hope this helps...