My Postfix server wont allow SMTP from my web server (running RoundCube webmail) which happens to be on the same network / subnet as my Postfix mail server. My mail server is running only Postfix & Dovecot while my web server has Apache, RoundCube, & PostgreSQL installed:
mail = 192.168.0.200/24 web = 192.168.0.201/24 My Postfix configuration is set to allow anyone in 'mynetworks' to send mail so I don't understand why my web server gets an error (SMTP Error (250) Authentication Failure). Below is my /etc/postfix/mynetworks file contents: [r...@mail ~]# cat /etc/postfix/mynetworks 127.0.0.0/8 192.168.0.0/24 When I run Postfix in debug mode for only the I.P. of my web server, I really don't understand what I see in the logs. I can see the webmail client connecting (TLS) & then announce a HELO but it doesn't recognize or like the HELO value and appears to reset the connection and fail. I've tried disabling TLS in my Postfix configuration and I get the same results. I then configured a mail client (Thunderbird) to send / receive mail on the same network / subnet as both servers and it sends perfect. It's only with webmail (RoundCube) that I have this issue. I understand that Postfix is working fine but I'm asking for help using Postfix to understand what it doesn't like about my RoundCube or web server. When I login to webmail, it does render all IMAP folders / messages perfect so Dovecot appears to be happy and doing it's thing. I just can't send any emails from webmail only. I'm posting my 'postconf -n' output below: alias_database = $alias_maps alias_maps = hash:/etc/postfix/aliases bounce_queue_lifetime = 1d command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/lib/postfix debug_peer_list = 192.168.0.201 delay_warning_time = 4h home_mailbox = mail/ inet_interfaces = all inet_protocols = ipv4 mail_owner = postfix manpage_directory = /usr/share/man message_size_limit = 20480000 mydestination = $myhostname, $mydomain, mail.$mydomain mydomain = iamghost.org myhostname = mail.iamghost.org mynetworks = $config_directory/mynetworks myorigin = $mydomain newaliases_path = /usr/bin/newaliases queue_directory = /var/spool/postfix recipient_delimiter = + relayhost = sample_directory = /etc/postfix/sample sendmail_path = /usr/sbin/sendmail smtp_helo_timeout = 60s smtp_tls_session_cache_database = btree:/var/lib/postfix/smtp_scache smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination, reject_non_fqdn_recipient, reject_unknown_recipient_domain, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname, reject_rbl_client zen.spamhaus.org, reject_rbl_client bl.spamcop.net, check_client_access hash:/etc/postfix/client_access smtpd_sender_restrictions = permit_mynetworks smtpd_tls_cert_file = /etc/ssl/certs/mail.crt smtpd_tls_key_file = /etc/ssl/private/mail.key smtpd_tls_loglevel = 1 smtpd_tls_security_level = may smtpd_tls_session_cache_database = btree:/var/lib/postfix/smtpd_scache unknown_local_recipient_reject_code = 450 Can anyone please assist me in understanding what is causing this issue between Postfix and RoundCube connections? I've got the output of my debug logs for 192.168.0.201 (web server) but don't want to post them unless asked so I'm omitting that until someone requests to see it. Any info or help is greatly appreciated!