I configured the mailserver using the guidelne on http://www.qwik.net/howto/howto.pdf and when i telnet localhost 25 the result i get are: Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. 220 localhost.localdomain NO UCE then i entered: helo localhost.localdomain and got 250 localhost.localdomain then i tried to mail from: [email protected] then it stops there until. Then i checked in my maillog then got this error Sep 15 14:05:17 localhost postfix/smtpd[4602]: connect from localhost.localdomain[127.0.0.1] Sep 15 14:05:59 localhost postfix/trivial-rewrite[4622]: warning: connect to mysql server root001: Unknown MySQL server host 'root001' (1) Sep 15 14:05:59 localhost postfix/trivial-rewrite[4622]: fatal: mysql:/etc/postfix/mysql-virtual.cf(0,lock|fold_fix): table lookup problem Sep 15 14:06:00 localhost postfix/trivial-rewrite[4623]: warning: connect to mysql server 192.168.10.220: Host '192.168.10.220' is not allowed to connect to this MySQL server Sep 15 14:06:00 localhost postfix/trivial-rewrite[4623]: fatal: mysql:/etc/postfix/mysql-mydestination.cf(0,lock|fold_fix): table lookup problem Sep 15 14:06:00 localhost postfix/smtpd[4596]: warning: problem talking to service rewrite: Success Sep 15 14:06:00 localhost postfix/master[3827]: warning: process /usr/libexec/postfix/trivial-rewrite pid 4622 exit status 1 Sep 15 14:06:00 localhost postfix/master[3827]: warning: /usr/libexec/postfix/trivial-rewrite: bad command startup -- throttling Sep 15 14:06:01 localhost postfix/master[3827]: warning: process /usr/libexec/postfix/trivial-rewrite pid 4623 exit status 1 And in my messages i got this: Sep 15 13:55:47 localhost mysqld: Starting MySQL: succeeded Sep 15 13:55:49 localhost cyrus-imapd: cyrus-master startup succeeded Sep 15 13:55:54 localhost postfix: succeeded Sep 15 13:55:54 localhost gpm[3839]: *** info [startup.c(95)]: Sep 15 13:55:54 localhost gpm[3839]: Started gpm successfully. Entered daemon mode. Sep 15 13:55:55 localhost gpm: gpm startup succeeded Sep 15 13:55:58 localhost httpd: httpd startup succeeded Sep 15 13:55:58 localhost crond: crond startup succeeded Sep 15 13:56:01 localhost xfs: xfs startup succeeded Sep 15 13:56:01 localhost anacron: anacron startup succeeded Sep 15 13:56:01 localhost xfs[3885]: ignoring font path element /usr/X11R6/lib/X11/fonts/75dpi:unscaled (unreadable) Sep 15 13:56:01 localhost atd: atd startup succeeded Sep 15 13:56:01 localhost atd: succeeded Sep 15 13:56:01 localhost xfs[3885]: ignoring font path element /usr/X11R6/lib/X11/fonts/100dpi:unscaled (unreadable) Sep 15 13:56:01 localhost messagebus: messagebus startup succeeded Sep 15 13:56:02 localhost haldaemon: haldaemon startup succeeded Sep 15 13:56:03 localhost fstab-sync[4479]: removed all generated mount points Sep 15 13:56:03 localhost fstab-sync[4487]: added mount point /media/cdrecorder for /dev/hdb Sep 15 14:04:32 localhost sshd(pam_unix)[4561]: session opened for user root by (uid=0) Sep 15 14:05:59 localhost sshd(pam_unix)[4603]: session opened for user root by (uid=0) Can anybody help me troubleshoot this because i can't get help!
Still the same,it seems like connection is timing out.nothing happens there. and i got this messages now. Sep 15 16:55:33 localhost postfix/trivial-rewrite[4615]: warning: connect to mysql server 192.168.10.220: Can't connect to MySQL server on '192.168.10.220' (111) Sep 15 16:55:33 localhost postfix/trivial-rewrite[4615]: fatal: mysql:/etc/postfix/mysql-mydestination.cf(0,lock|fold_fix): table lookup problem Sep 15 16:55:34 localhost postfix/master[3847]: warning: process /usr/libexec/postfix/trivial-rewrite pid 4615 exit status 1 Sep 15 16:55:35 localhost postfix/trivial-rewrite[4616]: warning: connect to mysql server 192.168.10.220: Can't connect to MySQL server on '192.168.10.220' (111) Sep 15 16:55:35 localhost postfix/trivial-rewrite[4616]: fatal: mysql:/etc/postfix/mysql-mydestination.cf(0,lock|fold_fix): table lookup problem Sep 15 16:55:36 localhost postfix/smtpd[4613]: warning: problem talking to service rewrite: Success Sep 15 16:55:36 localhost postfix/master[3847]: warning: process /usr/libexec/postfix/trivial-rewrite pid 4616 exit status 1 Sep 15 16:55:36 localhost postfix/master[3847]: warning: /usr/libexec/postfix/trivial-rewrite: bad command startup -- throttling Sep 15 16:56:36 localhost postfix/trivial-rewrite[4617]: warning: connect to mysql server 192.168.10.220: Can't connect to MySQL server on '192.168.10.220' (111) Sep 15 16:56:36 localhost postfix/trivial-rewrite[4617]: fatal: mysql:/etc/postfix/mysql-mydestination.cf(0,lock|fold_fix): table lookup problem Sep 15 16:56:37 localhost postfix/smtpd[4613]: warning: problem talking to service rewrite: Success Sep 15 16:56:37 localhost postfix/master[3847]: warning: process /usr/libexec/postfix/trivial-rewrite pid 4617 exit status 1 Sep 15 16:56:37 localhost postfix/master[3847]: warning: /usr/libexec/postfix/trivial-rewrite: bad command startup -- throttling Sep 15 16:56:53 localhost postfix/smtpd[4620]: connect from localhost.localdomain[127.0.0.1] Sep 15 16:57:37 localhost postfix/trivial-rewrite[4621]: warning: connect to mysql server 192.168.10.220: Can't connect to MySQL server on '192.168.10.220' (111) Sep 15 16:57:37 localhost postfix/trivial-rewrite[4621]: fatal: mysql:/etc/postfix/mysql-mydestination.cf(0,lock|fold_fix): table lookup problem Sep 15 16:57:38 localhost postfix/smtpd[4613]: warning: problem talking to service rewrite: Success Sep 15 16:57:38 localhost postfix/master[3847]: warning: process /usr/libexec/postfix/trivial-rewrite pid 4621 exit status 1 Sep 15 16:57:38 localhost postfix/master[3847]: warning: /usr/libexec/postfix/trivial-rewrite: bad command startup -- throttling
Is a MySQL server running on 192.168.10.220? Is it the same server? If so, what's the output of Code: netstat -tap ?