Hello all, im appologize ahead of time but i am new to linux. i am currently switching from M$ sbs03 to ubuntu 10.04 with ISPConfig 3. i cannot send or recive mail through squirrelmail. i use dyndns for Mailhop outbound and inbound also for dynamic dns services. to cut it short i belive the problem may be with the postfix master.cf or main.cf although i cannot be sure the ip is updating correctly. i would be happy to show any configs and any and all help is appreciated.
Any errors in /var/log/mail.log? Please make sure your MX record points to your public IP. You can check that by running Code: dig mx yourdomain.com As you are sending from a dynamic IP, you should set up relaying: http://www.howtoforge.com/postfix_relaying_through_another_mailserver
Thanks for the link to the postfix relay howto, they have similar instructions on my mailhop's support site. After much troubleshooting i belive the problem is that the server is not listening on the right ports. i need it to listen on port 10025 for incoming as i use Dyndns.com for my mailhop and backup mx. i know that the relay is working properly as my M$ SBS recieves mail and sends as normal (i shutdown the linux server and started the windows SBS to make sure). This command in particular failed and errored " postmap /etc/postfix/sasl_passwd " i have to try again after some sleep to make sure i entered it correctly though. do you have any reccomendations for an dynamic ip update client (currently using ddclient but dont think its working.
I'd use ddclient as well, but if you are behind a router, you can use your router to update your IP - most routers support DynDNS.org. What's the output of Code: netstat -tap ?
Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 *:mysql *:* LISTEN 885/mysqld tcp 0 0 *:netbios-ssn *:* LISTEN 880/smbd tcp 0 0 localhost:spamd *:* LISTEN 1132/spamd.pid tcp 0 0 *:http-alt *:* LISTEN 1881/apache2 tcp 0 0 *:www *:* LISTEN 1881/apache2 tcp 0 0 *:tproxy *:* LISTEN 1881/apache2 tcp 0 0 *:ftp *:* LISTEN 1801/pure-ftpd (SER tcp 0 0 server.mydomain:domain *:* LISTEN 1105/named tcp 0 0 localhost:domain *:* LISTEN 1105/named tcp 0 0 *:ssh *:* LISTEN 903/sshd tcp 0 0 localhost:953 *:* LISTEN 1105/named tcp 0 0 *:https *:* LISTEN 1881/apache2 tcp 0 0 *:microsoft-ds *:* LISTEN 880/smbd tcp 0 0 localhost:10024 *:* LISTEN 1128/amavisd (maste tcp 0 0 server.mydomain:ssh Leopard.home:57513 ESTABLISHED 2326/sshd: matt [pr tcp6 0 0 [::]op3 [::]:* LISTEN 1676/couriertcpd tcp6 0 0 [::]:imap2 [::]:* LISTEN 1642/couriertcpd tcp6 0 0 [::]:ftp [::]:* LISTEN 1801/pure-ftpd (SER tcp6 0 0 [::]:domain [::]:* LISTEN 1105/named tcp6 0 0 [::]:ssh [::]:* LISTEN 903/sshd tcp6 0 0 localhost:953 [::]:* LISTEN 1105/named tcp6 0 0 [::]:imaps [::]:* LISTEN 1662/couriertcpd tcp6 0 0 [::]op3s [::]:* LISTEN 1696/couriertcpd