Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
01-16-2011, 02:35 PM
|
#1
|
LQ Newbie
Registered: Jan 2011
Posts: 15
Rep:
|
PostFix MailServer + DynDNS + centOS
I have a centos mailserver setup with postfix with webmin. I can send email from the server but i cant receive email back. My ISP is not blocking port 25. what can i do so i can receive email. Also i heard that some mail providers block dynamic IPs what can i do so my email can go through to others like hotmail. Thank you
PS Ive been banging my head since the morning trying to figure this out and yes im a noob. So if possible please help me out.
|
|
|
01-16-2011, 02:39 PM
|
#2
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
Quote:
Also i heard that some mail providers block dynamic IPs what can i do so my email can go through to others like hotmail. Thank you
|
Get a static IP
Do you have a domainname, and did you setup the MX records?
Kind regards
|
|
|
01-16-2011, 02:46 PM
|
#3
|
LQ Newbie
Registered: Jan 2011
Posts: 15
Original Poster
Rep:
|
yes i have a domain name and im able to set up mx records with dyndns. but i still cant receive email i think my postfix might not be configured correctly. I currently cant afford a static ip. But while i was waiting for a reply i did manage to find out about smtp relay using your isp or something. Can somebody share some insights on that. thank you
|
|
|
01-16-2011, 02:51 PM
|
#4
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
Quote:
i did manage to find out about smtp relay using your isp or something.
|
take a look at
http://www.postfix.org/BASIC_CONFIGURATION_README.html
What happens if you telnet to the server at port 25 from the server, and from the outside?
Did you forward port 25 to the server at the router?
Is the mailserver running?
Firewall?
What are the errormessages?
Kind regards
Last edited by repo; 01-16-2011 at 02:53 PM.
|
|
|
01-16-2011, 02:54 PM
|
#5
|
LQ Newbie
Registered: Jan 2011
Posts: 15
Original Poster
Rep:
|
I cant telnet telnet at all im thinking because it is blocked. but i did manage to ssh using port 25. Also for testing purposes i put my server on dmz so the router forwards all ports to the server. I also disabled the firewall just so i can exclude other options from giving problems.
|
|
|
01-16-2011, 02:57 PM
|
#6
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
what is the output from
Code:
telnet 127.0.0.1 25
on the server
Kind regards
|
|
|
01-16-2011, 03:03 PM
|
#7
|
LQ Newbie
Registered: Jan 2011
Posts: 15
Original Poster
Rep:
|
trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 cyberneticcore.home ESMTP Postfix
|
|
|
01-16-2011, 03:05 PM
|
#8
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
So the mailserver is running and listening.
Try to do the same from the outside.
Kind regards
|
|
|
01-16-2011, 03:07 PM
|
#9
|
LQ Newbie
Registered: Jan 2011
Posts: 15
Original Poster
Rep:
|
trying 72.2**.2*.**...
Connected to **********.net,.
220 cyberneticcore.home ESMTP Postfix
|
|
|
01-16-2011, 03:08 PM
|
#10
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
What are the error messages when you sent a mail from the outside to your server?
Kind regards
|
|
|
01-16-2011, 03:15 PM
|
#11
|
LQ Newbie
Registered: Jan 2011
Posts: 15
Original Poster
Rep:
|
I didn't get any but i never received an email. i have mobileme When i send it to my mobileme email mobileme receives instantly. When i replay in mobile me to my mailserver i dont get email
|
|
|
01-16-2011, 03:17 PM
|
#12
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
When you sent a mail, you should receive an error message when it's not delivered.
Any pointers in the logfiles from the server?
Kind regards
|
|
|
01-16-2011, 03:46 PM
|
#13
|
LQ Newbie
Registered: Jan 2011
Posts: 15
Original Poster
Rep:
|
i just tried installing another virtual server with ubuntu and ehcp the same problem
---------- Post added 01-16-11 at 04:46 PM ----------
how do i check logfiles
|
|
|
01-16-2011, 03:48 PM
|
#14
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
Look in the /var/log directory
In general it's maillog
Do you get errors when you sent mail from the outside to the server?
Kind regards
|
|
|
01-16-2011, 03:52 PM
|
#15
|
LQ Newbie
Registered: Jan 2011
Posts: 15
Original Poster
Rep:
|
no i have not received any errors yet on the outside server
|
|
|
All times are GMT -5. The time now is 02:17 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|