#1  
Old 21st October 2010, 06:52
linus3x linus3x is offline
Junior Member
 
Join Date: Oct 2010
Posts: 16
Thanks: 2
Thanked 4 Times in 3 Posts
Default Mail Warn-Log Error

I was going through my log files finishing up a new installation of ISPConfig 3.03 when I discovered this one showing up in my Mail Warn-Log every time I rebooted the server:

linux spamd[2125]: dns: sendto() failed: Operation not permitted at /usr/share/perl5/Mail/SpamAssassin/DnsResolver.pm line 395.

I looked at other posts in the forum and discovered that others have had this problem and the recommended solution was to run through this tutorial:

http://www.faqforge.com/linux/contro...k-connections/

I did that. I verified that fail2ban is no longer writing to iptables. I turned back on the firewall and rebooted.

Same error message.

Since fail2ban is not the culprit, is there a conflict between SpamAssassin and ISPConfig's firewall?
Reply With Quote
Sponsored Links
  #2  
Old 21st October 2010, 13:31
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,804
Thanks: 840
Thanked 5,613 Times in 4,424 Posts
Default

Quote:
Since fail2ban is not the culprit, is there a conflict between SpamAssassin and ISPConfig's firewall?
Thats very unlikely as the ispconfig firewall does not contain any rules for outgoing traffic.

Most likely the system can not reach one or all nameservers that is defined in /etc/resolv.conf. Please check that all nameservers that are listed there are reachable and working. Do not use 127.0.0.1 as nameserver when you have mydns installed. Use external nameservers in that case. With bind you can use 127.0.0.1 as nameserver.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 21st October 2010, 18:00
linus3x linus3x is offline
Junior Member
 
Join Date: Oct 2010
Posts: 16
Thanks: 2
Thanked 4 Times in 3 Posts
Default

Well, if it has something to do with DNS & name servers then I'll have to postpone troubleshooting for now - this is a development box sitting on an internal network behind a firewall and the name server records are still fake at this point. In other words, there's no "glue record" out in the real world, no actual registration record pointing back to this 192.168.x.x IP address.

I'll write a note to revisit this thread once we move to production just in case anyone else is encountering this problem.
Reply With Quote
  #4  
Old 9th November 2010, 03:25
linus3x linus3x is offline
Junior Member
 
Join Date: Oct 2010
Posts: 16
Thanks: 2
Thanked 4 Times in 3 Posts
 
Default

Quick followup: I installed ISPConfig 3 on the production server. It's been up for about a week and I haven't seen the "dns: sendto() failed" error on that box at all so I suspect this was a development box/name server issue - just like till said.

BTW - the errors I saw when ISPConfig's firewall and fail2ban were both writing to iptables looked like this:

Code:
2010-11-02 22:24:33,124 fail2ban.actions.action: ERROR iptables -n -L INPUT | grep -q fail2ban-ssh returned 100
2010-11-02 22:24:33,124 fail2ban.actions.action: ERROR Invariant check failed. Trying to restore a sane environment
Configuring fail2ban to use ip route instead of iptables fixed those errors right up.
Reply With Quote
Reply

Bookmarks

Tags
fail2ban, firewall, ispconfig 3, spamassassin

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
All my mail is going to /var/mail/vmail _sluimers_ Installation/Configuration 21 10th January 2011 14:21
CP210x USB to UART Bridge Linux VCP Drivers(SILICON Labs) perfectpol7 Kernel Questions 13 9th November 2010 08:30
LB1 Not Taking Over Shared IP Using Heartbeat 2.1.3 On FC10 64Bit asyadiqin Installation/Configuration 5 11th February 2009 21:11
Spamassassin Issue Last_resort_33 Server Operation 8 4th September 2008 22:06
Frustrated with ISPConfig install! woozyerdaddee Installation/Configuration 4 19th May 2006 04:38


All times are GMT +2. The time now is 06:05.


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