Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th April 2008, 14:58
Txchaser Txchaser is offline
Junior Member
 
Join Date: Mar 2008
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Txchaser Send a message via Yahoo to Txchaser
Question 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.
Reply With Quote
Sponsored Links
  #2  
Old 4th April 2008, 16:35
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,478
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

Any error messages in the mail.log file?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 4th April 2008, 16:52
Txchaser Txchaser is offline
Junior Member
 
Join Date: Mar 2008
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Txchaser Send a message via Yahoo to Txchaser
Default searching for log

I have been searching for the error log. Where would this log be located?
Reply With Quote
  #4  
Old 5th April 2008, 20:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

It's in the /var/log directory.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 5th April 2008, 23:58
Txchaser Txchaser is offline
Junior Member
 
Join Date: Mar 2008
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Txchaser Send a message via Yahoo to Txchaser
Default 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.
Attached Files
File Type: txt mail.txt (16.7 KB, 205 views)
Reply With Quote
  #6  
Old 6th April 2008, 00:16
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Send a message via Skype™ to Hans
Default

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
Reply With Quote
  #7  
Old 11th April 2008, 18:00
Txchaser Txchaser is offline
Junior Member
 
Join Date: Mar 2008
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Txchaser Send a message via Yahoo to Txchaser
Question 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?
Reply With Quote
  #8  
Old 12th April 2008, 17:48
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

What's the output of
Code:
ls -la /etc/postfix
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 12th April 2008, 17:52
Txchaser Txchaser is offline
Junior Member
 
Join Date: Mar 2008
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Txchaser Send a message via Yahoo to Txchaser
Default 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:~ #
Reply With Quote
  #10  
Old 13th April 2008, 20:23
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

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
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail server using Postfix, Dovecot, Mysql... Postfix virtual maps doesn't work?? tarasbuljba HOWTO-Related Questions 33 28th May 2010 14:33
procmail can't write Hellbound General 27 8th June 2009 21:51
Postfix reject connections gabrix Server Operation 27 25th January 2007 08:37
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 12:16
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs ebbay Installation/Configuration 9 4th March 2006 11:47


All times are GMT +2. The time now is 04:48.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.