/srv/irclogs.ubuntu.com/2021/12/29/#ubuntu-server.txt

=== genii is now known as genii-core
=== CartmanBrah is now known as Hash
=== Hash is now known as SemperUbiSubUbi
=== SemperUbiSubUbi is now known as Hash
=== alchemist_ is now known as alchemist
=== genii-core is now known as genii
fooIf I want to force ssh keys and no passwords, I think I need PasswordAuthentication no in /etc/ssh/sshd_config - right?21:51
fooPretty sure I'm reading that properly21:51
geniiAuthenticationMethods publickey password  to AuthenticationMethods publickey21:59
foogenii: ah! thanks21:59
foohttps://help.ubuntu.com/community/AutomaticSecurityUpdates -> I just set this up for the first time, using the unattended-upgrades method. On a ubuntu server. Is there a way to "test this" ? 22:00
geniisudo unattended-upgrades -d22:17
foogenii: thank you. :) 22:17
geniiGlad to assist22:18
fooI have a simple system running a dns server to stop ads. But this system does not have mail setup. What's the simplest email set up to have it be able to email me (so I can get emails from unattended-upgrades). I installed nullmailer but think I need an SMTP server?22:19
fooI have mailgun, maybe I can set up a new domain there and use that... but... wondering if there is another way22:19
geniiI use sendmail so that applications requiring an MTA accept that one is installed and don't install a fullblown postfix or exim422:21
JanCI think nullmailer also satisfies that requirement?22:21
fooJanC: I thought so too, maybe I set up the hostname wrong. 22:22
* foo investigates22:22
JanCProvides: mail-transport-agent22:22
JanCapplications that need an MTA should depend on mail-transport-agent, and as nullmailer provides that, it should be enough22:23
JanCI don't know how it talks to remote mail servers though...22:24
foosmtp: Failed: Connect failed / Sending failed: Host not found22:24
foois what I'm getting in syslog from a quick echo hi|mail me@mydomain.com22:24
fooThis is a home system, so I don't really have a FQDN that maps to it.22:25
geniiIf you fiddle with your router to forward SMTP on port 25 ( and maybe POP if it's able to use that) you can use the outward facing IP22:36
geniiHm, Debian nullmailer page seems to indicate it only relays to an external SMTP machine22:39
foogenii: yeah, I just set it up to work with mailgun. :) I used my mailgun sandbox 22:39
* foo makes notes22:39

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!