View Full Version : can't recieve mail
mihailt
9th March 2007, 00:38
Hi, i just followed perfect setup of ubuntu 6.06 LTS and installed ISP config.
i wanted a nice webmail so i installed roundecube package trough ISP config update function and the problem is that i cannot recieve emails, i can sent without any problems but not recieve. Afterwards i did install squirellmail package and it still the same can sent cannot recieve, anyone had simmular problem? any help is appreciated! thanks.
edge
9th March 2007, 00:48
It sounds like a typical DNS MX error!
Try your domain at www.dnsreport.com (use the DNS report part), and see if your MX is setup okay.
mihailt
9th March 2007, 02:09
here's my reply:
Getting MX record for dda-latvija.info (from local DNS server, may be cached)... Got it!
Host Preference IP(s) [Country]
mail.dda-latvija.info. 10 213.180.108.48 [LV]
Step 1: Try connecting to the following mailserver:
mail.dda-latvija.info. - 213.180.108.48
Step 2: If still unsuccessful, queue the E-mail for later delivery.
Trying to connect to all mailservers:
mail.dda-latvija.info. - 213.180.108.48 [Successful connect: Got a good response [250 Ok]] (took 4.265 seconds)
NOTE: This tool does NOT attempt to determine if an E-mail address exists!
so it's seems to be ok from this point.
till
9th March 2007, 12:17
Please post an excerpt of your mail log.
mihailt
9th March 2007, 13:08
that's what i'm getting after sending an email from gmail
here it is:
Mar 9 13:02:28 server1 imaplogin: LOGIN, user=web1_mihailt, ip=[::ffff:127.0.0.1], protocol=IMAP
Mar 9 13:02:29 server1 imaplogin: LOGOUT, user=web1_mihailt, ip=[::ffff:127.0.0.1], headers=0, body=0, time=1
Mar 9 13:03:04 server1 postfix/smtpd[17349]: connect from wr-out-0506.google.com[64.233.184.239]
Mar 9 13:03:05 server1 postfix/smtpd[17349]: 2EEEA2B03BC: client=wr-out-0506.google.com[64.233.184.239]
Mar 9 13:03:05 server1 postfix/cleanup[17358]: 2EEEA2B03BC: message-id=<36db32ed0703090302s1c84f306g9d5dcfbfbd85eaed@mail. gmail.com>
Mar 9 13:03:05 server1 postfix/qmgr[13189]: 2EEEA2B03BC: from=<mihailt@gmail.com>, size=2218, nrcpt=1 (queue active)
Mar 9 13:03:05 server1 procmail[17360]: Suspicious rcfile "/var/www/web1/.procmailrc"
Mar 9 13:03:06 server1 postfix/local[17359]: 2EEEA2B03BC: to=<web1_mihailt@server1.openengine.lv>, orig_to=<mihailt@dda-latvija.info>, relay=local, delay=2, status=sent (delivered to command: /usr/bin/procmail -f-)
Mar 9 13:03:06 server1 postfix/qmgr[13189]: 2EEEA2B03BC: removed
Mar 9 13:03:08 server1 imaplogin: Connection, ip=[::ffff:127.0.0.1]
Mar 9 13:03:08 server1 imaplogin: LOGIN, user=web1_mihailt, ip=[::ffff:127.0.0.1], protocol=IMAP
falko
9th March 2007, 18:44
Mar 9 13:03:05 server1 procmail[17360]: Suspicious rcfile "/var/www/web1/.procmailrc"
What's the output of ls -la /var/www/web1/ and ls -la/var/www/?
What's the output of netstat -tap?
mihailt
9th March 2007, 19:14
ls -la /var/www/web1/ :
root@server1:/# ls -la /var/www/web1/
total 44
drwxrwxrwx 8 web1_mihailt web1 4096 2007-03-09 13:10 .
drwxr-xr-x 9 root root 4096 2007-03-09 00:30 ..
drwxrwxrwx 2 web1_mihailt web1 4096 2007-03-08 18:34 cgi-bin
-rw------- 1 web1_mihailt web1 24 2007-03-09 13:10 .forward
-rw-rw-r-- 1 root web1 27 2007-03-09 04:00 .htpasswd
drwxrwxrwx 3 web1_mihailt web1 4096 2007-03-09 00:30 log
lrwxrwxrwx 1 root root 39 2007-03-09 13:10 Maildir -> /var/www/web1/user/web1_mihailt/Maildir
drwxrwxrwx 2 web1_mihailt web1 4096 2007-03-08 18:34 phptmp
-rw-r--r-- 1 root root 471 2007-03-09 13:10 .procmailrc
drwxrwxrwx 2 web1_mihailt web1 4096 2007-03-08 18:34 ssl
drwxrwxrwx 3 web1_mihailt web1 4096 2007-03-08 21:47 user
lrwxrwxrwx 1 root root 47 2007-03-09 13:10 .vacation.cache -> /var/www/web1/user/web1_mihailt/.vacation.cache
drwxrwxrwx 5 web1_mihailt web1 4096 2007-03-09 04:00 web
ls -la /var/www/ :
root@server1:/# ls -la /var/www/
total 36
drwxr-xr-x 9 root root 4096 2007-03-09 00:30 .
drwxr-xr-x 15 root root 4096 2007-03-08 16:17 ..
drwxr-xr-x 2 root root 4096 2007-03-08 16:17 apache2-default
drwxr-xr-x 3 root root 4096 2007-03-09 00:30 localhost
drwxr-xr-x 2 root root 4096 2007-03-08 16:43 sharedip
drwxrwxrwx 8 web1_mihailt web1 4096 2007-03-09 13:10 web1
drwxrwxrwx 8 web3_mihailt web3 4096 2007-03-09 12:31 web3
drwxr-xr-x 8 web4_mihailt web4 4096 2007-03-09 12:31 web4
drwxr-xr-x 2 root root 4096 2007-03-08 16:34 webalizer
lrwxrwxrwx 1 www-data web1 13 2007-03-08 18:34 www.dda-latvija.info -> /var/www/web1
lrwxrwxrwx 1 www-data web3 13 2007-03-08 19:19 www.km-sound.lv -> /var/www/web3
lrwxrwxrwx 1 www-data web4 13 2007-03-08 22:35 www.openengine.lv -> /var/www/web4
netstat -tap:
root@server1:/# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:mysql *:* LISTEN 1 2442/mysqld
tcp 0 0 localhost.localdom:3342 *:* LISTEN 4 248/python
tcp 0 0 localhost.localdom:3150 *:* LISTEN 4 224/hpiod
tcp 0 0 *:81 *:* LISTEN 1 8804/ispconfig_htt
tcp 0 0 *:ftp *:* LISTEN 1 3021/proftpd: (acc
tcp 0 0 server1.openengi:domain *:* LISTEN 1 1333/named
tcp 0 0 localhost.locald:domain *:* LISTEN 1 1333/named
tcp 0 0 localhost.localdoma:ipp *:* LISTEN 9 93/cupsd
tcp 0 0 *:smtp *:* LISTEN 1 3184/master
tcp 0 0 localhost.localdoma:953 *:* LISTEN 1 1333/named
tcp 0 0 localhost.localdom:3263 localhost.localdom:3150 ESTABLISHED4 248/python
tcp 1 0 server1.openengine:4809 server1.openengine.l:81 CLOSE_WAIT 6 380/firefox-bin
tcp 0 0 localhost.localdom:3150 localhost.localdom:3263 ESTABLISHED4 224/hpiod
tcp 0 0 server1.openengine:1372 159.148.86.202:www ESTABLISHED6 380/firefox-bin
tcp 0 0 server1.openengine:2108 by1msg5276708.phx.:1863 ESTABLISHED2 2561/gaim
tcp 0 0 server1.openengine:4231 mu-in-f147.google.c:www ESTABLISHED6 380/firefox-bin
tcp 0 0 server1.openengine.l:81 server1.openengine:4809 FIN_WAIT2 -
tcp 0 0 server1.openengine:3321 mg-in-f83.google.co:www ESTABLISHED6 380/firefox-bin
tcp6 0 0 *:imaps *:* LISTEN 1 0003/couriertcpd
tcp6 0 0 *:pop3s *:* LISTEN 9 898/couriertcpd
tcp6 0 0 *:pop3 *:* LISTEN 9 831/couriertcpd
tcp6 0 0 *:imap2 *:* LISTEN 9 944/couriertcpd
tcp6 0 0 *:www *:* LISTEN 2 6426/apache2
tcp6 0 0 *:ssh *:* LISTEN 4 468/sshd
tcp6 0 0 *:smtp *:* LISTEN 1 3184/master
tcp6 0 0 ip6-localhost:953 *:* LISTEN 1 1333/named
tcp6 0 0 *:https *:* LISTEN 2 6426/apache2
tcp6 0 0 localhost.localdo:imap2 localhost.localdom:1242 TIME_WAIT -
falko
10th March 2007, 12:21
Please run
chmod 755 /var/www/web1/
and try again.
mihailt
10th March 2007, 13:23
whoa, thx now it works, but why?
falko
11th March 2007, 20:18
Procmail doesn't like it if you set your permissions too loose (e.g. 777).
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.