Link to home
Start Free TrialLog in
Avatar of geisha1
geisha1

asked on

Mail Handling under Linux

My mail server runs under Redhat Linux 3.0ES.
A mail is fetched from the POP3 account by fetchmail and forwarded to the local mail server (sendmail). This then transfers the mail to procmail, which then saves the mail to a local mailbox sorting mail into different users. I'm not sure if procmail or fetchmail is the one that sorts the emails into different users. Then users using outlook retrieves their messages.
We need that people can retrieve their email from outside of the company and I'm not sure how we can do this. I need help!!!

Thanks

Avatar of blkline
blkline

You need two things:

1) IMAP or POP3 server (which you can get in the "imap" RPM)  Apparently you have this already because the users can accesss their mail internally.
2) A route to the host from the outside of the company.

You didn't say whether the server in question is inside or outside of your firewall.   Give a few more details and we can go from there.
Avatar of geisha1

ASKER

Thanks for your quick response.

I'm a newbie in linux so I'm not sure what you mean when you said "imad" RPM".  Where I can verify this configuration? I do know that when users configures their email addres in outlook they use the POP3 option.

2) How I can do that?

We use squid as our firewall and is in the same server. We are planning to buy an external firewall but we are still evaluating different firewalls. We need that the firewall we choose works with VPN too. So any recommendation is welcome.

ASKER CERTIFIED SOLUTION
Avatar of blkline
blkline

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
> people can retrieve their email from outside of the company and I'm not sure how we can do this
Through Outlook (Express) or web browser?

Through Outlook Express, you need to start pop3d, it's included in RHEL 3.0.

Throught web browser, you need webmail plug-in like SquirrelMail. it's also included in RHEL 3.0.

Wesly
Avatar of geisha1

ASKER

Yes, the Outlook clients connect to the server to retrieves their mail. But they only can do this internally but not from outside of the company.
As I'm new working with linux and administrating it, I'm sending you the output of the cat /etc/sysconfig/iptables so you can help me configure it correctly.

Thanks,

# Generated by iptables-save v1.2.8 on Mon Aug 23 12:35:03 2004
*nat
:PREROUTING ACCEPT [5845:2359956]
:POSTROUTING ACCEPT [34:2384]
:OUTPUT ACCEPT [37:2278]
-A PREROUTING -i eth1 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128
-A POSTROUTING -o eth0 -j SNAT --to-source 66.231.165.70
COMMIT
# Completed on Mon Aug 23 12:35:03 2004
# Generated by iptables-save v1.2.8 on Mon Aug 23 12:35:03 2004
*mangle
:PREROUTING ACCEPT [12831:2820798]
:INPUT ACCEPT [6989:460978]
:FORWARD ACCEPT [5837:2357800]
:OUTPUT ACCEPT [6987:461492]
:POSTROUTING ACCEPT [12823:2818860]
COMMIT
# Completed on Mon Aug 23 12:35:03 2004
# Generated by iptables-save v1.2.8 on Mon Aug 23 12:35:03 2004
*filter
:FORWARD DROP [0:0]
:INPUT DROP [0:0]
:OUTPUT DROP [0:0]
COMMIT
# Completed on Mon Aug 23 12:35:03 2004
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial