In the past I had no problems sending and receiving mails on my virtual domains I think all got started after I upgraded from Jessie to Buster but Im not sure.
Here is my postfix conf:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
readme_directory = no
# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
inet_interfaces = all
inet_protocols = all
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = ns6707031.ip-43-45-56.eu, localhost
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
mailbox_size_limit = 0
recipient_delimiter = +
virtual_alias_maps = hash:/etc/postfix/virtual
sender_bcc_maps = hash:/etc/postfix/bcc
home_mailbox = Maildir/
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
allow_percent_hack = no
smtpd_sasl_authenticated_header = yes
Seems to be normal to me, my other domains also dont receive mails but they can send… I didnt try Squirrel mail though, is it roundcube related or postfix? I would be glad for any hints!
Have you checked the “mail.log” file for any clues as to why you are not receiving email?
*** BTW: your subject should be changed as Roundcube itself is an email clients and the issue is at the server level ***
Does your provider block port 25 traffic either inbound or outbound or both?
SMTP which is the protocol for which email travels between servers, requires port 25 to be open and accepting email. If your provider is blocking port 25 traffic at the network level then you’ll need to reach out to them to unblock you.
Have you checked your MX record is valid? If it’s not, mail won’t route to the correct server and therefore not get received (though technically mail can also use an A record of the domain, however having a valid MX record is the proper way of routing mail).
Need more assistance, want some quick answers? I’m available for consulting, troubleshooting and solution execution for a fair and affordable introductory rate exclusive to Virtualmin users… Drop me a PM on the forums or visit https://tpnassist.com to request help.
*** Affordable, Trusted, Professional, Server Assistance – https://tpnassist.com ***
I dont know if this command was correct or sufficient… I did change some numbers like 123456… 54533 for security reasons. It looks like port 25 is listening…
Removed in this context means removed from the queue, i.e. the queue that holds messages waiting to be delivered and managed by the Queue Manager (postfix/qmgr).
I created the mailbox myself, it is still there and I can login to roundcube… The telnet 25 results I think you can also see from the netstats output. I made a check from https://mxtoolbox.com/ and www.wormly.com they all look good.
I’ve just checked my procmailrc file (on a working system) - it’s identical to your.
I’m a little stumped what to suggest further tbh. I think your problem lies with procmail - postfix is receiving the smtp handshake\traffic and putting the email in the queue and qmgr is passing it on to procmail - it just goes awol then.
Maybe do “Re-Run Install Wizard” - perhaps someone can comment on the effects of this?