sk8r-365 wrote:
> Whoa!, don't leave so quickly. Post those relevant files / configs with
> the private stuff munged for our sake .. I've been lurkering your very
> interesting thread.
Ok ok ;-)
1. First you must write passwd.client according to the examples given there.
Because the password is written in clear text, make the file rw for root
only.
2. In the email-addresses (according to example) you should write
user:
useremail@yourisp.com.
3. Now run dpkg-reconfigure exim4-config and answer the following questions
split in files: No
send over smarthost/fetchmail
E-Mail-Name: Name of your machine or DynDNS/FQDNS (what you have)
IP Address incomingsmtp 127.0.0.1
further domains:machinename (E-Mail-name);localhost
relay: keep this EMPTY !! (danger of spammers)
address of smarthost:the smtp-server of your isp (here must <!> stand
the real servername, try out with 'host smtp.yourisp.com'
and NOT the alias)
Hide local E-Mail-Name: Yes
visible domainname: "yourisp.com"
minimize DNS: this is optional
local email: default choice should be mbox /var/mail
[exim4 restarts now]
4. If you have an isp, your exim4 should be function as a form of
mail-client; so you must edit your exim4.conf.template and there uncomment
the client-authentication that begins with
# These examples below are the equivalent for client side authentication. at
the end of the document.
5. Then search for a line in the "transport/30_exim4-config_remote_smtp
configuration" which says #hosts_avoid_tls = * (there are two
hosts_avoid.... lines!) You have to uncomment both and setting 'localhost'
for '*'.
6. Then you make a new file 'exim4.conf.localmacros' and write in
AUTH_CLIENT_ALLOW_NOTLS_PASSWORDS = true.
7. Now you run update-exim4.conf (no error messages should be come here)
8. Run /etc/init.d/exim4 reload
9. Rund /etc/init.d/exim4 restart
Now you should done it. This is the promised tutorial - in bad English -
from a real debain newbie! Have fun!
Jens
--
Debian GNU/Linux 4.0 stable