Hello fellow forgers, Before we begin these are the versions that I'm using on my CentOS machine. postfix-2.6.6-6.el6_5.x86_64 squirrelmail-1.4.22-3.el6.noarch dovecot-2.0.9-7.el6.x86_64 I have a problem with my postfix server. I cannot send any mail. I tried also from the shell, but it won't work. If I do it on squirrelmail, after a good couple of minutes it will reply back with: ERROR: Message not sent. Server replied: I'm suspecting a dns misconfiguration although I'm not sure 100%. postconf -n Code: mynetworks_style = host mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp local_destination_recipient_limit = 300 local_destination_concurrency_limit = 5 recipient_delimiter=+ header_checks = regexp:/etc/postfix/header_checks smtpd_banner = $myhostname myhostname = android-e54a0034eb272fa9.jupiter mydomain = jupiterescu.com myorigin = $mydomain home_mailbox = mail/ mynetworks = 127.0.0.0/8, 192.168.10.0/24 inet_interfaces = all mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain smtpd_sasl_auth_enable = yes smtpd_sasl_type = cyrus smtpd_sasl_security_options = noanonymous broken_sasl_auth_clients = yes smtpd_sasl_authenticated_header = yes smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks smtpd_tls_auth_only = no smtp_use_tls = no smtpd_use_tls = no smtp_tls_note_starttls_offer = no smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem smtpd_tls_received_header = yes smtpd_tls_session_cache_timeout = 3600s tls_random_source = dev:/dev/urandom [root@CentOS ~]# nano /etc/postfix/main.cf [root@CentOS ~]# postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 header_checks = regexp:/etc/postfix/header_checks home_mailbox = mail/ html_directory = no inet_interfaces = all inet_protocols = all local_destination_concurrency_limit = 5 local_destination_recipient_limit = 300 mail_owner = postfix mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain mydomain = jupiterescu.com myhostname = android-e54a0034eb272fa9.jupiter mynetworks = 127.0.0.0/8, 192.168.10.0/24 mynetworks_style = host myorigin = $mydomain newaliases_path = /usr/bin/newaliases.postfix queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES recipient_delimiter = + relay_domains = localhost, android-e54a0034eb272fa9.jupiter relayhost = [smtp.gmail.com]:587 sample_directory = /usr/share/doc/postfix-2.6.6/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_sasl_security_options = noanonymous smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt smtp_tls_note_starttls_offer = no smtp_tls_security_level = verify smtp_tls_session_cache_database = btree:/var/run/smtp_tls_session_cache smtp_use_tls = no smtpd_banner = $myhostname smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks smtpd_sasl_auth_enable = yes smtpd_sasl_authenticated_header = yes smtpd_sasl_security_options = noanonymous smtpd_sasl_type = cyrus smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem smtpd_tls_auth_only = no smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key smtpd_tls_received_header = yes smtpd_tls_session_cache_timeout = 3600s smtpd_use_tls = no tls_random_source = dev:/dev/urandom unknown_local_recipient_reject_code = 550 Squirrelmail config.php Code: <?php /** * SquirrelMail Configuration File * Created using the configure script, conf.pl */ global $version; $config_version = '1.4.0'; $config_use_color = 1; $org_name = "Jupiter"; $org_logo = SM_PATH . 'images/sm_logo.png'; $org_logo_width = '308'; $org_logo_height = '111'; $org_title = "SquirrelMail $version"; $signout_page = ''; $frame_top = '_top'; $provider_uri = 'http://squirrelmail.org/'; $provider_name = 'SquirrelMail'; $motd = ""; $squirrelmail_default_language = 'en_US'; $default_charset = 'iso-8859-1'; $lossy_encoding = false; $domain = 'jupiter.eu'; $imapServerAddress = '192.168.10.3'; $imapPort = 143; $useSendmail = false; $smtpServerAddress = '192.168.10.3'; $smtpPort = 587; $sendmail_path = '/usr/sbin/sendmail'; $sendmail_args = '-i -t'; $pop_before_smtp = false; $pop_before_smtp_host = ''; $imap_server_type = 'uw'; $invert_time = false; $optional_delimiter = '/'; $encode_header_key = ''; Dovecot config Code: dict { #quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext #expire = sqlite:/etc/dovecot/dovecot-dict-sql.conf.ext } !include conf.d/*.conf auth_verbose=yes auth_debug=yes auth_debug_passwords=yes mail_debug=yes verbose_ssl=yes I have no error messages from postfix in /var/log/messages Apache error log Code: PHP: syntax error, unexpected '(' in /etc/php.ini on line 1660 PHP: syntax error, unexpected '(' in /etc/php.ini on line 1660 PHP: syntax error, unexpected '(' in /etc/php.ini on line 1660 PHP: syntax error, unexpected '(' in /etc/php.ini on line 1660 [Sat Feb 22 12:54:43 2014] [error] [client 192.168.10.1] PHP Notice: Undefined property: Deliver_SMTP::$dlv_msg in /usr/local/squirrelmail/www/src/compose.php on line 1699, referer: http://184.163.167.187:443/src/compose.php?mailbox=Sent&startMessage=1 [Sat Feb 22 12:54:43 2014] [error] [client 192.168.10.1] PHP Notice: Undefined property: Deliver_SMTP::$dlv_server_msg in /usr/local/squirrelmail/www/src/compose.php on line 1701, referer: http://184.163.167.187:443/src/compose.php?mailbox=Sent&startMessage=1 [Sat Feb 22 13:02:56 2014] [error] [client 192.168.10.2] PHP Notice: Undefined property: Deliver_SMTP::$dlv_msg in /usr/local/squirrelmail/www/src/compose.php on line 1699, referer: http://192.168.10.3:443/squirrelmail/src/compose.php?mailbox=Sent&startMessage=1 [Sat Feb 22 13:02:56 2014] [error] [client 192.168.10.2] PHP Notice: Undefined property: Deliver_SMTP::$dlv_server_msg in /usr/local/squirrelmail/www/src/compose.php on line 1701, referer: http://192.168.10.3:443/squirrelmail/src/compose.php?mailbox=Sent&startMessage=1 [Sat Feb 22 13:19:18 2014] [error] [client 192.168.10.2] PHP Notice: Undefined property: Deliver_SMTP::$dlv_msg in /usr/local/squirrelmail/www/src/compose.php on line 1699, referer: http://192.168.10.3:443/squirrelmail/src/compose.php?mailbox=Drafts&startMessage=1 [Sat Feb 22 13:19:18 2014] [error] [client 192.168.10.2] PHP Notice: Undefined property: Deliver_SMTP::$dlv_server_msg in /usr/local/squirrelmail/www/src/compose.php on line 1701, referer: http://192.168.10.3:443/squirrelmail/src/compose.php?mailbox=Drafts&startMessage=1 Bind data file Code: ; ; BIND data file for jupiter.eu ; $TTL 3h @ IN SOA ns1.android-e54a0034eb272fa9.jupiter. admin.android-e54a0034eb272fa9.jupiter. ( 1 ; Serial 3h ; Refresh after 3 hours 1h ; Retry after 1 hour 1w ; Expire after 1 week 1h ) ; Negative caching TTL of 1 day ; @ IN NS ns1.android-e54a0034eb272fa9.jupiter. @ IN MX 10 android-e54a0034eb272fa9.jupiter. android-e54a0034eb272fa9.jupiter IN A 192.168.10.3 ns1 IN A 192.168.10.3 www IN CNAME 192.168.10.3 Thanks if you have the patience to go through this log file with me and help to set me on the right path, I know it's a little big.
Update: Postfix isn't working as it should ? [root@CentOS ~]# telnet localhost 587 Trying ::1... Connected to localhost. Escape character is '^]'. [root@CentOS ~]# netstat -an | grep 587 tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN tcp 0 0 :::587 :::* LISTEN Yesterday I was getting this message when I was telneting: 220 mailtest ESMTP Postfix (Debian/GNU)