Results 1 to 13 of 13
  1. #1
    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 ~]#
    Any idea??

    Sorry for my bad english...

  2. #2
    I have no /var/spool/postfix/etc/ folder in centos.

    Are you using some chrooted installation ? What rpm you have ?

    rpm -qa | grep postfix

  3. #3
    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 ~]#

  4. #4
    Join Date
    Feb 2005
    Posts
    35
    I dont remembar say Thank you and i cant edit the post....

    Thank you for your help !!!

  5. #5
    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

  6. #6
    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 !

  7. #7
    What error you get now on starting ?

    Also check /var/log/maillog

  8. #8
    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
    Thanks

  9. #9
    There is no error in log.

    You do not get any error on starting postfix now ?

    try

    telnet localhost 25

  10. #10
    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.

  11. #11
    Join Date
    Feb 2005
    Posts
    35
    Solved !!!!

    I have reconfigured and now works !!!

    Thanks for your help flashwebhost !!!!

  12. #12
    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]#
    Im trying to install vhcs control panel.... its installed but postfix dont work..

    Thanks for your help....
    Last edited by RePoChO; 01-18-2007 at 06:00 PM.

  13. #13
    Join Date
    Feb 2005
    Posts
    35
    any idea?????? plz

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •