LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   squid on Microsoft network (https://www.linuxquestions.org/questions/linux-networking-3/squid-on-microsoft-network-204599/)

tuxvader 07-13-2004 03:05 PM

squid on Microsoft network
 
OK here is the deal.. new to the forms but not new to linux.. running Fedora core 1.. got squid working, IE on workstations are working fine.. got http_access for blocked sites set up fine.. got authentication setup right.. all is going well untilll... time to check Email.. no go.. I thought it was a port setting cuz of the ports used on smtp and pop3 but i called those ports safe in squid seems fine.. looked on the fire wall those ports are enabled.. I think it might have something to do with either DNS or Ipforward whitch i do not have either deployed yet.. an one got any Idea's kinda lost and don't know what direction i should go..:Pengy:

Pcghost 07-13-2004 04:54 PM

When you say checking mail, is the mail server running on the same box, or is it external like an ISP mail server? If it is external, you need to set up the port forwarding in the firewall or set up a mail proxy. Squid doesn't do mail.

maxut 07-14-2004 02:04 AM

Quote:

Originally posted by Pcghost
you need to set up the port forwarding in the firewall or set up a mail proxy.
can u please explain mail proxy?

thnx

tuxvader 07-14-2004 02:34 PM

hey pcghost. thanks for the reply.. well we are using an isp email server.. not internal. so the mail server would list like mail.ISP.com using ports 25 and 110 .. so if that helps.. sorry it took so long for me to reply any help would be greatfull.. thanks

Pcghost 07-14-2004 07:34 PM

In that case you have two choices.

1. Set up fetchmail to proxy your Pop3 email, and optionally add spamassassin (spam filter) and ClamAV (virus scanner) and you would be set. This is how I would do it.

2. Write an iptables script which handles the port forwarding needed to get your clients through. This depends on the number of client machines we are talking about.

3. If you want the client machines to have access to the web completely, while refusing inbound connections, set up masquerading in iptables.

tuxvader 07-15-2004 08:14 AM

thanks pcghost.. i think i would setup fetchmail.. and see how that goes.. do you have a link to were i can get it.. or is it installed on the linux box by default..i like the idea of scaning for viruses and spam blocking.. i will let you know how it works out or any questions i might have .. thanks again pcghost

maxut 07-15-2004 11:51 AM

hy tuxvader
i use qmail (spamassasin+clam antivirus) and fetchmail.
u can install qmail + spamassain + qscan and more by reading the great guide at www.qmailrocks.org

if u want poftfix or sendmail as MTA u must find some docs about integrating clam antivirus with it.

as i know fetcmail is installed by the default with fedora 1. if it is not installed, u can find its rpm in your fedora's CDs.

u can add a cron job to get emails from ISP's server per 5 minutes.
when u r root:
#crontab -e
*/5 * * * * fetchmail -f /root/get_emails

the content of /root/get_emails:

poll mail.isp.com with proto pop3
user "username" there with password "pass" is "user@domain.local" here

tuxvader 07-15-2004 12:56 PM

Hey Maxut.. you say fetchmail is in the fedora core cd's .. could you tell me where at ?

tuxvader 07-15-2004 03:54 PM

ok pcghost or maxut i have fetch mail installed.. but where is the config file and do i need to redo it with the --ntlm option for my microsoft workstations? also when i type fetchmail and try and specafiy an email server .. it ask for a password.. whats that all about?


All times are GMT -5. The time now is 06:55 AM.