Postfix POP request approx 30 sec (Mozilla...)

Discussion in 'Server Operation' started by dreamed, Feb 15, 2006.

  1. dreamed

    dreamed New Member

    Hello

    I have set my Webserver with the perfect HowTo Mandriva 2006.

    All is works well but when I want to check the server for new emails by an external Mozilla client mail.

    The server takes always 30 sec to respond.

    By the webmail, the response is direct.

    Is there a postfix time to configure ?

    Thanks for your help

    ED
     
  2. falko

    falko Super Moderator Howtoforge Staff

    First, Postfix is an SMTP server, not a POP3 server, so it has nothing to do with the problem.

    Do you see anything related to this in the mail log? Please post the output of
    Code:
    netstat -tap
    and
    Code:
    iptables -L
     
  3. dreamed

    dreamed New Member

    Ok here are the files ...

    PHP:
    iptables -L
    Chain INPUT 
    (policy DROP)
    target     prot opt source               destination
    DROP       tcp  
    --  anywhere             127.0.0.0/8
    ACCEPT     all  
    --  anywhere             anywhere            state RELATED,ESTABLISHED
    ACCEPT     all  
    --  anywhere             anywhere
    DROP       all  
    --  BASE-ADDRESS.MCAST.NET/4  anywhere
    PUB_IN     all  
    --  anywhere             anywhere
    PUB_IN     all  
    --  anywhere             anywhere
    PUB_IN     all  
    --  anywhere             anywhere
    DROP       all  
    --  anywhere             anywhere

    Chain FORWARD 
    (policy DROP)
    target     prot opt source               destination
    ACCEPT     all  
    --  anywhere             anywhere            state RELATED,ESTABLISHED
    DROP       all  
    --  anywhere             anywhere

    Chain INT_IN 
    (0 references)
    target     prot opt source               destination
    ACCEPT     icmp 
    --  anywhere             anywhere
    DROP       all  
    --  anywhere             anywhere

    Chain INT_OUT 
    (0 references)
    target     prot opt source               destination
    ACCEPT     icmp 
    --  anywhere             anywhere
    ACCEPT     all  
    --  anywhere             anywhere

    Chain OUTPUT 
    (policy ACCEPT)
    target     prot opt source               destination
    PUB_OUT    all  
    --  anywhere             anywhere
    PUB_OUT    all  
    --  anywhere             anywhere
    PUB_OUT    all  
    --  anywhere             anywhere

    Chain PAROLE 
    (9 references)
    target     prot opt source               destination
    ACCEPT     all  
    --  anywhere             anywhere

    Chain PUB_IN 
    (3 references)
    target     prot opt source               destination
    ACCEPT     icmp 
    --  anywhere             anywhere            icmp destination-unreachable
    ACCEPT     icmp 
    --  anywhere             anywhere            icmp echo-reply
    ACCEPT     icmp 
    --  anywhere             anywhere            icmp time-exceeded
    ACCEPT     icmp 
    --  anywhere             anywhere            icmp echo-request
    PAROLE     tcp  
    --  anywhere             anywhere            tcp dpt:ftp
    PAROLE     tcp  
    --  anywhere             anywhere            tcp dpt:ssh
    PAROLE     tcp  
    --  anywhere             anywhere            tcp dpt:smtp
    PAROLE     tcp  
    --  anywhere             anywhere            tcp dpt:domain
    PAROLE     tcp  
    --  anywhere             anywhere            tcp dpt:http
    PAROLE     tcp  
    --  anywhere             anywhere            tcp dpt:81
    PAROLE     tcp  
    --  anywhere             anywhere            tcp dpt:pop3
    PAROLE     tcp  
    --  anywhere             anywhere            tcp dpt:https
    PAROLE     tcp  
    --  anywhere             anywhere            tcp dpt:10000
    ACCEPT     udp  
    --  anywhere             anywhere            udp dpt:domain
    DROP       icmp 
    --  anywhere             anywhere
    DROP       all  
    --  anywhere             anywhere

    Chain PUB_OUT 
    (3 references)
    target     prot opt source               destination
    ACCEPT     all  
    --  anywhere             anywhere




    PHP:
    more /tmp/tap_output.txt
    Connexions Internet actives 
    (serveurs et établies)
    Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
    tcp        0      0 
    *:32769                     *:*                         LISTEN      -
    tcp        0      0 *:nfs                       *:*                         LISTEN      -
    tcp        0      0 *:imaps                     *:*                         LISTEN      3583/xinetd
    tcp        0      0 
    *:pop3s                     *:*                         LISTEN      3583/xinetd
    tcp        0      0 dreamed
    -server1:10026       *:*                         LISTEN      27367/master
    tcp        0      0 
    *:906                       *:*                         LISTEN      3695/rpc.mountd
    tcp        0      0 
    *:618                       *:*                         LISTEN      2556/rpc.statd
    tcp        0      0 
    *:mysql                     *:*                         LISTEN      2404/mysqld
    tcp        0      0 
    *:netbios-ssn               *:*                         LISTEN      4028/smbd
    tcp        0      0 
    *:843                       *:*                         LISTEN      3631/rpc.rquotad
    tcp        0      0 
    *:pop3                      *:*                         LISTEN      3583/xinetd
    tcp        0      0 
    *:imap                      *:*                         LISTEN      3583/xinetd
    tcp        0      0 
    *:sunrpc                    *:*                         LISTEN      2451/portmap
    tcp        0      0 
    *:x11                       *:*                         LISTEN      15485/X
    tcp        0      0 
    *:http                      *:*                         LISTEN      4904/httpd
    tcp        0      0 
    *:81                        *:*                         LISTEN      4454/ispconfig_http
    tcp        0      0 
    *:ftp                       *:*                         LISTEN      5096/proftpd: (acce
    tcp        0      0 192.168.0.19
    :domain         *:*                         LISTEN      5061/named
    tcp        0      0 dreamed
    -server1:domain      *:*                         LISTEN      5061/named
    tcp        0      0 dreamed
    -server1:5335        *:*                         LISTEN      3317/mDNSResponder
    tcp        0      0 
    *:smtp                      *:*                         LISTEN      27367/master
    tcp        0      0 
    *:https                     *:*                         LISTEN      4904/httpd
    tcp        0      0 
    *:7741                      *:*                         LISTEN      4256/lisa
    tcp        0      0 
    *:microsoft-ds              *:*                         LISTEN      4028/smbd
    tcp        0      0 192.168.0.19
    :pop3           lan31-1-X-X-X-X.fb:3031 TIME_WAIT   -
    tcp        0      0 192.168.0.19:pop3           lan31-1-X-X-X-X.fb:3029 TIME_WAIT   -
    tcp        0      0 *:x11                       *:*                         LISTEN      15485/X
    tcp        0      0 
    *:ssh                       *:*                         LISTEN      3479/sshd
    tcp        0      0 
    ::ffff:192.168.0.19:ssh     lan31-1-X-X-X-X.fb:3033 ESTABLISHED 16154/1

    When the mailing client is checking & waiting for new mails :

    PHP:
    more /tmp/tap_output.txt
    Connexions Internet actives 
    (serveurs et établies)
    Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
    tcp        0      0 
    *:32769                     *:*                         LISTEN      -
    tcp        0      0 *:nfs                       *:*                         LISTEN      -
    tcp        0      0 *:imaps                     *:*                         LISTEN      3583/xinetd
    tcp        0      0 
    *:pop3s                     *:*                         LISTEN      3583/xinetd
    tcp        0      0 dreamed
    -server1:10026       *:*                         LISTEN      27367/master
    tcp        0      0 
    *:906                       *:*                         LISTEN      3695/rpc.mountd
    tcp        0      0 
    *:618                       *:*                         LISTEN      2556/rpc.statd
    tcp        0      0 
    *:mysql                     *:*                         LISTEN      2404/mysqld
    tcp        0      0 
    *:netbios-ssn               *:*                         LISTEN      4028/smbd
    tcp        0      0 
    *:843                       *:*                         LISTEN      3631/rpc.rquotad
    tcp        0      0 
    *:pop3                      *:*                         LISTEN      3583/xinetd
    tcp        0      0 
    *:imap                      *:*                         LISTEN      3583/xinetd
    tcp        0      0 
    *:sunrpc                    *:*                         LISTEN      2451/portmap
    tcp        0      0 
    *:x11                       *:*                         LISTEN      15485/X
    tcp        0      0 
    *:http                      *:*                         LISTEN      4904/httpd
    tcp        0      0 
    *:81                        *:*                         LISTEN      4454/ispconfig_http
    tcp        0      0 
    *:ftp                       *:*                         LISTEN      5096/proftpd: (acce
    tcp        0      0 192.168.0.19
    :domain         *:*                         LISTEN      5061/named
    tcp        0      0 dreamed
    -server1:domain      *:*                         LISTEN      5061/named
    tcp        0      0 dreamed
    -server1:5335        *:*                         LISTEN      3317/mDNSResponder
    tcp        0      0 
    *:smtp                      *:*                         LISTEN      27367/master
    tcp        0      0 
    *:https                     *:*                         LISTEN      4904/httpd
    tcp        0      0 
    *:7741                      *:*                         LISTEN      4256/lisa
    tcp        0      0 
    *:microsoft-ds              *:*                         LISTEN      4028/smbd
    tcp        0      1 192.168.0.19
    :33090          lan31-1-X-X-X-X.fb:auth SYN_SENT    16390/xinetd
    tcp        0      1 192.168.0.19
    :33089          lan31-1-X-X-X-X.fb:auth SYN_SENT    16389/xinetd
    tcp        0      0 192.168.0.19
    :pop3           lan31-1-X-X-X-X.fb:3066 ESTABLISHED 16390/xinetd
    tcp        0      0 192.168.0.19
    :pop3           lan31-1-X-X-X-X.fb:3065 ESTABLISHED 16389/xinetd
    tcp        0      0 
    *:x11                       *:*                         LISTEN      15485/X
    tcp        0      0 
    *:ssh                       *:*                         LISTEN      3479/sshd
    tcp        0      0 
    ::ffff:192.168.0.19:ssh     lan31-1-X-X-X-X.fb:3033 ESTABLISHED 16154/1
     
    Last edited: Feb 15, 2006
  4. falko

    falko Super Moderator Howtoforge Staff

    This looks ok. Can you see anything in the mail log (it's in /var/log)?
     

Share This Page