Hi We are using ISPConfig on CentOs 6 the DNS server id DYNDNS and the email server is Google apps. We need to get being sent by the ISPConfig/CentOs server through our Google Apps IMAP email system. I cant see how this is done as there needs to be authentication at Googles end and I can see in ISP config how I can get the two system working as one. any help is much appreciated.
1) In your email client software, under Outgoing mail, set the SMTP server to smtp.gmail.com. 2) Set the your username is [email protected] and make sure "Use username and password" is checked. 3) Also check off "TLS" under "Use secure connection." also i would check out Gmail's help section on POP access for Gmail
You use the same email login details and smtp (not imap) server that you use in your mail client when you want to sent trough google servers.
Our of interest, squirrel mail also wants to use IMAP Error connecting to IMAP server: localhost. 111 : Connection refused
It seems there is a misunderstanding: SMTP is for sending email, IMAP (and POP3) is for fetching emails.
I understand pop, smtp and imap. I have issues with them all. Whilst I've got the smtp showing that it's online in ispconfig, I don't believe it's actually sending emails or at lest sending emails out from the server. Pop and iMac arent online and refuse to go online thus squirrel mail doesn't work
Netstat Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 *:mysql *:* LISTEN 1827/mysqld tcp 0 0 *:sunrpc *:* LISTEN 1363/rpcbind tcp 0 0 *:ftp *:* LISTEN 2044/pure-ftpd (SER tcp 0 0 server1.edmedia.net.:domain *:* LISTEN 1342/named tcp 0 0 localhost.localdomai:domain *:* LISTEN 1342/named tcp 0 0 *:ssh *:* LISTEN 1651/sshd tcp 0 0 localhost.localdomain:ipp *:* LISTEN 1528/cupsd tcp 0 0 *:smtp *:* LISTEN 8238/master tcp 0 0 *:41567 *:* LISTEN 1381/rpc.statd tcp 0 0 localhost.localdomain:10024 *:* LISTEN 26212/amavisd (mast tcp 0 0 *:amqp *:* LISTEN 2057/qpidd tcp 0 0 localhost.localdomain:10025 *:* LISTEN 8238/master tcp 0 0 server1.edmedia.net.au:ssh 192.168.1.199:56175 ESTABLISHED 13669/sshd tcp 0 0 server1.edmedia.net.au:ssh 192.168.1.199:58065 ESTABLISHED 17286/sshd tcp 0 0 server1.edmedia.net.au:ssh 192.168.1.4:54420 ESTABLISHED 17636/sshd tcp 0 0 server1.edmedia.net.au:ssh 192.168.1.199:62285 ESTABLISHED 1917/sshd tcp 0 0 *op3 *:* LISTEN 16779/couriertcpd tcp 0 0 *:imap *:* LISTEN 16766/couriertcpd tcp 0 0 *:sunrpc *:* LISTEN 1363/rpcbind tcp 0 0 *:webcache *:* LISTEN 8418/httpd tcp 0 0 *:http *:* LISTEN 8418/httpd tcp 0 0 *:tproxy *:* LISTEN 8418/httpd tcp 0 0 *:ftp *:* LISTEN 2044/pure-ftpd (SER tcp 0 0 *:domain *:* LISTEN 1342/named tcp 0 0 *:ssh *:* LISTEN 1651/sshd tcp 0 0 localhost.localdomain:ipp *:* LISTEN 1528/cupsd tcp 0 0 *:42487 *:* LISTEN 1381/rpc.statd tcp 0 0 *:smtp *:* LISTEN 8238/master tcp 0 0 *:https *:* LISTEN 8418/httpd tcp 0 0 *:imaps *:* LISTEN 16773/couriertcpd tcp 0 0 *op3s *:* LISTEN 16785/couriertcpd iptables Chain INPUT (policy ACCEPT) target prot opt source destination fail2ban-SSH tcp -- anywhere anywhere tcp dpt:ssh Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination Chain fail2ban-SSH (1 references) target prot opt source destination RETURN all -- anywhere anywhere
Google Apps I have setup google apps to handle all email on my previous server. All that is required is that you setup the DNS portion of your server, specifically setup a subdomain to point to google's email server.
Yes I've already done that and from the DNS and Google site every thing is cool but not with the web server nothing goes out from the server
ah ok now i understand, yes i have had this problem as well. Basically a CMS or service like fail2ban cannot send outgoing emails on the server. My workaround for this was to have postfix and mailman installed and running on the server solely for the purpose of handling server originated email. Without a mail server like postfix a content managment system using standard php form will not be able to send any outgoing emails. Correct me if i am wrong but my understanding is that a mail server is still required to run on linux server. Google apps mail server does not and cannot handle the goings on of a servers internal mail. Hence a mail server daemon needs to be on at all times on your own server to relay and direct mail from the local server to any outbound server. That being said you have to configure your postfix and mailman installations to send email using your hosting company or ISPs SMTP Service - they designate a specific Server Name for your account. This is your smtp email relay which is required for any emails to be sent from your server.
deskartez, unfortunately the local email service is only partially working only the SMTP side of thing and emails don't get sent outside the server. As for configuring the local services I've no head where they are located and how to configure it under the Centos/ISPConfig system All I know is postfix and courier are in the mix
hello you can install postfix and mailman by just doing a yum install. yum install postfix mailman however yum is the package installer for fedora. I only use fedora or redhat linux. Other distros have different package installers like apt-get ....(unbunto/debian) after installation on fedora, adjust the config files in the etc directory to reflect your smtp relay and then on the command terminal just run the cammands Code: service postfix start Code: service mailman start