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 14th July 2009, 12:48
GHz GHz is offline
Member
 
Join Date: Jul 2009
Location: The Netherlands
Posts: 32
Thanks: 2
Thanked 0 Times in 0 Posts
Default Mail not sending

Hi all,

I have a local test domain from which I wanteed to test if I could send an email to an external domain. But when I send the email, I dont receive anyting on my external mail account. So I checked the mailQueue, and this was in it:

Quote:
2C4865F24 1511 Tue Jul 14 12:32:52 test2@DOMAIN.local
(connect to DOMAIN.eu[xxx.xxx.xxx.xx]:25: Connection refused)
info@DOMAIN.eu
I read somewhere on the forum that this means that amavis isnt running, is this true? If so, How to start amavis? I followed the tutorial for Debian 5.0 (Lenny)(click).

Thanks in advance!

P.S.
Sory for the weird topictitle, but I couldnt change it afterwards

Last edited by GHz; 14th July 2009 at 17:27.
Reply With Quote
Sponsored Links
  #2  
Old 15th July 2009, 08:45
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,483
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

Quote:
I read somewhere on the forum that this means that amavis isnt running, is this true?
no. Thats not your problem. Is the IP address that you xxxx'ed out the IP of the local server?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 15th July 2009, 12:01
GHz GHz is offline
Member
 
Join Date: Jul 2009
Location: The Netherlands
Posts: 32
Thanks: 2
Thanked 0 Times in 0 Posts
Default

No it's an external IP address, not from my internal network
Reply With Quote
  #4  
Old 15th July 2009, 13:46
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 make sure that your server isn't blacklisted: http://mxtoolbox.com/blacklists.aspx

Is the remote server hosted in a data center or somewhere at home/in an office? In the latter case it is possible that the ISP is blocking port 25.
__________________
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 15th July 2009, 14:37
GHz GHz is offline
Member
 
Join Date: Jul 2009
Location: The Netherlands
Posts: 32
Thanks: 2
Thanked 0 Times in 0 Posts
Default

The mailserver I am sending the message from is at home, where I am sending to is Hosted in Amsterdam. I think that you are right about my ISP blocking port 25, how to change that port to another, and also make ISPC check (for checking if the service is up) the other port, not 25?

I have not yet forwarded any ports in my router, but I don't think thath that would solve the problem because thath would only allow me to receive mail from external networks, which isnt needed as of yet, it would also allow me to send mail from an external network to this mailserver which is also not needed as of yet. Sending mails from this mailserver can be done without forwarding any port, right? Sending emails internal works great (sending and receiving)!

Last edited by GHz; 15th July 2009 at 16:44.
Reply With Quote
  #6  
Old 16th July 2009, 11:06
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,483
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

You can not run your mailserver on a different port then 25 as other mailservers will not know which port to use then. You should put your mailserver into a datacenter were you get a fixed IP address.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 16th July 2009, 12:26
GHz GHz is offline
Member
 
Join Date: Jul 2009
Location: The Netherlands
Posts: 32
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Hmm, that sucks. I'll think about putting my server in some datacenter, thanks!
Reply With Quote
  #8  
Old 22nd July 2009, 18:03
GHz GHz is offline
Member
 
Join Date: Jul 2009
Location: The Netherlands
Posts: 32
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Hi again,

It seemed that I had to adjust my ISPs firewall, so it works now. One question though: Is postfix an open relay by default, if so, how to close it?

Thanks!
Reply With Quote
  #9  
Old 22nd July 2009, 19:16
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,483
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

Postfix is no open relay by default and if you followed the installation instructions, your server is no open relay. Use this for testing:

http://www.abuse.net/relay.html
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #10  
Old 22nd July 2009, 19:20
dzudzu dzudzu is offline
Member
 
Join Date: Jun 2009
Location: Serbia
Posts: 64
Thanks: 1
Thanked 6 Times in 6 Posts
 
Default

i don't think it's open relay by default and their web confirms it:

By default, Postfix has a moderately restrictive approach to mail relaying. Postfix forwards mail only from clients in trusted networks, or to domains that are configured as authorized relay destinations

in ispconfig setup any local or password authenticated user can send to anyone
__________________
EonTek.rs - System Engineering

dzudzu
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 issues NewMee Installation/Configuration 7 20th April 2009 18:52
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 17:39
Mail Question: installed smf forum on centos perfect server setup with ispconfig happz Installation/Configuration 7 22nd August 2008 13:15
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
How to install BFD (Brute Force Detection) domino Tips/Tricks/Mods 9 31st March 2006 22:40


All times are GMT +2. The time now is 12:56.


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