HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Configure SMTP Port (http://www.howtoforge.com/forums/showthread.php?t=37426)

GHz 14th July 2009 12:48

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

till 15th July 2009 08:45

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?

GHz 15th July 2009 12:01

No it's an external IP address, not from my internal network

falko 15th July 2009 13:46

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.

GHz 15th July 2009 14:37

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)!

till 16th July 2009 11:06

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.

GHz 16th July 2009 12:26

Hmm, that sucks. I'll think about putting my server in some datacenter, thanks!

GHz 22nd July 2009 18:03

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!

till 22nd July 2009 19:16

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

dzudzu 22nd July 2009 19:20

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


All times are GMT +2. The time now is 18:13.

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