Won't recieve mail

Discussion in 'General' started by marra87, Sep 11, 2006.

  1. marra87

    marra87 New Member

    Hi!

    I have now set up ISPConfig with some domains.
    I can send mail from my domain to my domain.
    I can also send mail from my domain to an external domain
    but I can't send mail from an external domain to my local one.
    Any ideas?

    I have also managed to delete my /var/log/maillog file.
    Anyone to help me to create it again?
    I have tried:
    touch maillog
    chown root:logs maillog
    chmod 640 maillog

    But an error occurs. invalid group.
    What group should I set?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Delete your maillog file again, postfix will create a new one for you.

    Did there apper any lines in the mail log, when you send a email from an external account to your server?
     
  3. marra87

    marra87 New Member

    Yes, it did. But I can't tell you exactly right now;)
    I have now deleted my maillog, but when I am doing stuff to activate my postfix server, no maillog appear...
    Do you know if maybe the server uses the maillog.0/1/2 files instead?
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Which distribution do you use? What's the output of
    Code:
    ls -la /var/log
    ?
     
  5. marra87

    marra87 New Member

    Okey, I just restarted my server and it created a new maillog file. No problems with that.
    But back to my real problem.
    I won't recieve mail from external mail servers. Here is my maillog:

    Code:
    Sep 12 15:58:10 x postfix/smtpd[3648]: connect from sd-green-bigip-61.dreamhost.com[208.97.132.61]
    Sep 12 15:58:10 x postfix/smtpd[3648]: EED2212026F: client=sd-green-bigip-61.dreamhost.com[208.97.132.61]
    Sep 12 15:58:11 x postfix/cleanup[3653]: EED2212026F: message-id=<[email protected]>
    Sep 12 15:58:11 x postfix/smtpd[3648]: disconnect from sd-green-bigip-61.dreamhost.com[208.97.132.61]
    Sep 12 15:58:11 x postfix/qmgr[3343]: EED2212026F: from=<[email protected]>, size=5966, nrcpt=1 (queue active)
    Sep 12 15:58:11 x sendmail[3768]: k8CDwBJx003768: from=wristband, size=115, class=0, nrcpts=1, msgid=<[email protected]>, [email protected]
    Sep 12 15:58:11 x postfix/smtpd[3687]: connect from x.konsept-it.no[127.0.0.1]
    Sep 12 15:58:11 x postfix/smtpd[3687]: setting up TLS connection from x.konsept-it.no[127.0.0.1]
    Sep 12 15:58:11 x postfix/smtpd[3687]: TLS connection established from x.konsept-it.no[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
    Sep 12 15:58:11 x sendmail[3768]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
    Sep 12 15:58:11 x postfix/smtpd[3687]: C83A7120270: client=x.konsept-it.no[127.0.0.1], [email protected]
    Sep 12 15:58:11 x postfix/cleanup[3653]: C83A7120270: message-id=<[email protected]>
    Sep 12 15:58:11 x postfix/qmgr[3343]: C83A7120270: from=<[email protected]>, size=733, nrcpt=1 (queue active)
    Sep 12 15:58:11 x sendmail[3768]: k8CDwBJx003768: [email protected], ctladdr=wristband (10015/10017), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30115, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as C83A7120270)
    Sep 12 15:58:11 x postfix/smtpd[3687]: disconnect from x.konsept-it.no[127.0.0.1]
    Sep 12 15:58:11 x postfix/local[3661]: EED2212026F: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=1, status=sent (delivered to command: /usr/bin/procmail -f-)
    Sep 12 15:58:11 x postfix/qmgr[3343]: EED2212026F: removed
    Sep 12 15:58:11 x postfix/local[3654]: C83A7120270: to=<[email protected]>, relay=local, delay=0, status=sent (delivered to command: /usr/bin/procmail -f-)
    Sep 12 15:58:11 x postfix/qmgr[3343]: C83A7120270: removed
    Sep 12 16:00:03 x sendmail[3831]: k8CE01RB003831: from=root, size=223, class=0, nrcpts=1, msgid=<[email protected]>, [email protected]
    Sep 12 16:00:03 x postfix/smtpd[3862]: connect from x.konsept-it.no[127.0.0.1]
    Sep 12 16:00:03 x postfix/smtpd[3862]: setting up TLS connection from x.konsept-it.no[127.0.0.1]
    Sep 12 16:00:03 x sendmail[3831]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
    Sep 12 16:00:03 x postfix/smtpd[3862]: TLS connection established from x.konsept-it.no[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
    Sep 12 16:00:03 x postfix/smtpd[3862]: 2F51712026F: client=x.konsept-it.no[127.0.0.1], [email protected]
    Sep 12 16:00:03 x postfix/cleanup[3863]: 2F51712026F: message-id=<[email protected]>
    Sep 12 16:00:03 x postfix/qmgr[3343]: 2F51712026F: from=<[email protected]>, size=779, nrcpt=1 (queue active)
    Sep 12 16:00:03 x sendmail[3831]: k8CE01RB003831: to=root, ctladdr=root (0/0), delay=00:00:02, xdelay=00:00:00, mailer=relay, pri=30223, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 2F51712026F)
    Sep 12 16:00:03 x postfix/smtpd[3862]: disconnect from x.konsept-it.no[127.0.0.1]
    Sep 12 16:00:03 x postfix/local[3864]: 2F51712026F: to=<[email protected]>, relay=local, delay=0, status=sent (delivered to mailbox)
    Sep 12 16:00:03 x postfix/qmgr[3343]: 2F51712026F: removed
    
     
  6. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    netstat -tap
    and
    Code:
    ps aux
    ?
     
  7. marra87

    marra87 New Member

    netstat -tap
    Code:
    [[email protected] ~]# netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address               Foreign Address             Stat                                                                              e       PID/Program name
    tcp        0      0 *:imaps                     *:*                         LIST                                                                              EN      2715/xinetd
    tcp        0      0 *:32769                     *:*                         LIST                                                                              EN      2367/rpc.statd
    tcp        0      0 *:pop3s                     *:*                         LIST                                                                              EN      2715/xinetd
    tcp        0      0 *:mysql                     *:*                         LIST                                                                              EN      2805/mysqld
    tcp        0      0 *:pop3                      *:*                         LIST                                                                              EN      2715/xinetd
    tcp        0      0 *:imap                      *:*                         LIST                                                                              EN      2715/xinetd
    tcp        0      0 *:sunrpc                    *:*                         LIST                                                                              EN      2350/portmap
    tcp        0      0 *:81                        *:*                         LIST                                                                              EN      3097/ispconfig_http
    tcp        0      0 192.168.1.9:domain          *:*                         LIST                                                                              EN      3366/named
    tcp        0      0 x.konsept-it.no:domain      *:*                         LIST                                                                              EN      3366/named
    tcp        0      0 x.konsept-it.no:ipp         *:*                         LIST                                                                              EN      2661/cupsd
    tcp        0      0 x.konsept-it.no:5335        *:*                         LIST                                                                              EN      2645/mDNSResponder
    tcp        0      0 *:smtp                      *:*                         LIST                                                                              EN      6504/master
    tcp        0      0 x.konsept-it.no:rndc        *:*                         LIST                                                                              EN      3366/named
    tcp        0      0 *:http                      *:*                         LIST                                                                              EN      3269/httpd
    tcp        0      0 *:ftp                       *:*                         LIST                                                                              EN      3382/proftpd: (acce
    tcp        0      0 *:ssh                       *:*                         LIST                                                                              EN      2707/sshd
    tcp        0      0 ::1:rndc                    *:*                         LIST                                                                              EN      3366/named
    tcp        0      0 *:https                     *:*                         LIST                                                                              EN      3269/httpd
    tcp        0    708 ::ffff:192.168.1.9:ssh      ::ffff:192.168.1.2:1291     ESTA                                                                              BLISHED 7977/0
    [[email protected] ~]#
    
     
  8. marra87

    marra87 New Member

    ps aux
    Code:
    [[email protected] ~]# ps aux
    USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
    root         1  0.0  0.0   1748   572 ?        S    15:52   0:01 init [3]
    root         2  0.0  0.0      0     0 ?        SN   15:52   0:00 [ksoftirqd/0]
    root         3  0.0  0.0      0     0 ?        S    15:52   0:00 [watchdog/0]
    root         4  0.0  0.0      0     0 ?        S<   15:52   0:00 [events/0]
    root         5  0.0  0.0      0     0 ?        S<   15:52   0:00 [khelper]
    root         6  0.0  0.0      0     0 ?        S<   15:52   0:00 [kthread]
    root         8  0.0  0.0      0     0 ?        S<   15:52   0:00 [kacpid]
    root       124  0.0  0.0      0     0 ?        S<   15:52   0:00 [kblockd/0]
    root       127  0.0  0.0      0     0 ?        S    15:52   0:00 [khubd]
    root       173  0.0  0.0      0     0 ?        S    15:52   0:00 [pdflush]
    root       174  0.0  0.0      0     0 ?        S    15:52   0:00 [pdflush]
    root       176  0.0  0.0      0     0 ?        S<   15:52   0:00 [aio/0]
    root       175  0.0  0.0      0     0 ?        S    15:52   0:00 [kswapd0]
    root       263  0.0  0.0      0     0 ?        S    15:52   0:00 [kseriod]
    root       415  0.0  0.0      0     0 ?        S<   15:52   0:00 [ata/0]
    root       419  0.0  0.0      0     0 ?        S    15:52   0:00 [scsi_eh_0]
    root       420  0.0  0.0      0     0 ?        S    15:52   0:00 [scsi_eh_1]
    root       439  0.0  0.0      0     0 ?        S    15:52   0:00 [kjournald]
    root       984  0.0  0.0   1640   564 ?        S<s  15:52   0:00 udevd
    root      1108  0.0  0.0      0     0 ?        S    15:52   0:00 [kgameportd]
    root      1115  0.0  0.0      0     0 ?        S    15:52   0:00 [shpchpd_event]
    root      1324  0.0  0.0      0     0 ?        S    15:52   0:00 [khpsbpkt]
    root      1368  0.0  0.0      0     0 ?        S    15:52   0:00 [knodemgrd_0]
    root      1859  0.0  0.0      0     0 ?        S    15:52   0:00 [kjournald]
    root      1860  0.0  0.0      0     0 ?        S    15:52   0:00 [kjournald]
    root      2180  0.0  0.1   2184  1120 ?        S<s  15:52   0:00 /sbin/dhclient -1 -q -cf /etc/dhclient-eth1.conf -lf /var/lib/dhcp/dhclient-eth1.leases -pf /
    root      2247  0.0  0.1   2180  1076 ?        Ss   15:52   0:00 /sbin/dhclient -1 -q -cf /etc/dhclient-eth1.conf -lf /var/lib/dhcp/dhclient-eth1.leases -pf /
    root      2278  0.0  0.0   1620   620 ?        Ss   15:52   0:00 syslogd -m 0
    root      2280  0.0  0.0   1572   524 ?        Ss   15:52   0:00 klogd -x
    rpc       2350  0.0  0.0   1696   604 ?        Ss   15:52   0:00 portmap
    rpcuser   2367  0.0  0.0   1748   780 ?        Ss   15:52   0:00 rpc.statd
    root      2379  0.0  0.0  11912   620 ?        S<sl 15:52   0:00 auditd
    root      2383  0.0  0.0      0     0 ?        S<   15:52   0:00 [kauditd]
    root      2406  0.0  0.1   4380  1040 ?        Ss   15:52   0:00 rpc.idmapd
    root      2417  0.0  0.0   2156   812 ?        Ss   15:52   0:00 hcid: processing events
    root      2425  0.0  0.0   1612   576 ?        Ss   15:52   0:00 sdpd
    root      2438  0.0  0.0      0     0 ?        S<   15:52   0:00 [krfcommd]
    root      2561  0.0  0.0   1800   752 ?        Ss   15:52   0:00 /usr/sbin/automount --timeout=60 /misc file /etc/auto.misc
    root      2602  0.0  0.0   1792   744 ?        Ss   15:52   0:00 /usr/sbin/automount --timeout=60 /net program /etc/auto.net
    root      2614  0.0  0.0   2744   612 ?        Ss   15:52   0:00 nifd -n
    nobody    2645  0.0  0.1  13440  1072 ?        Ssl  15:52   0:00 mDNSResponder
    root      2653  0.0  0.0   1560   592 ?        Ss   15:52   0:00 /usr/sbin/acpid
    root      2661  0.0  0.2   8396  2328 ?        Ss   15:52   0:00 cupsd
    root      2707  0.0  0.1   4392  1728 ?        Ss   15:52   0:00 /usr/sbin/sshd
    root      2715  0.0  0.0   2180   868 ?        Ss   15:52   0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
    root      2775  0.0  0.1   4376  1236 ?        S    15:52   0:00 /bin/sh /usr/bin/mysqld_safe --defaults-file=/etc/my.cnf --pid-file=/var/run/mysqld/mysqld.pi
    mysql     2805  0.0  1.9 126508 20000 ?        Sl   15:52   0:01 /usr/libexec/mysqld --defaults-file=/etc/my.cnf --basedir=/usr --datadir=/var/lib/mysql --use
    root      2891  0.0  0.0   1772   560 ?        Ss   15:53   0:00 gpm -m /dev/input/mice -t exps2
    root      2908  0.0  0.1   4548  1132 ?        Ss   15:53   0:00 crond
    xfs       2935  0.0  0.1   2932  1244 ?        Ss   15:53   0:00 xfs -droppriv -daemon
    root      2948  0.0  0.0   1796   772 ?        Ss   15:53   0:00 /usr/sbin/atd
    root      2955  0.0  0.0   4436   892 ?        Ss   15:53   0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a shadow
    root      2958  0.0  0.1   4480  1356 ?        S    15:53   0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a shadow
    root      2959  0.0  0.0   4436   892 ?        S    15:53   0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a shadow
    root      2960  0.0  0.0   4436   892 ?        S    15:53   0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a shadow
    root      2961  0.0  0.0   4436   892 ?        S    15:53   0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a shadow
    dbus      2966  0.0  0.1   2568  1300 ?        Ss   15:53   0:00 dbus-daemon --system
    root      2975  0.0  0.2   4444  2844 ?        Ss   15:53   0:00 hald --retain-privileges
    root      2980  0.0  0.0   2144   744 ?        S    15:53   0:00 hald-addon-acpi
    root      2994  0.0  0.0   2148   724 ?        S    15:53   0:01 hald-addon-storage
    root      3097  0.0  0.7  16264  8004 ?        Ss   15:53   0:00 /root/ispconfig/httpd/bin/ispconfig_httpd -DSSL
    root      3098  0.0  0.1   4376  1160 ?        S    15:53   0:00 /bin/bash /root/ispconfig/sv/ispconfig_wconf
    101       3100  0.0  1.0  18472 10924 ?        S    15:53   0:01 /root/ispconfig/httpd/bin/ispconfig_httpd -DSSL
    root      3269  0.0  1.2  25972 13096 ?        Ss   15:53   0:00 /usr/sbin/httpd
    named     3366  0.0  0.2  36480  2840 ?        Ssl  15:53   0:00 /usr/sbin/named -u named -t /var/named/chroot
    nobody    3382  0.0  0.2   5116  2328 ?        Ss   15:53   0:00 proftpd: (accepting connections)
    101       3388  0.0  0.0   2448  1008 ?        Ss   15:53   0:00 /home/admispconfig/ispconfig/tools/clamav/bin/freshclam -d -c 10 --datadir=/home/admispconfig
    root      3393  0.0  0.0   1556   432 tty1     Ss+  15:53   0:00 /sbin/mingetty tty1
    root      3394  0.0  0.0   1556   432 tty2     Ss+  15:53   0:00 /sbin/mingetty tty2
    root      3395  0.0  0.0   1552   424 tty3     Ss+  15:53   0:00 /sbin/mingetty tty3
    root      3396  0.0  0.0   1552   428 tty4     Ss+  15:53   0:00 /sbin/mingetty tty4
    root      3397  0.0  0.0   1552   428 tty5     Ss+  15:53   0:00 /sbin/mingetty tty5
    root      3398  0.0  0.0   1556   464 tty6     Ss+  15:53   0:00 /sbin/mingetty tty6
    101       4662  0.0  1.0  18312 10632 ?        S    16:33   0:01 /root/ispconfig/httpd/bin/ispconfig_httpd -DSSL
    root      5940  0.0  0.0   1596   436 ?        S    17:18   0:00 /root/ispconfig/cronolog --symlink=/var/log/httpd/ispconfig_access_log /var/log/httpd/ispconf
    apache    5941  0.0  1.5  28020 16132 ?        S    17:18   0:00 /usr/sbin/httpd
    apache    5942  0.0  1.5  27616 15712 ?        S    17:18   0:00 /usr/sbin/httpd
    apache    5943  0.0  1.4  27308 15424 ?        S    17:18   0:00 /usr/sbin/httpd
    apache    5944  0.0  1.5  28036 16132 ?        S    17:18   0:00 /usr/sbin/httpd
    apache    5945  0.0  1.4  27196 15288 ?        S    17:18   0:00 /usr/sbin/httpd
    apache    5946  0.0  1.5  27468 15620 ?        S    17:18   0:00 /usr/sbin/httpd
    apache    5947  0.0  1.4  27236 15316 ?        S    17:18   0:00 /usr/sbin/httpd
    apache    5948  0.0  1.5  27604 15736 ?        S    17:18   0:00 /usr/sbin/httpd
    root      6504  0.0  0.1   5636  1524 ?        Ss   17:20   0:00 /usr/libexec/postfix/master
    postfix   6505  0.0  0.1   5688  1508 ?        S    17:20   0:00 pickup -l -t fifo -u
    postfix   6506  0.0  0.1   5736  1588 ?        S    17:20   0:00 qmgr -l -t fifo -u
    apache    6933  0.0  1.5  27488 15640 ?        S    17:24   0:00 /usr/sbin/httpd
    postfix   7091  0.0  0.1   5684  1572 ?        S    17:30   0:00 tlsmgr -l -t unix -u
    apache    7784  0.0  1.5  28136 16284 ?        S    17:55   0:00 /usr/sbin/httpd
    postfix   7840  0.0  0.1   5672  1496 ?        S    17:57   0:00 proxymap -t unix -u
    postfix   7841  0.0  0.1   5696  1824 ?        S    17:57   0:00 trivial-rewrite -n rewrite -t unix -u
    root      7977  0.0  0.2   7412  2308 ?        Ss   18:01   0:00 sshd: [email protected]/0
    root      7980  0.0  0.1   4512  1472 pts/0    Ss   18:01   0:00 -bash
    root      8018  0.0  0.0   3896   548 ?        S    18:01   0:00 sleep 10
    root      8019  0.0  0.0   4484   920 pts/0    R+   18:01   0:00 ps aux
    [[email protected] ~]#
    
     
  9. falko

    falko Super Moderator ISPConfig Developer

    Is Maildir enabled or disabled under Management -> Server -> Settings -> Email? In your case it must be disabled!
     

Share This Page