Results 1 to 13 of 13
Thread: Postfix problem on FC5
-
01-17-2007, 04:46 AM #1Junior Guru Wannabe
- Join Date
- Feb 2005
- Posts
- 35
Postfix problem on FC5
Its incredible.... what happens with postfix....
the install is ok but:
Code:[root@vps25621 ~]# ping google.com PING google.com (64.233.167.99) 56(84) bytes of data. 64 bytes from py-in-f99.google.com (64.233.167.99): icmp_seq=1 ttl=244 time=24.6 ms 64 bytes from py-in-f99.google.com (64.233.167.99): icmp_seq=2 ttl=244 time=27.9 ms 64 bytes from py-in-f99.google.com (64.233.167.99): icmp_seq=3 ttl=244 time=24.6 ms 64 bytes from py-in-f99.google.com (64.233.167.99): icmp_seq=4 ttl=244 time=24.9 ms 64 bytes from py-in-f99.google.com (64.233.167.99): icmp_seq=5 ttl=244 time=24.7 ms --- google.com ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4006ms rtt min/avg/max/mdev = 24.651/25.394/27.930/1.275 ms [root@vps25621 ~]# postfix start postfix/postfix-script: warning: /var/spool/postfix/etc/services and /etc/services differ postfix/postfix-script: warning: /var/spool/postfix/etc/hosts and /etc/hosts differ postfix/postfix-script: warning: /var/spool/postfix/etc/passwd and /etc/passwd differ postfix/postfix-script: starting the Postfix mail system [root@vps25621 ~]# ping google.com [root@vps25621 ~]#
Sorry for my bad english...
-
01-17-2007, 08:26 AM #2Web Hosting Master
- Join Date
- Jan 2002
- Posts
- 1,400
I have no /var/spool/postfix/etc/ folder in centos.
Are you using some chrooted installation ? What rpm you have ?
rpm -qa | grep postfix
-
01-17-2007, 09:57 AM #3Junior Guru Wannabe
- Join Date
- Feb 2005
- Posts
- 35
Its a vps server i dont know if a chrooted....
see:
Code:[root@vps25621 ~]# ls /var/spool/postfix/etc/ host.conf hosts localtime nsswitch.conf passwd resolv.conf services [root@vps25621 ~]# rpm -qa | grep postfix postfix-2.2.8-1.2 [root@vps25621 ~]#
-
01-17-2007, 10:13 AM #4Junior Guru Wannabe
- Join Date
- Feb 2005
- Posts
- 35
I dont remembar say Thank you and i cant edit the post....
Thank you for your help !!!
-
01-17-2007, 11:23 AM #5Web Hosting Master
- Join Date
- Jan 2002
- Posts
- 1,400
Try following command, take a backup, so if you need you can copy it back.
mv /var/spool/postfix/etc/services /var/spool/postfix/etc/services.old
mv /var/spool/postfix/etc/hosts /var/spool/postfix/etc/hosts.old
mv /var/spool/postfix/etc/passwd /var/spool/postfix/etc/passwd.old
cp /etc/services /var/spool/postfix/etc/services
cp /etc/hosts /var/spool/postfix/etc/hosts
cp /etc/passwd /var/spool/postfix/etc/passwd
-
01-17-2007, 11:29 AM #6Junior Guru Wannabe
- Join Date
- Feb 2005
- Posts
- 35
Doesnt work..
I have read that postfix open port 25, i have do netstat -ln --inet
and port 25 doesnt appear...
Any idea ?
Thanks !
-
01-17-2007, 11:43 AM #7Web Hosting Master
- Join Date
- Jan 2002
- Posts
- 1,400
What error you get now on starting ?
Also check /var/log/maillog
-
01-17-2007, 05:10 PM #8Junior Guru Wannabe
- Join Date
- Feb 2005
- Posts
- 35
/var/log/maillog
Code:Jan 17 15:05:05 vps25621 courierd: Initializing uucp Jan 17 15:05:05 vps25621 courierd: Initializing local Jan 17 15:05:05 vps25621 courierd: Initializing fax Jan 17 15:05:05 vps25621 courierd: Initializing esmtp Jan 17 15:05:05 vps25621 courierd: Initializing dsn Jan 17 15:05:05 vps25621 courierd: Started ./courieruucp, pid=5864, maxdels=4, maxhost=4, maxrcpt=16 Jan 17 15:05:05 vps25621 courierd: Started ./courierlocal, pid=5865, maxdels=10, maxhost=4, maxrcpt=1 Jan 17 15:05:05 vps25621 courierd: Started ./courierfax, pid=5866, maxdels=1, maxhost=1, maxrcpt=1 Jan 17 15:05:05 vps25621 courierd: Started ./courieresmtp, pid=5867, maxdels=40, maxhost=4, maxrcpt=100 Jan 17 15:05:05 vps25621 courierd: Started ./courierdsn, pid=5868, maxdels=4, maxhost=1, maxrcpt=1 Jan 17 15:05:05 vps25621 courierd: queuelo=200, queuehi=400 Jan 17 15:05:05 vps25621 courierd: Purging /var/spool/courier/msgq Jan 17 15:05:05 vps25621 courierd: Purging /var/spool/courier/msgs Jan 17 15:05:05 vps25621 courierd: Waiting. shutdown time=Wed Jan 17 16:05:05 2007, wakeup time=Wed Jan 17 16:05:05 2007, queuedelivering=0, inprogress=0 Jan 17 16:05:05 vps25621 courierd: SHUTDOWN: respawnlo limit reached, system inactive. Jan 17 16:05:05 vps25621 courierd: Loading STATIC transport module libraries. Jan 17 16:05:05 vps25621 courierd: Courier 0.54.2 Copyright 1999-2005 Double Precision, Inc. Jan 17 16:05:05 vps25621 courierd: Installing [0/0] Jan 17 16:05:05 vps25621 courierd: Installing uucp Jan 17 16:05:05 vps25621 courierd: Installed: module.uucp - Courier 0.54.2 Copyright 1999-2005 Double Precision, Inc. Jan 17 16:05:05 vps25621 courierd: Installing local Jan 17 16:05:05 vps25621 courierd: Installed: module.local - Courier 0.54.2 Copyright 1999-2005 Double Precision, Inc. Jan 17 16:05:05 vps25621 courierd: Installing fax Jan 17 16:05:05 vps25621 courierd: Installed: module.fax - Courier 0.54.2 Copyright 1999-2005 Double Precision, Inc. Jan 17 16:05:05 vps25621 courierd: Installing esmtp Jan 17 16:05:05 vps25621 courierd: Installed: module.esmtp - Courier 0.54.2 Copyright 1999-2005 Double Precision, Inc. Jan 17 16:05:05 vps25621 courierd: Installing dsn Jan 17 16:05:05 vps25621 courierd: Installed: module.dsn - Courier 0.54.2 Copyright 1999-2005 Double Precision, Inc. Jan 17 16:05:05 vps25621 courierd: Initializing uucp Jan 17 16:05:05 vps25621 courierd: Initializing local Jan 17 16:05:05 vps25621 courierd: Initializing fax Jan 17 16:05:05 vps25621 courierd: Initializing esmtp Jan 17 16:05:05 vps25621 courierd: Initializing dsn Jan 17 16:05:05 vps25621 courierd: Started ./courieruucp, pid=20237, maxdels=4, maxhost=4, maxrcpt=16 Jan 17 16:05:05 vps25621 courierd: Started ./courierlocal, pid=20238, maxdels=10, maxhost=4, maxrcpt=1 Jan 17 16:05:05 vps25621 courierd: Started ./courierfax, pid=20239, maxdels=1, maxhost=1, maxrcpt=1 Jan 17 16:05:05 vps25621 courierd: Started ./courieresmtp, pid=20240, maxdels=40, maxhost=4, maxrcpt=100 Jan 17 16:05:05 vps25621 courierd: Started ./courierdsn, pid=20241, maxdels=4, maxhost=1, maxrcpt=1 Jan 17 16:05:05 vps25621 courierd: queuelo=200, queuehi=400 Jan 17 16:05:05 vps25621 courierd: Purging /var/spool/courier/msgq Jan 17 16:05:05 vps25621 courierd: Purging /var/spool/courier/msgs Jan 17 16:05:05 vps25621 courierd: Waiting. shutdown time=Wed Jan 17 17:05:05 2007, wakeup time=Wed Jan 17 17:05:05 2007, queuedelivering=0, inprogress=0 Jan 17 16:06:10 vps25621 postfix/postfix-script: starting the Postfix mail system Jan 17 16:06:10 vps25621 postfix/master[21776]: daemon started -- version 2.3.6, configuration /etc/postfix
-
01-17-2007, 05:50 PM #9Web Hosting Master
- Join Date
- Jan 2002
- Posts
- 1,400
There is no error in log.
You do not get any error on starting postfix now ?
try
telnet localhost 25
-
01-17-2007, 05:59 PM #10Junior Guru Wannabe
- Join Date
- Feb 2005
- Posts
- 35
Hello
the telnet is refused....
Code:[root@vps25621 ~]# postfix start postfix/postfix-script: starting the Postfix mail system [root@vps25621 ~]# postfix stop postfix/postfix-script: stopping the Postfix mail system [root@vps25621 ~]# [root@vps25621 ~]# [root@vps25621 ~]# telnet localhost 25 Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused [root@vps25621 ~]# [root@vps25621 ~]# postfix start postfix/postfix-script: starting the Postfix mail system [root@vps25621 ~]# telnet localhost 25 [root@vps25621 ~]#
Last edited by RePoChO; 01-17-2007 at 06:06 PM.
-
01-18-2007, 07:20 AM #11Junior Guru Wannabe
- Join Date
- Feb 2005
- Posts
- 35
Solved !!!!
I have reconfigured and now works !!!
Thanks for your help flashwebhost !!!!
-
01-18-2007, 05:54 PM #12Junior Guru Wannabe
- Join Date
- Feb 2005
- Posts
- 35
Later..... the same problem....... i cant configure well....
Code:[root@vps25621 postfix]# postconf -n alias_database = hash:/etc/aliases append_at_myorigin = yes append_dot_mydomain = no biff = no broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix inet_interfaces = all local_destination_recipient_limit = 1 local_recipient_maps = unix:passwd.byname $alias_database local_transport = local mail_spool_directory = /var/mail mailbox_command = procmail -a "$EXTENSION" mailbox_size_limit = 0 mydestination = $myhostname, $mydomain mydomain = supersonicserver.net myhostname = vps25621.supersonicserver.net mynetworks_style = host myorigin = $myhostname setgid_group = postdrop smtpd_banner = $myhostname VHCS2 2.4 Spartacus Managed ESMTP 2.4.7.1 smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sasl_local_domain = vhcs.net smtpd_sasl_security_options = noanonymous transport_maps = hash:/etc/postfix/vhcs2/transport virtual_alias_maps = hash:/etc/postfix/vhcs2/aliases virtual_gid_maps = static:12 virtual_mailbox_base = /var/mail/virtual virtual_mailbox_domains = hash:/etc/postfix/vhcs2/domains virtual_mailbox_limit = 0 virtual_mailbox_maps = hash:/etc/postfix/vhcs2/mailboxes virtual_minimum_uid = 501 virtual_transport = virtual virtual_uid_maps = static:501 [root@vps25621 postfix]#
Thanks for your help....Last edited by RePoChO; 01-18-2007 at 06:00 PM.
-
01-20-2007, 09:02 AM #13Junior Guru Wannabe
- Join Date
- Feb 2005
- Posts
- 35
any idea?????? plz