Ci sarà un solo utente ad inviare messaggi ad una sola casella email.
Cercavo una guida che mi rendesse le cose semplici, ma mi fermo già alle prime righe
Codice: Seleziona tutto
sudo mkdir /etc/mail/authinfo
sudo chmod -R 700 /etc/mail/authinfo
cd /etc/mail/authinfo
Codice: Seleziona tutto
-bash: cd: /etc/mail/authinfo: Permission denied
Codice: Seleziona tutto
l$ ls -all
total 232
drwxr-sr-x 8 smmta smmsp 4096 Feb 22 11:40 .
drwxr-xr-x 115 root root 4096 Feb 22 12:07 ..
-rw------- 1 root root 4265 Feb 22 11:37 access
-rw-r----- 1 smmta smmsp 12288 Feb 22 11:37 access.db
-rw-r--r-- 1 root root 281 Dec 9 2021 address.resolve
lrwxrwxrwx 1 root smmsp 10 Feb 22 11:37 aliases -> ../aliases
-rw-r----- 1 smmta smmsp 12288 Feb 22 11:37 aliases.db
drwx--S--- 2 root smmsp 4096 Feb 22 12:04 authinfo
-rw-r--r-- 1 root root 3241 Feb 22 11:37 databases
-rw-r--r-- 1 root root 5659 Dec 9 2021 helpfile
-rw-r--r-- 1 root smmsp 31 Feb 22 11:37 local-host-names
drwxr-sr-x 2 smmta smmsp 4096 Feb 22 11:37 m4
-rwxr-xr-- 1 root smmsp 10034 Feb 22 11:37 Makefile
drwxr-xr-x 2 root root 4096 Feb 22 11:37 peers
drwxr-xr-x 2 root smmsp 4096 Dec 9 2021 sasl
-rw-r--r-- 1 root smmsp 64140 Feb 22 11:37 sendmail.cf
-rw-r--r-- 1 root root 12235 Feb 22 11:37 sendmail.conf
-rw-r--r-- 1 root smmsp 4066 Feb 22 11:37 sendmail.mc
-rw-r--r-- 1 root root 148 Dec 9 2021 service.switch
-rw-r--r-- 1 root root 179 Dec 9 2021 service.switch-nodns
drwxr-sr-x 2 smmta smmsp 4096 Feb 22 11:37 smrsh
-rw-r--r-- 1 root smmsp 44573 Feb 22 11:37 submit.cf
-rw-r--r-- 1 root smmsp 2383 Feb 22 11:37 submit.mc
drwxr-xr-x 2 smmta smmsp 4096 Feb 22 11:37 tls
-rw-r--r-- 1 root smmsp 0 Feb 22 11:37 trusted-users
Codice: Seleziona tutto
sudo nano /etc/mail/authinfo/smtp-auth
Ho provato su una VM debian 12 e questo problema non c'è.