My emails are working perfectly through my mac mail client and through squirrel mail. I can send and I can receive, but some clients don't have that ability. I have tried swiftmailer to send confirmation emails to my future customers, but when it spoofs the email it always goes to the spam folder. So I want to route it through smtp. I do this with the program but my mail.remcycle.net on port 25 does not work. I tried it with gmail's smtp and it works, so for now I can just go through email and disguise my emails as [email protected]. I then tried to setup gmail to send my emails through my smtp server, but it gives me the error,"can't communicate with server." I verified that all the setting are the same as my apple mail. Is there some process I am missing? Anyone else have this issue? What could cause these servers not to recognize my outgoing server? I am at a loss and would like advise as to where to start troubleshooting.
Make sure that your mailclient authenticates itself with smtp-auth when it sends emails. Also take a look at the mail log to get the error message.
Code: May 11 08:26:39 server2 postfix/anvil[19756]: statistics: max connection rate 2/60s for (smtp:209.85.216.182) at May 11 08:23:11 May 11 08:26:39 server2 postfix/anvil[19756]: statistics: max connection count 1 for (smtp:209.85.216.41) at May 11 08:22:46 May 11 08:26:39 server2 postfix/anvil[19756]: statistics: max cache size 2 at May 11 08:22:56 May 11 08:30:01 server2 imapd-ssl: Connection, ip=[::ffff:76.10.223.195] May 11 08:30:01 server2 imapd-ssl: LOGIN, [email protected], ip=[::ffff:76.10.223.195], port=[48377], protocol=IMAP May 11 08:30:01 server2 imapd-ssl: LOGOUT, [email protected], ip=[::ffff:76.10.223.195], headers=0, body=0, rcvd=95, sent=731, time=0, starttls=1 May 11 08:30:03 server2 postfix/smtpd[19780]: connect from mail-qw0-f41.google.com[209.85.216.41] May 11 08:30:03 server2 postfix/smtpd[19780]: lost connection after UNKNOWN from mail-qw0-f41.google.com[209.85.216.41] May 11 08:30:03 server2 postfix/smtpd[19780]: disconnect from mail-qw0-f41.google.com[209.85.216.41] Seems to have a lost connection after UNKOWN... I will look into this further after work. ------------------------- Just adding a bit more of information for me to look at, but other people to be able to help me out if they see an issue I don't Auth.log
Solution Found: nano /etc/postfix/master.cf and uncommented "-o smtpd_tls_wrappermode=yes" now it works