Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
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.
i am trying to set up a mail server for the company i work for , however i ain't expert in linux
been trying to set the mail up for days and so far only manage to send mail but no success in receiving any
the MTA i am using is postfix , whereas for the POP , IMAP or SMTP , i don really understand but using chkconfig to check it seems like the POP3S, IMAPS are on , as for SMTP dunno about it but i heard it comes with POSTFIX .
the mail that i managed to send out are originated as from user@mailserver.company.com but when i reply to it, the yahoo(which i tested on) mailer daemon returns failure
however if i omited the mailserver out so only user@company.com left , the mailer daemon did not return any error message but the user also did not receive any mail
any help on this would be really appreciated by the way how do we create a mail address for a user? are they automatically created when we add the user to the server?
Ok, yes, your mail users should be automatically added when they are added to the system.
try telnetting into it see if you get a response. Try it first on local host, then from the web to be sure it is not an issue with iptables blocking your port 25, or a firewall blocking port 25.
i 've tried to telnet to localhost 25 from the terminal and it responsed, but when i tried it on the browser http://localhost:25 , it gave me some reply about the port has been disabled for security reason.
please correct me if i am wrong
i then set the port 25 to be opened in the firewall using
'iptables -A INPUT -p tcp --dport 25 -j ACCEPT'
after that i can receive mail from the outside(from yahoo.com) but will this post a security threat since i have heard that port 25 is not a safe port? are there any other ports to replace this one? please enlight me on these
Flibble , thanks for your reply
i think i might have set my MX record correctly , anyway is there any way for me to check it ?
maybe from certain files?
ok, if you can telnet into your machine on port 25 then you have got a working MTA (so to speak) you shouldn't be able to see anythig from your browser, as there is nothing to see.
you DNS records are set when you register your domain name (you site name) and are typically done with a domain registrar. Ie: register.com or Dyndns.org
probably, I am not familiar with postfix... It should list all the names you machine will be known by. IE: mail.domain.com, domain.com, mailsserver.domain.com
err cannot find the files you mention except the one in main.cf which i have posted at the start of this thread
by the way i just found out that i can only send and receive mail using pine,
i tried to configure evolutions with setting : receiving mail (pop.company.com) and sending mail (mail.company.com) but it did not work , maybe i misconfigured evolutions or the postfix main.cf files. any hints on these please thanks
nb: my main.cf is posted at the start of this thread
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.