
4th April 2008, 14:58
|
|
Junior Member
|
|
Join Date: Mar 2008
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Can not send mail out to any outside domain
I have ISP Config installed and set up. I think everything is correct but it must not be. I installed Squirrelmail, made sure all ports are open on ISP Config. checked my local ports and everything is open as far as I know but might not be set to the right port #'s maybe. I can receive e-mail from everyone. In Squirrelmail I can compose and then click send it says the message has been delivered but the recipient never gets it. This is not just with specific addresses as I have seen in the past post. This happens no matter where I am sending the e-mail to. Also there is an attachment that comes in with every e-mail no matter where its comming from. here is the attachment.
SquirrelMail notice messages
Category: PHP
Message: preg_split() expects parameter 4 to be long, string given
FILE: /home/admispconfig/ispconfig/web/squirrelmail/functions/imap_messages.php
LINE: 926
Category: PHP
Message: Invalid argument supplied for foreach()
FILE: /home/admispconfig/ispconfig/web/squirrelmail/functions/mime.php
LINE: 52
Can someone help me out to figure out why mail is not sending out and why this notice message comes in with every e-mail as well. It would be greatly appreciated.
|

4th April 2008, 16:35
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,903
Thanks: 693
Thanked 4,195 Times in 3,212 Posts
|
|
Any error messages in the mail.log file?
|

4th April 2008, 16:52
|
|
Junior Member
|
|
Join Date: Mar 2008
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
searching for log
I have been searching for the error log. Where would this log be located?
|

5th April 2008, 20:54
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
It's in the /var/log directory.
|

5th April 2008, 23:58
|
|
Junior Member
|
|
Join Date: Mar 2008
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
error log from past couple days
ok think i found the right error log. Here is what it shows from the last couple of days. This is from mail.err log -- mail.info is attached
Apr 3 09:56:22 linux postfix/postfix-script: fatal: the Postfix mail system is not running
Apr 3 10:00:15 linux postfix/postfix-script: fatal: the Postfix mail system is not running
Apr 3 10:00:26 linux postfix/postfix-script: fatal: the Postfix mail system is not running
Apr 3 10:02:25 linux postfix/postfix-script: fatal: the Postfix mail system is not running
Apr 3 10:02:39 linux postfix/postfix-script: fatal: the Postfix mail system is not running
Apr 3 10:39:00 linux postfix/postfix-script: fatal: the Postfix mail system is not running
Apr 3 10:54:35 linux postfix/postfix-script: fatal: the Postfix mail system is not running
Apr 3 14:47:30 svr1 freshclam[30557]: getpatch: Can't download daily-5111.cdiff from database.clamav.net
Apr 3 14:47:30 svr1 freshclam[30557]: getpatch: Can't download daily-5111.cdiff from database.clamav.net
Apr 3 14:47:31 svr1 freshclam[30557]: getpatch: Can't download daily-5111.cdiff from database.clamav.net
Apr 3 15:16:54 svr1 postfix/postmap[31520]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Apr 3 15:20:00 svr1 postfix/postmap[31827]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Apr 3 15:24:03 svr1 postfix/postmap[32044]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Apr 3 15:41:08 svr1 postfix/postmap[311]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Apr 3 15:49:28 svr1 postfix/postmap[1146]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Apr 3 15:55:18 svr1 postfix/sendmail[1529]: fatal: No recipient addresses found in message header
Apr 3 15:57:52 svr1 postfix/sendmail[1837]: fatal: No recipient addresses found in message header
Apr 3 16:00:55 svr1 postfix/postmap[2224]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Apr 3 16:23:22 svr1 postfix/postmap[3128]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Apr 3 16:23:38 svr1 postfix/postmap[3475]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Apr 3 16:25:12 svr1 postfix/postmap[3724]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Apr 3 16:26:26 svr1 postfix/postmap[4074]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Apr 3 16:27:39 svr1 postfix/postmap[4325]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Apr 3 16:29:12 svr1 postfix/postmap[4620]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Apr 3 16:33:06 svr1 postfix/postmap[5014]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Apr 3 16:35:45 svr1 postfix/postmap[5587]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Apr 3 16:36:11 svr1 postfix/postmap[5955]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Apr 4 12:19:00 svr1 freshclam[4041]: getfile: Error while reading database from database.clamav.net (IP: 65.110.48.11)
Apr 4 12:19:00 svr1 freshclam[4041]: getpatch: Can't download daily-6585.cdiff from database.clamav.net
Apr 4 16:19:38 svr1 freshclam[4083]: getfile: Error while reading database from database.clamav.net (IP: 65.110.48.11)
Apr 4 16:19:38 svr1 freshclam[4083]: getpatch: Can't download daily-6590.cdiff from database.clamav.net
Hope that these 2 will help ty for your support in this.
|

6th April 2008, 00:16
|
|
Moderator
|
|
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,252
Thanks: 208
Thanked 642 Times in 291 Posts
|
|
One of the problem is that for any reason your Postfix MTA is not running.
Try to start it with the command: /etc/init.d/postfix start
__________________
Hans
BB-Hosting | Quality Web Hosting since 2005
|

11th April 2008, 18:00
|
|
Junior Member
|
|
Join Date: Mar 2008
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Still no luck
sry took a while to reply I have been away. I tried starting the posfix like you had said and still no luck on sending an e-mail out to anyone. Anything else I should check?
|

12th April 2008, 17:48
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
What's the output of
Code:
ls -la /etc/postfix
?
|

12th April 2008, 17:52
|
|
Junior Member
|
|
Join Date: Mar 2008
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
output of ls -la /etc/postfix
svr1:~ # ls -la /etc/postfix
total 396
drwxr-xr-x 3 root root 4096 Apr 11 19:12 .
drwxr-xr-x 79 root root 12288 Apr 11 23:59 ..
-rw-r--r-- 1 root root 11942 Nov 25 2006 LICENSE
-rw-r--r-- 1 root root 1629 Nov 25 2006 TLS_LICENSE
-rw-r--r-- 1 root root 17832 Nov 25 2006 access
-rw-r--r-- 1 root root 12288 Apr 3 09:56 access.db
-rw-r--r-- 1 root root 3606 Nov 25 2006 bounce.cf.default
-rw-r--r-- 1 root root 11175 Nov 25 2006 canonical
-rw-r--r-- 1 root root 12288 Apr 3 09:56 canonical.db
-rw-r--r-- 1 root root 449 Nov 25 2006 dynamicmaps.cf
-rw-r--r-- 1 root root 9920 Nov 25 2006 generic
-rw-r--r-- 1 root root 16838 Nov 25 2006 header_checks
-rw-r--r-- 1 root root 328 Apr 10 18:53 local-host-names
-rw-r--r-- 1 root root 328 Apr 10 18:53 local-host-names~
-rw-r--r-- 1 root root 28075 Apr 3 14:47 main.cf
-rw-r--r-- 1 root root 27956 Apr 3 12:11 main.cf.SuSEconfig
-rw-r--r-- 1 root root 122 Nov 25 2006 main.cf.default
-rw-r--r-- 1 root root 27965 Apr 3 14:47 main.cf.orig
-rw-r--r-- 1 root root 1020 Nov 25 2006 makedefs.out
-rw-r--r-- 1 root root 4006 Apr 3 10:39 master.cf
-rw-r--r-- 1 root root 3942 Apr 3 10:39 master.cf.2008-04-03
-rw-r--r-- 1 root root 2255 Nov 25 2006 openssl_postfix.conf.in
-rwxr-xr-x 1 root root 22086 Nov 25 2006 post-install
-rw-r--r-- 1 root root 14887 Nov 25 2006 postfix-files
-rwxr-xr-x 1 root root 6366 Nov 25 2006 postfix-script
-rw-r--r-- 1 root root 199 Nov 25 2006 relay_ccerts
-rw-r--r-- 1 root root 12288 Apr 3 09:56 relay_ccerts.db
-rw-r--r-- 1 root root 6805 Nov 25 2006 relocated
-rw-r--r-- 1 root root 12288 Apr 3 09:56 relocated.db
-rw------- 1 root root 172 Nov 25 2006 sasl_passwd
-rw------- 1 root root 12288 Apr 3 09:56 sasl_passwd.db
-rw-r--r-- 1 root root 412 Nov 25 2006 sender_canonical
-rw-r--r-- 1 root root 12288 Apr 3 09:56 sender_canonical.db
drwxr-xr-x 2 root root 4096 Apr 3 11:59 ssl
-rw-r--r-- 1 root root 12081 Nov 25 2006 transport
-rw-r--r-- 1 root root 12288 Apr 3 09:56 transport.db
-rw-r--r-- 1 root root 11984 Nov 25 2006 virtual
-rw-r--r-- 1 root root 12288 Apr 3 09:56 virtual.db
-rw-r--r-- 1 root root 367 Apr 10 18:53 virtusertable
-rw-r--r-- 1 root root 12288 Apr 10 18:53 virtusertable.db
-rw-r--r-- 1 root root 367 Apr 10 18:53 virtusertable~
svr1:~ #
|

13th April 2008, 20:23
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Please run
Code:
postmap /etc/postfix/virtusertable
and restart Postfix.
Can you also post the output of
Code:
ls -la /var/spool/postfix/etc/postfix
?
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 04:02.
|
|
Recent comments
22 hours 14 min ago
1 day 4 hours ago
1 day 8 hours ago
1 day 10 hours ago
1 day 18 hours ago
2 days 4 hours ago
2 days 5 hours ago
2 days 8 hours ago
2 days 13 hours ago
2 days 13 hours ago