Discussion Locked

Fetchmail Concept

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have 2 servers running Red Hat 7.2. I would like to test my 2 servers to use fetchmail. One server I have created the DNS (BIND) server as domain1.com and the other one as domain2.edu. Assume that domain1.com is for ISP and domain2.edu as local domain. What are the concepts and steps that I have to follow to configure both in ISP and local? Thank you so much for your assistance.

4 replies

by shanghai sam

For the isp server...
Assuming:
a) You're running sendmail and pop3
b) You don't have your own domain ie using something like comcast.net

This was easiest for me...
Get http://cork.linux.ie/projects/install-sendmail/

This is my .fetchmailrc located in the \root folder:
defaults
# Configuration created whenever by fetchmailconf
set postmaster "postmaster"
set bouncemail
set no spambounce
set properties ""
poll pop3.comcast.net
proto pop3
user "ispusraccnt1" <--- isp user account
pass "whatever"
is linuxuser1 <--- linux mailaccount
fetchall
user "user2"
pass "pass2"
is linuxuser2
fetchall
user "ispuseraccount3"
pass "pass3"
is linuxuser3
For the domain2.edu, just use sendmail's forwarding from the domain1.com
I've not done your exact scenario before, but maybe this will get you going. Also, I'd recomend running webmin, as this is a graphical configurator & should make overall linux management much easier.
Hope I helped.

by choth

Thank you so much for your answer. The question is that I would like to ask you related to the configuration at the ISP part, that I have used one computer in my LAN that I assume it as ISP. For the LAN server I do really know how to create .fetchmailrc. I hope to receive your answer and thank you in advance.

by choth

All I would like to do is that I would like to configure my two servers RHL7.2 that I have configured as domain1.com and another as domain2.edu. Suppose that domain1.com is the ISP. And all the 2 servers use sendmail. I would like to configure domain1.com to be able to send mail to domain2.edu. If the domain1.com sends mails to domain2.edu, in domain2.edu part I use fetchmail to retrieve all mails that send from domain1.com. What should I do to configure domain1.com and domain2.edu. I would be pleased to receiving your response by manual configuring not script. Thank you so much for your assistance.

This discussion is closed to new replies.