PDA

View Full Version : Configure SMTP Port


GHz
14th July 2009, 13:48
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:


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 (http://www.howtoforge.com/perfect-server-debian-lenny-ispconfig3)).

Thanks in advance!

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

till
15th July 2009, 09:45
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, 13:01
No it's an external IP address, not from my internal network

falko
15th July 2009, 14: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, 15: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, 12: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, 13:26
Hmm, that sucks. I'll think about putting my server in some datacenter, thanks!

GHz
22nd July 2009, 19: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, 20: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, 20: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

GHz
23rd July 2009, 22:31
Thanks, going to test it soon. I'm currently on vacation. :)

GHz
26th July 2009, 20:23
Thanks till, you were right, I have no open relay.