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
  #11  
Old 17th December 2009, 10:16
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

I count 8 connections from the same IP within 1 second when it started to throw this error, that's more then 4 ;-)

Why so many connections from the same ip at once? Are you collecting pop boxes batchwise or something?

Code:
Dec 6 20:04:34 server1 pop3d: Maximum connection limit reached for ::ffff:213.177.138.57
Dec 6 20:04:34 server1 pop3d: Maximum connection limit reached for ::ffff:213.177.138.57
Dec 6 20:04:34 server1 pop3d: Maximum connection limit reached for ::ffff:213.177.138.57
Dec 6 20:04:34 server1 pop3d: Maximum connection limit reached for ::ffff:213.177.138.57
Dec 6 20:04:34 server1 pop3d: Maximum connection limit reached for ::ffff:213.177.138.57
Dec 6 20:04:34 server1 pop3d: Maximum connection limit reached for ::ffff:213.177.138.57
Dec 6 20:04:34 server1 pop3d: Maximum connection limit reached for ::ffff:213.177.138.57
Dec 6 20:04:34 server1 pop3d: Maximum connection limit reached for ::ffff:213.177.138.57
Reply With Quote
Sponsored Links
  #12  
Old 17th December 2009, 20:16
LinuxGuyMT LinuxGuyMT is offline
Junior Member
 
Join Date: Oct 2009
Posts: 11
Thanks: 3
Thanked 0 Times in 0 Posts
Unhappy

No, I am not

I think it is a script that is trying to hack into my mail server but it's cutting him off at 4 attempts. However that is not my problem the mail server is not accepting mail or allowing me to send mail out. Says Relaying not allowed. I send a test mail to a test email on the server and it returns it saying address rejected.


Thank you,
LinuxGuyMT
Reply With Quote
  #13  
Old 18th December 2009, 09:08
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

"Relaying not allowed" that's an important thing you said there ;-)

in your main.cf you define the "mydestination", the value of that setting will tell postfix which domains have theire email hosted on the server. For example:

Code:
mydestination = localhost, foo.tld, bar.tld
That means, the server will accept email for localhost, foo.tld and bar.tld

now if you want to send an email to "LinuxGuyMT@foo.tld" the message will be delivered on the server.

but if you'd send an email to MarkNL@other.tld .. the server checks mydestination, and notices "other.tld" is not in that list, so it will try to find the server that hosts "other.tld" and will send it to the correct server.
That is called "relaying". Relaying is only allowed if the person sending that email authenticates himself with the server. (unautorized relaying is disabled by default to prevent spammer from abusing your mailserver to send spam)

So in short: When you want to send mail via your mailserver, enable SMTP authentication and use your user/pass, problem solved

p.s. if you want to get rid of that "hacker", block him in iptables (firewall):
Block: iptables -A INPUT -s 213.177.138.57 -j DROP
Remove Block: iptables -D INPUT -s 213.177.138.57 -j DROP
Reply With Quote
The Following User Says Thank You to Mark_NL For This Useful Post:
LinuxGuyMT (19th December 2009)
  #14  
Old 18th December 2009, 20:21
LinuxGuyMT LinuxGuyMT is offline
Junior Member
 
Join Date: Oct 2009
Posts: 11
Thanks: 3
Thanked 0 Times in 0 Posts
Lightbulb Ok not returning mail but now not delivering to the inbox

Ok, we got the Relaying not allowed problem fix, but when I send a test mail as you said from another account. It doesn't show up in my inbox, were making some progress here I think. The server is almost up and running. This is what I get when I send a email from my AOL account to my mail server:


----- The following addresses had permanent fatal errors ----- <Brianmissoula@candyhostinghub.net>
(reason: 550 #5.1.0 Address rejected Brianmissoula@candyhostinghub.net)

----- Transcript of session follows ----- ... while talking to smtp.secureserver.net.:
>>> RCPT To:<Brianmissoula@candyhostinghub.net>
<<< 550 #5.1.0 Address rejected Brianmissoula@candyhostinghub.net 550 5.1.1 <Brianmissoula@candyhostinghub.net>... User unknown


However, I goto ISPConfig and the email account is in the ISPconfig control panel. Can anyone provide any ideas as to why I can not get incoming email still? The Outgoing Part is Running fine now.

Last edited by LinuxGuyMT; 19th December 2009 at 12:42.
Reply With Quote
  #15  
Old 19th December 2009, 16:20
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Please check if the MX record is pointing to the right server:
Code:
dig mx candyhostinghub.net
__________________
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
The Following User Says Thank You to falko For This Useful Post:
LinuxGuyMT (21st December 2009)
  #16  
Old 21st December 2009, 00:57
LinuxGuyMT LinuxGuyMT is offline
Junior Member
 
Join Date: Oct 2009
Posts: 11
Thanks: 3
Thanked 0 Times in 0 Posts
Unhappy

Quote:
Originally Posted by falko View Post
Please check if the MX record is pointing to the right server:
Code:
dig mx candyhostinghub.net
Thank you, That was my issue now my newest problem is as follows I send a test mail to the server and the mail server returns my mail saying as follows:

This is the mail system at host server1.candyhostinghub.net.

I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can delete your own text from the attached returned message.

The mail system

<Brianmissoula@candyhostinghub.net>: mail for candyhostinghub.net loops back to myself


Any Ideas on how to fix this? I have never gotten a error like this before from my mail server.


Thanks,
LinuxGuyMT


UPDATE:I Figure it out, it was a advanced email routing option that I needed to remove. Please Disregard I am up 100% now.

Last edited by LinuxGuyMT; 21st December 2009 at 02:09. Reason: Problem Fixed, Updated to Inform.
Reply With Quote
  #17  
Old 21st December 2009, 10:06
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

Nice work, so everything is up and running as you would like to?
Reply With Quote
The Following User Says Thank You to Mark_NL For This Useful Post:
LinuxGuyMT (21st December 2009)
  #18  
Old 21st December 2009, 10:35
LinuxGuyMT LinuxGuyMT is offline
Junior Member
 
Join Date: Oct 2009
Posts: 11
Thanks: 3
Thanked 0 Times in 0 Posts
 
Thumbs up

Quote:
Originally Posted by Mark_NL View Post
Nice work, so everything is up and running as you would like to?
Yes, everything is up and running as I would like to. Thank you everyone for working with me on this it took a few days but as a team we got it figured out. HOORAH!

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
Postfix Timeout after DATA from some emails treeman Server Operation 13 25th September 2013 12:51
Postfix + postfixadmin = SMTP errors... Rashef Server Operation 4 25th June 2009 16:12
procmail can't write Hellbound General 27 8th June 2009 21:51
postfix, pop3 uvbnserved Server Operation 22 24th May 2009 21:00
Exim Gateway with mailwatch (Unable to receive emails) siul0_0 HOWTO-Related Questions 10 8th May 2009 23:00


All times are GMT +2. The time now is 09:54.


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