Re: exim getting the from addresses right
"Harry" == Harry Putnam <reader@newsguy.com> writes:
Harry> So my exim settings on these points look like:
Harry> qualify_domain = newsguy.com local_domains =
Harry> localhost:newsguy.com:local.lan:dslextreme.com
Harry> local_domains_include_host = true
Harry> local_domains_include_host_literals = true [...]
Harry> host_accept_relay = 127.0.0.1 : ::::1 : 192.168.0.0/24
Harry> [...]
Harry> qualify_domain = newsguy.com
Harry> local_domains = localhost:newsguy.com:local.lan:dslextreme.com
Harry> local_domains_include_host = true
Harry> local_domains_include_host_literals = true
Harry> [...]
Harry> host_accept_relay = 127.0.0.1 : ::::1 : 192.168.0.0/24
Harry> [...]
I set up exim a few weeks ago, so take my newbie 'advice' with a pinch
of salt...
Harry> The rest doesn't really look like it has bearing on the
Harry> problem I'm about to describe:
Harry> If I say `echo "something"|mail -v -s "test of exim"
Harry> reader@newsguy.com' The verbose information shows the mail
Harry> is immediately put in /var/mail/reader It doesn't actually
Harry> go to the smtp server at newsguy.
Harry> Ditto if I say reader@dslextreme.com (also a real address).
Since you put newsguy.com and dslextreme.com as local domains that is
what I'd expect.
If you want to change email addresses when sending mail outside your
little LAN you probably want to look at /etc/email-addresses (the
standard Debian install should have a rewrite rule) and add rewrites
there (reader -> reader@newsguy.com and so on).
I hope I'm big of some help....
Cheers!
Shyamal
Reply to: