Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #231045 > unrolled thread

debian exim4 smarthost and relay

Started byHarry Putnam <reader@newsguy.com>
First post2021-01-24 20:20 +0100
Last post2021-01-24 20:50 +0100
Articles 5 — 4 participants

Back to article view | Back to linux.debian.user


Contents

  debian exim4 smarthost and relay Harry Putnam <reader@newsguy.com> - 2021-01-24 20:20 +0100
    Re: debian exim4 smarthost and relay David Wright <deblis@lionunicorn.co.uk> - 2021-01-24 20:30 +0100
    Re: debian exim4 smarthost and relay Reco <recoverym4n@enotuniq.net> - 2021-01-24 20:30 +0100
      Re: debian exim4 smarthost and relay Harry Putnam <reader@newsguy.com> - 2021-01-25 01:50 +0100
    Re: debian exim4 smarthost and relay Brian <ad44@cityscape.co.uk> - 2021-01-24 20:50 +0100

#231045 — debian exim4 smarthost and relay

FromHarry Putnam <reader@newsguy.com>
Date2021-01-24 20:20 +0100
Subjectdebian exim4 smarthost and relay
Message-ID<BAT5w-6Cp-13@gated-at.bofh.it>
I hope this is the correct group for debian exim4 questions.  I'm sure
someone will point me elsewhere if not

 - Setup: New install of debian 10, in VBox vm attempting to get exim4
   working.
 - Internet host with no recognized or dns resolvable name, or domain
 - Receives dhcp address, but made mostly permanent by router
   capabilities

When editing a smarthost line in udpate-exim4.conf.conf
How does one enter a server that requires ssl 465.

Is adding 465 port all that is necessary? ..like

     dc_smarthost='smtp.server.com:465'

I've also seen two colons used while googling on this:

    dc_smarthost='smtp.server.com::465'

Which if any is correct?

-------       -------       ---=---       -------       -------

If one uses the port number in update-exim4.conf.conf is it also
required in passwd.client?

   smtp.server.com:465:user@some.domain:SECRETpw

And again .. one or two colons? Or is this not required?

-------       -------       ---=---       -------       -------
My googling has also caused some confusion to me about
editing something for smtp transport:

Will it also be necessary to edit something into smtp transport
regarding the use of ssl 465?  If so, can anyone show an example of
how that is done?

[toc] | [next] | [standalone]


#231046

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2021-01-24 20:30 +0100
Message-ID<BATfc-6FF-23@gated-at.bofh.it>
In reply to#231045
On Sun 24 Jan 2021 at 14:10:16 (-0500), Harry Putnam wrote:
> I hope this is the correct group for debian exim4 questions.  I'm sure
> someone will point me elsewhere if not
> 
>  - Setup: New install of debian 10, in VBox vm attempting to get exim4
>    working.
>  - Internet host with no recognized or dns resolvable name, or domain
>  - Receives dhcp address, but made mostly permanent by router
>    capabilities
> 
> When editing a smarthost line in udpate-exim4.conf.conf
> How does one enter a server that requires ssl 465.
> 
> Is adding 465 port all that is necessary? ..like
> 
>      dc_smarthost='smtp.server.com:465'
> 
> I've also seen two colons used while googling on this:
> 
>     dc_smarthost='smtp.server.com::465'
> 
> Which if any is correct?

Two colons—dpkg-reconfigure exim4-config should tell you that, thus:

 ┌───────────────────────┤ Mail Server configuration ├───────────────────────┐  
 │ Please enter the IP address or the host name of a mail server that this   │  
 │ system should use as outgoing smarthost. If the smarthost only accepts    │  
 │ your mail on a port different from TCP/25, append two colons and the      │  
 │ port number (for example smarthost.example::587 or                        │  
 │ 192.168.254.254::2525). Colons in IPv6 addresses need to be doubled.      │  

> If one uses the port number in update-exim4.conf.conf is it also
> required in passwd.client?
> 
>    smtp.server.com:465:user@some.domain:SECRETpw
> 
> And again .. one or two colons? Or is this not required?

Not required. I presume a password applies per site rather than per port.

> My googling has also caused some confusion to me about
> editing something for smtp transport:
> 
> Will it also be necessary to edit something into smtp transport
> regarding the use of ssl 465?  If so, can anyone show an example of
> how that is done?

I'm not sure what specific location you mean by smtp transport.
I've used various ports at times, 25, 465, 587, and aliases for 25,
but all made in those two files mentioned.

Cheers,
David.

[toc] | [prev] | [next] | [standalone]


#231047

FromReco <recoverym4n@enotuniq.net>
Date2021-01-24 20:30 +0100
Message-ID<BATfc-6FF-25@gated-at.bofh.it>
In reply to#231045
	Hi.

On Sun, Jan 24, 2021 at 02:10:16PM -0500, Harry Putnam wrote:
> When editing a smarthost line in udpate-exim4.conf.conf
> How does one enter a server that requires ssl 465.

dc_smarthost="your-smarthost::465"

See update-exim4.conf(8).


> If one uses the port number in update-exim4.conf.conf is it also
> required in passwd.client?
> 
>    smtp.server.com:465:user@some.domain:SECRETpw

No, because passwd.client is interpreted as colon-separated triplet.
String above will be interpreted as "465" as username and
"user@some.domain:SECRETpw" as a password.


> Will it also be necessary to edit something into smtp transport
> regarding the use of ssl 465?

No, not in Debian. Debian's exim should use TLS for mail exchange
without any configuration providing that your smarthost advertises it.

Advertising TLS on your MTA - that does require some configuration
indeed - exim4_exim_crt(5), but that's redundant in your setup.

Reco

[toc] | [prev] | [next] | [standalone]


#231060

FromHarry Putnam <reader@newsguy.com>
Date2021-01-25 01:50 +0100
Message-ID<BAYeS-1u6-5@gated-at.bofh.it>
In reply to#231047
> Reco <recoverym4n@enotuniq.net> writes:
 
> David Wright <deblis@lionunicorn.co.uk> writes:

> Brian <ad44@cityscape.co.uk> writes:

Thanks to all for the succinct and helpful answers

Sometimes googling excessively can confuse me a bit.

[toc] | [prev] | [next] | [standalone]


#231049

FromBrian <ad44@cityscape.co.uk>
Date2021-01-24 20:50 +0100
Message-ID<BATyx-6Mj-1@gated-at.bofh.it>
In reply to#231045
On Sun 24 Jan 2021 at 14:10:16 -0500, Harry Putnam wrote:

> I hope this is the correct group for debian exim4 questions.  I'm sure
> someone will point me elsewhere if not
> 
>  - Setup: New install of debian 10, in VBox vm attempting to get exim4
>    working.

For 99% of installations:

  dpkg-reconfigure exim4-comfig

as root.

-- 
Brian.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web