On Tue, 2022-07-19 at 17:37 +0200, rudu wrote: > Hi, > > I'm at a lost here trying to configure exim4 on a laptop running > bookworm as a smarthost relay to my email provider. > I already made it working on my desktop machine (bookworm also) on the > same local network though I had difficulties too at the time. > All I'm trying to do is to send myself a mail in a terminal. > > To make it quick and with the help of the config files I found on my > desktop, I did : > > # dpkg-reconfigure exim4-config # smtpauth.provider.fr::465
Do you definitely need port 465, not 587? > # vi /etc/exim4/passwd.client # putting the credentials here The steps below aren't something I've needed to do > # vi /etc/exim4/exim4.conf.localmacros # MAIN_TLS_ENABLE = 1 > # /usr/share/doc/exim4/examples/exim-gencert # generating exim.crt > and exim.key files in /etc/exim4/ My notes for the steps I did when setting up exim are... Install exim4, ca-certificates and s-nail. Run 'dpkg-reconfigure exim4-config' and answer questions... General type of mail configuration: "mail sent by smarthost; received via SMTP or fetchmail" System mail name: "yxit.co.uk" IP-addresses to listen on for incoming SMTP connections: "" Other destinations for which mail is accepted: "home" Machines to relay mail for: "192.168.0.0/22" IP address or host name of the outgoing smarthost: "mail.myisp.co.uk::587" Hide local mail name: "Yes" Visible domain name for local users: "yxit.co.uk" Keep number of DNS-queries minimal (Dial-on-Demand)? "No" Delivery method for local mail: "Maildir format in home directory" Split configuration into small files?: "Yes" Edit /etc/exim4/passwd.client to add mail.myisp.co.uk:usen...@myisp.co.uk:password -- Tixy