Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu May 28, 2015 1:14 pm 
Offline
Newbie

Joined: Thu May 28, 2015 12:54 pm
Posts: 2
I have postfix configured for mail forwarding on my linode and I'm getting the error below when sending [some] emails (it would appear most emails I send do work properly and I don't believe I have an issue receiving mail at all - weird!):

Technical details of temporary failure:
The recipient server did not accept our requests to connect. Learn more at http://support.google.com/mail/bin/answ ... nswer=7720
[(0) domain1.com. [45.79.xxx.xxx]:587: socket error]
[(0) domain1.com. [2600:3c02::f03c:91ff:xxxx:xxxx]:587: socket error]

I followed the postfix tutorials here the best I could but I must admit my linux skills are a bit rusty.

I've also noticed my SSH sessions are freezing up after a few minutes. It didn't seem to do this before... I get Network Error: Software caused connection abort

Here's my mail configuration:


root@zeus:/var/log# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
home_mailbox = mail/
inet_interfaces = all
inet_protocols = all
mailbox_size_limit = 0
mydestination = localhost, localhost.localdomain, , localhost
myhostname = zeus.domain1.com
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 45.79.xxx.xxx
readme_directory = no
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks reject_unauth_destination
smtpd_relay_restrictions = permit_sasl_authenticated permit_mynetworks reject_unauth_destination
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
virtual_alias_domains = domain1.com, domain3.com, domain2.com
virtual_alias_maps = hash:/etc/postfix/virtual


--------------------------------


root@zeus:/var/log# netstat -ntlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 1957/mysqld
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 1880/dovecot
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 1880/dovecot
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1886/sshd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 2060/master
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 1880/dovecot
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 1880/dovecot
tcp6 0 0 :::110 :::* LISTEN 1880/dovecot
tcp6 0 0 :::143 :::* LISTEN 1880/dovecot
tcp6 0 0 :::22 :::* LISTEN 1886/sshd
tcp6 0 0 :::25 :::* LISTEN 2060/master
tcp6 0 0 :::993 :::* LISTEN 1880/dovecot
tcp6 0 0 :::995 :::* LISTEN 1880/dovecot


---------------------------------


root@zeus:/var/log# iptables -L -n -v
Chain INPUT (policy ACCEPT 2535 packets, 237K bytes)
pkts bytes target prot opt in out source destination

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination

Chain OUTPUT (policy ACCEPT 2350 packets, 360K bytes)
pkts bytes target prot opt in out source destination


--------------------

Hoping somebody with a little more experience could possibly shed light on any mistakes I may have made.


Top
   
PostPosted: Fri May 29, 2015 2:39 am 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
It looks like your mail client is trying to send mail through Gmail, not your postfix server. But obscuring your IP address makes it difficult for us to do any troubleshooting.


Top
   
PostPosted: Fri May 29, 2015 4:38 pm 
Offline
Newbie

Joined: Thu May 28, 2015 12:54 pm
Posts: 2
I'm using Gmail to send the email and have all of the addresses forwarding to my gmail address...and using the gmail "Send mail as:" feature so my domain email addresses still show up in the "from" field.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group