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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd March 2010, 18:22
killerwake killerwake is offline
Junior Member
 
Join Date: Mar 2010
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default running own nameserver & ispconfig 3

hi first of all congratz for ispconfig, it's awsome!

i had some domains registered at fxdomains and i was using ispconfig 2, i followed the tutorial and on my registrar i setup the hosts to the domain example.com

registrar:
ns1.example.com -> xxx.xxx.xxx
ns2.example.com -> xxx.xxx.xxx

domain: philadelphia.com
nameserver1:ns1.example.com
nameserver2:ns2.example.com

and on ispconfig 2 i setup on dns check with intodns.com and everything works like a charm, last week i upgrade to ispconfig 3 but i can't make it working can you explain what changes do i have to do?
Reply With Quote
Sponsored Links
  #2  
Old 2nd March 2010, 18:51
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

Go to the ispconfig 3 dns module, and add the domain by using the dns wizard.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 3rd March 2010, 16:25
killerwake killerwake is offline
Junior Member
 
Join Date: Mar 2010
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks till, it's more easy to use the wizard.

another problem is i found this error on mail logs:
Mar 3 16:18:54 ns310931 amavis[3993]: (03993-14) (!!)WARN: all primary virus scanners failed, considering backups
Reply With Quote
  #4  
Old 3rd March 2010, 18:40
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

Please check if the clamav daemon is running.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 3rd March 2010, 22:24
killerwake killerwake is offline
Junior Member
 
Join Date: Mar 2010
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

clamd (pid 3776) is running...
Reply With Quote
  #6  
Old 4th March 2010, 18:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Can you post the clamd section of your amavisd.conf? I guess the paths are not correct.
__________________
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
  #7  
Old 4th March 2010, 18:33
killerwake killerwake is offline
Junior Member
 
Join Date: Mar 2010
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i have several conf files, wich one amavis use? centos 5.4 x64

[root@ns310931 amavisd]# locate amavisd.conf
/etc/amavisd.conf
/etc/amavisd/amavisd.conf
/etc/authlib/amavisd.conf~
/usr/share/doc/amavisd-new-2.6.4/amavisd.conf
/usr/share/doc/amavisd-new-2.6.4/amavisd.conf-default
/usr/share/doc/amavisd-new-2.6.4/amavisd.conf-sample
/usr/share/doc/amavisd-new-2.6.4/amavisd.conf.orig


@av_scanners = (

# ### http://www.clanfield.info/sophie/ (http://www.vanja.com/tools/sophie/)
# ['Sophie',
# \&ask_daemon, ["{}/\n", '/var/run/sophie'],
# qr/(?x)^ 0+ ( : | [\000\r\n]* $)/, qr/(?x)^ 1 ( : | [\000\r\n]* $)/,
# qr/(?x)^ [-+]? \d+ : (.*?) [\000\r\n]* $/ ],

# ### http://www.csupomona.edu/~henson/www...cts/SAVI-Perl/
# ['Sophos SAVI', \&sophos_savi ],

# ### http://www.clamav.net/
['ClamAV-clamd',
\&ask_daemon, ["CONTSCAN {}\n", "/var/spool/amavisd/clamd.sock"],
qr/\bOK$/, qr/\bFOUND$/,
qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],
# # NOTE: run clamd under the same user as amavisd, or run it under its own
# # uid such as clamav, add user clamav to the amavis group, and then add
# # AllowSupplementaryGroups to clamd.conf;
# # NOTE: match socket name (LocalSocket) in clamav.conf to the socket name in
# # this entry; when running chrooted one may prefer socket "$MYHOME/clamd".

# ### http://www.clamav.net/ and CPAN (memory-hungry! clamd is preferred)
# # note that Mail::ClamAV requires perl to be build with threading!
# ['Mail::ClamAV', \&ask_clamav, "*", [0], [1], qr/^INFECTED: (.+)/],
Reply With Quote
  #8  
Old 5th March 2010, 14:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Should be /etc/amavisd/amavisd.conf. Does /var/spool/amavisd/clamd.sock exist?
__________________
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 5th March 2010, 16:23
killerwake killerwake is offline
Junior Member
 
Join Date: Mar 2010
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

thanks for you help falko, i found the problem. i made the ispconfig perfect setup for centos 5.4 x64 but by default amavisd reads the /etc/amavisd.conf on the /etc/init.d/amavisd i changed to /etc/amavisd/amavisd.conf and have to do:
ln -s /var/run/clamav/clamd.sock /var/spool/amavisd/clamd.sock

because in centos /var/spool/amavisd/clamd.sock doesn't exist!

Problem solved!

Last edited by killerwake; 7th March 2010 at 02:34.
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
Fedora 4 TPS mail problem Hagforce HOWTO-Related Questions 13 10th February 2010 18:23
Ispconfig and Mail quese shridhar Installation/Configuration 2 8th August 2009 10:36
Move /var to new drive on Debian Etch running ISPConfig McMadd Installation/Configuration 1 12th January 2008 17:14
do i need ispconfig running? PortMan General 3 28th July 2006 09:13
ISPConfig stop running nms General 3 23rd February 2006 22:20


All times are GMT +2. The time now is 00:58.


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