• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Email Server

Spuntolab

New Pleskian
Ciao, voglio usare Plesk per gestire il mio server di posta..

nelle impostazioni / impostazioni del server / ho fornito l'hostname (email.domain.it);
nelle impostazioni / impostazioni del server di posta / ho abilitato il servizio di posta

Ho installato il client/dominio (domain.it) e all'interno ho creato la mail [email protected]
quando entro in webmail.dominio.it posso accedere ma se invio o devo ricevere email non arriva nulla, né in entrata né in uscita...

Su Cloudflare ho impostato i campi:
A => email => IP => Nessun proxy;
A => posta => IP => Nessun proxy;
A => webmail => IP => Nessun proxy
TXT => dominio => spf per Outlook e Gmail;
TXT => _acme-challenge => SSL cod

Nonostante tutto questo continuo a non ricevere posta e se invio mail mi dà il messaggio "posta inviata con successo" ma non arriva a destinazione.
 

Attachments

  • plesk impostazioni posta.png
    plesk impostazioni posta.png
    36.7 KB · Views: 7
hello @Spuntolab

could you please explain, you did not receive emails to [email protected] which were send from gmail and outlook.com ?

or you're trying to send mail from [email protected] to gmail and outlook ?

not sure what does it mean:
TXT => dominio => spf per Outlook e Gmail;

as I can see SPF for you domain configured as below:
> nslookup -type=TXT dominio.it
Server: rs1.plesk.ru
Address: 10.55.253.101

Non-authoritative answer:
dominio.it text =

"v=spf1 include:spf.dondominio.com"

can't say, that spf.dondominio.com configured corectly:
> nslookup -type=TXT spf.dominio.it
Server: rs1.plesk.ru
Address: 10.55.253.101

Non-authoritative answer:
spf.dominio.it canonical name = hostingsrv12.dondominio.com

dondominio.com
primary name server = ns1.dondominio.com
responsible mail addr = dnsadmin.dondominio.com
serial = 2022040700
refresh = 10800 (3 hours)
retry = 1800 (30 mins)
expire = 691200 (8 days)
default TTL = 3600 (1 hour)

in case self-hosted MTA used, SPF looks like below (this is plesk defaults):
> nslookup -type=TXT mydomain.tld
Server: rs1.mydomain.tld
Address: 172.16.253.101

Non-authoritative answer:
mydomain.tld text =

"v=spf1 +a +mx +a:mydomain.tld -all"

So, I'd suggest you to re-check SPF settings (or probably temporary remove this record).
Also please investigate /var/log/maillog, it should contain more details.

or you can install free Plesk extension called Mail Log Browser, so it will be possible do that without having SSH to the server.
 
se invio una email con la mia email [email protected] da webmail generi un messaggio di invio andato a buon fine ma l'email non arriva al destinatario ... se qualcuno mi manda una email sulla mia email [email protected] io non ricevere l'e- mail

You can see the dns on the screenshot...
 

Attachments

  • dns sitoalkilo.png
    dns sitoalkilo.png
    49.9 KB · Views: 12
can't say, that spf.dondominio.com configured corectly:
> nslookup -type=TXT spf.dominio.it

If you use the correct domain for the lookup it looks much better :)
Code:
# host -t TXT spf.dondominio.com
spf.dondominio.com descriptive text "v=spf1 ip4:37.152.88.0/24 ip4:31.214.176.0/25 ~all"
 
yes, you are right. damn copy-past :confused:

domain dominio.it resolves to 65.254.244.176, so the SPF looks fine for the domain dominio.it.

for the sitoalkilo.it there's a warning that the lookup's more than recommended (11 of 10),
so probably it make sense to remove ' +a:mail.sitoalkilo.it ' , but in general it looks fine too.

@Spuntolab , do you see any errors in /var/log/maillog ?
 
Dopo una ricerca ho scoperto che il mio servizio Google Cloud ha la porta 25 bloccata per motivi di sicurezza, quindi ho installato Sendgrid che, utilizzando la porta 2525, faccio tra server smtp per le email, il problema ora è che posso inviare email ma non posso recuperarli.
 
Plesk allows to make MTA listen on port alternative 587 (see screenshot below)
1650529568675.png
but probably you should contact you provider to allow inbound connections for SMTP
 
Back
Top