Can't get my emails through

Discussion in 'Server Operation' started by wp.rauchholz, Jan 2, 2011.

  1. wp.rauchholz

    wp.rauchholz New Member

    Chain INPUT (policy DROP 27 packets, 1621 bytes)
    pkts bytes target prot opt in out source destination
    1934 330K ACCEPT all -- lo * 127.0.0.0/8 127.0.0.0/8
    2 122 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmp type 255
    1775 135K ACCEPT all -- eth2 * 192.168.20.0/24 192.168.20.0/24
    4102 435K ACCEPT all -- ppp0 * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
    0 0 ACCEPT tcp -- ppp0 * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:20 flags:0x17/0x02
    0 0 ACCEPT tcp -- ppp0 * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:21 flags:0x17/0x02
    318 19080 ACCEPT tcp -- ppp0 * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22 flags:0x17/0x02
    0 0 ACCEPT tcp -- ppp0 * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:25 flags:0x17/0x02
    0 0 ACCEPT tcp -- ppp0 * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:465 flags:0x17/0x02
    0 0 ACCEPT tcp -- ppp0 * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:80 flags:0x17/0x02
    0 0 ACCEPT tcp -- ppp0 * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:443 flags:0x17/0x02
    0 0 ACCEPT tcp -- ppp0 * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:636 flags:0x17/0x02
    0 0 ACCEPT tcp -- ppp0 * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:993 flags:0x17/0x02
    0 0 ACCEPT tcp -- ppp0 * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:143 flags:0x17/0x02
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Did you try to disable your firewall for testing purposes?
    Any errors in your mail log?
     
  3. wp.rauchholz

    wp.rauchholz New Member

    The error is related to set up problems.
    My setup is as follows:
    domain with dyndns.org; I believe this is fine.

    Where I have my problems is the I cannot get ddclient up and running. I get the following WARNING which results in not functioning:
    ddclient[629]: WARNING: Cannot create file '/var/run/ddclient.pid'. (Permission denied)
    ddclient.conf is just standard:
    daemon=300
    syslog=yes
    mail=root
    mail-failure=root
    pid=/var/run/ddclient.pid
    cache=/tmp/ddclient.cache
    use=web, web=checkip.dyndns.com/, web-skip='IP Address' ## 2) via our CheckIP server
    login=aaa
    password=bbb
    protocol=dyndns2
    server=members.dyndns.org
    wildcard=YES
    custom=yes, theragafamily.com

    I did not change the path to the pid file- All doc mentioned the same: /var/run
    I checked though in /etc/init.d/ddclient and found this:
    pid=/var/run/ddclient/ddclient.pid; anothe path.
    I played with chaning paths btw conf and /etc/init.d/ddclient but cannot find a solution
    In google there are a lot of links to this message but no solution
     
  4. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    ls -la /var/run/
    ?
     
  5. wp.rauchholz

    wp.rauchholz New Member

    Antivirus permission problems

    I am trying to test clamd using clamdscan and get the following message. There are many threads with same error, but none of them helped me to solve.

    [root@home ~]# clamdscan
    /root: lstat() failed: Permission denied. ERROR

    ----------- SCAN SUMMARY -----------
    Infected files: 0
    Total errors: 1
    Time: 0.000 sec (0 m 0 s)

    clamd daemon process is running
    amavis 13278 1 0 06:51 ? 00:00:03 clamd.amavisd -c /etc/clamd.d/amavisd.conf --pid /var/run/clamd.amavisd/clamd.pid


    Thanks for your help
     
  6. falko

    falko Super Moderator ISPConfig Developer

    What's your distribution?

    What's the output of
    Code:
    ls -la /var/run/
    ?
     

Share This Page