Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 need some help setting up Postfix on my Peer to Peer lan. I have a dynamic public IP of 24.195.132.227 which is monitored by a dynamic DNS service that automatically updates my zone file through Zoneedit. My router's IP address is 192.168.2.1, and the linux box is 192.168.2.103. The linux box hostname is web01.home.net. My Internet domain name is compunerdsmedia.com. I am also forwarding ports 25 and 110 on my Linksys router to 192.168.2.103.
I have modified the following items in the main.cf file but so far no mail reaches the server:
Then I stopped and restarted the postfix service, sent frank@compunerdsmedia.com a test email, and checked the /etc/postfix/frank folder to see if there was any mail, but it was 0.
Am I even close on this or do I need to setup the main.cf file with different settings?
Did you take a look at the log file?Or if you can post your maillog file here,I think I can probably solve your problem.
By the way,I think your domain is not home.net.Because I think it's not a FQDN(Fully Qualified Domain Name).Your domain name should be compu..media.com.The hostname value should be changed too.
Last edited by Swift&Smart; 01-25-2004 at 10:47 AM.
home.net should be okay within his network if it's set up that way in /etc/hosts:
192.168.2.103 home.net
It shouldn't matter if it's fully qualified....as long as hosts set it that way you can send mail to user.home.net on a local network. It'll work basically the same as an alias, or so I've seen so far.
the 127.0.0.1 is a loopback....it's set to localhost by default.
If you add another entry to /etc/hosts for your internal IP address, the system will resolve whatever hostname you put there with the internal address. This will need to be done on any machine on your local network that you want to use to email using that hostname.
My ISP doesn't block ports 25, 80, 0r 110, so that seems OK. I changed my hostname to web01.compunerdsmedia.com and then restored my backup of main.cf. Then using webmin I changed only a few settings in the General section and now mail is sitting in my linux mailbox.
Next problem:
No matter how I setup my Outlook Express email account I can't receive mail there. The IPOP3 service is running, so is something else I need to do to pull mail from the Linux mailbox?
Yeah,if your pop3 port is open right now,are you sure that you do have your mail in your mail folder.To check this out,you have to type cat /var/spool/mail/username.If it outputs something,then your mail folder has mail.And next,what imap server or pop3 server did you install?If you installed washington university pop3 server,did you enable pop3??
Please message me again if you have any questions.
Thanks everyone for all the suggestions. I still haven't got outlook to grab mail so I am going to recheck my network settings. I am also considering sendmail because there is more documentation in print.
First off,I have to advise you that don't install sendmail.If you think Postfix is hard to configure,Sendmail is much more complicated!
Yup,did you install imap2000a?It's a POP3 & IMAP4 server software.Please make a check by rpm -qa | grep imap.If nothing output in the screen,please install it.You can download it from rpmfind.net
Secondly,do you have a router or firewall?Please open POP3 port-110.And telnet to the port.If it works,then your POP3 port is open and ready.You should be fine to receive your mail via Outlook.
Your telnet command is correct.And did you enable pop3 by doing vi /etc/rc.d/init.d/xinet.d/pop3 and change the value to enable?<--Last line.I'm sorry that I can't remember the installation path because I am away from home.You can search pop3 configuration file by rpm -ql imap-2000a.And find an output path which is the most similar to the pop3 config file.After you have changed the value,please restart it by doing /etc/rc.d/init.d/xinetd restart.I am sure this is the correct command this time!
The problem was with my MX record settings. I will be out of town for the next few days, but next week I will post a description of what changes I made so others might benefit.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.