Re: [newbie] Postfix and POP3
On Thursday 17 July 2003 00:28, Stephen Kuhn wrote: Hi! Stephen! and Folks! This JUST what I want to do! The problem is I'm just a wannabe techie! I can put several things into work but, this ONE I can't 'till now! My server is all set but I can't read email from it (from a any other machine on my soho-lan, can send it though!) Can you point the way? For example on Kmail (on a networked box) how should I tell the machine to look on /var/something/ for the incoming mail? What services should be UP an running to provide this? Everything is just fine on my mdk9.1 server! But I would like to stop using it to read/send email. Why not use FETCHMAIL to snag the mail for everyone and toss it to their accounts on the linux box, then the incoming mail can be run through PROCMAIL and milter and SpamAssassin, then have all the boxes on the lan access the mail via either IMAP or POP3 from the linux box...? And you can set up all the outbound SMTP to run through that same linux box so that it can be scanned with like CLAMAV on it's way out...ay? -- == Linux user # 102240 = [EMAIL PROTECTED] user = [EMAIL PROTECTED] == AntiVir for UNIX Copyright (C) 1994-2002 by H+BEDV Datentechnik GmbH. All rights reserved. For more information see http://www.antivir.de/ or http://www.hbedv.com/ Sun, 20 Jul 2003 03:25:00 -0300 03:25:00 up 9 days, 13:05, 4 users, load average: 2.07, 2.36, 2.51 I own seven-eighths of all the artists in downtown Burbank! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Thursday 17 July 2003 04:54, JoeHill wrote: On 17 Jul 2003 14:20:22 +1000 Sorry Stephen and Folks! I hadn't seen this before sending the help request! In case you get, please just ignore it! Now for the REAL doubt! Stephen Kuhn [EMAIL PROTECTED] uttered: ISP (where mail sits) FETCHMAIL (grabs the mail from the ISP) OK! and puts it in the users home dir, ie. they would need a user account on the server to begin with? This is one of the doubts! I log on both machine with the same user name! How can I get my mail from the server from the other machine? PROCMAIL (filters incoming mail through rules for spam) but procmail does more than just spam filtering, no? I use mailfilter for that anyway... Got it working (procmail), SpamASSassin and Mailgate Antivir! (POSTFIX/SENDMAIL) (mail gets tossed here and in user's mbox) Working on the server! Each client machine can access the mail from the mail machine using either POP3 or IMAP - if they use IMAP, then the mail always lives on the mail machine (nice space saver) Want POP to be working! (IMAP for the future) But who does the POP3 call from the client machine talk to? What takes the mail from /home/use/mail to their inbox? Postfix? Once I tried to pick up the mail with Kmail from the server noway! Any help? (please?) []s Ricardo Castanho -- == Linux user # 102240 = [EMAIL PROTECTED] user = [EMAIL PROTECTED] == AntiVir for UNIX Copyright (C) 1994-2002 by H+BEDV Datentechnik GmbH. All rights reserved. For more information see http://www.antivir.de/ or http://www.hbedv.com/ Sun, 20 Jul 2003 03:40:00 -0300 03:40:00 up 9 days, 13:20, 4 users, load average: 1.70, 1.91, 2.15 QOTD: Of course there's no reason for it, it's just our policy. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Sat, 19 Jul 2003 08:02:08 +0530 L.V.Gandhi [EMAIL PROTECTED] uttered: I think you should write a howto in detail. I will be happy to receive it. Seriously, it's as I described it. About the only thing I would add to it would be 'read man fetchmail' for sample configs and everything you need. In the end, I felt stupid that it took me so long. God I love this OS. -- Joehill Registered Linux user #282046 Homepage: nodex.sytes.net ++ Goodbye, cool world. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Friday 18 Jul 2003 6:33 pm, JoeHill wrote: No problems now, finally got my head around it thanks to all for the help. It was dead easy, in the end. 1. Install imap package. 2. Configure users on server 3. Configure fetchmail Done. Took me the whole day, of course, and about 3 billion test mails, but that's why me is on the newb list I guess... I think you should write a howto in detail. I will be happy to receive it. -- L.V.Gandhi 203, Soundaryalahari Apartments, Lawsons Bay colony, Visakhapatnam, 530017 MECON, 5th Floor, RTC Complex, Visakhapatnam AP 530020 INDIA Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] Postfix and POP3
No, I don't think postfix is interfering... the postmaster setting in fetchmail is for admin purposes.. any admin/error messages should go to the postmaster, which is defined in /etc/postfix/aliases to go to root.. (and you should set the root alias in there to go to your account so you get the messages.) Postfix is by far the easiest MTA to setup and run.. Sendmail is argueably the hardest. (I used sendmail back when I was a redhat user.) The only think that makes postfix slightly harder in mandrake is that postfix on mandrake runs in a chroot jail.. (meaning that you will need to manually make sure the files in /var/spool/postfix/etc match those of the same name in /etc.) Other then that postfix won't effect fetchmail at all. However, if after alot of fiddling you find postfix is just not working as it should be, remove it and reinstall... I remember on the list and experianced it myself where the postfix installed during setup was missing symlinks in its libs dir that should have been created during the packages installation, rpm -e postfix followed by rpm -ivh postfix fixed that problem. regards Franki -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of JoeHill Sent: Friday, 18 July 2003 8:11 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] Postfix and POP3 On Fri, 18 Jul 2003 06:14:45 +0800 Frankie [EMAIL PROTECTED] uttered: If I might ask,, why did you load on the courier rpm?? the only time I have done that was for imap.. As far as pop3 goes, the normal imap rpm contains a perfectly good pop3 server that is widely used, well documented and easier to get working. (because you don't have to do anything other then enable it in /etc/xinetd.d ) Okay, got that. Thanks, someone recommended Courier somewhere, I can't remember...losing track...arr! Installed the imap package, and I notice in /etc/xintetd.d I already have imap, imaps, ipop2, and ipop3. Is it ipop3 I want? I looked in drakconf under services, but it was not showing as started, even after a reboot. As for fetchmail,,, do this for a test.. copy the .fetchmailrc to the root home directory and as root type: fetchmail (you might want to turn off or remove fetchmail-daemon first.) see if that gets your mail delivered properly.. if it doesn't, install and run fetchmailconf (fetchmailconf-6.1.0-1.1mdk on my mdk9 system) got that. Then run fetchmailconf in a root terminal it will then all be pretty obvious what all the settings do its a nice pretty gui. once you have all that sorted, reinstall fetchmail-daemon and move your .fetchmailrc to /etc/fetchmailrc and give that a shot. see how that does it for you.. Thanks for the attention! One question, I asked Todd below, could Postfix be interfering? Why would the mail end up in /var/spool/mail/postfix? -- Joehill Registered Linux user #282046 ++ A baby is an alimentary canal with a loud voice at one end and no responsibility at the other. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Fri, 18 Jul 2003 16:51:42 +0800 Frankie [EMAIL PROTECTED] uttered: However, if after alot of fiddling you find postfix is just not working as it should be, remove it and reinstall... I remember on the list and experianced it myself where the postfix installed during setup was missing symlinks in its libs dir that should have been created during the packages installation, rpm -e postfix followed by rpm -ivh postfix fixed that problem. No problems now, finally got my head around it thanks to all for the help. It was dead easy, in the end. 1. Install imap package. 2. Configure users on server 3. Configure fetchmail Done. Took me the whole day, of course, and about 3 billion test mails, but that's why me is on the newb list I guess... -- Joehill Registered Linux user #282046 ++ There is no sin but ignorance. -- Christopher Marlowe Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Fri, Jul 18, 2003 at 05:37:49AM +0800, Frankie wrote: If you can't find filescan, let me know and I can put the tarball up for you. on the amavis homepage (not the amavis-new one, I mean amavis.org) in the contrib section is a post from me on how to get it, how to install it on mandrake and how to update the engine etc... Ok, here's a shout out, the links on the amavis.org page are pretty outdated and the Trend link gives a 404. Just a question, though, is it free for *any* use? Since I'll be using it at a school, I don't want to break any licensing agreement. Thanks again, Todd Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Fri, Jul 18, 2003 at 05:37:49AM +0800, Frankie wrote: Todd, Trend filescan for linux is free.. I have been using it for several years.. its great. and trophie is free also, its what turns filecan into a daemonised scanner. If you can't find filescan, let me know and I can put the tarball up for you. on the amavis homepage (not the amavis-new one, I mean amavis.org) in the contrib section is a post from me on how to get it, how to install it on mandrake and how to update the engine etc... Thanks, Frankie. I check out the page and see if I can get it; if not, I'll give a shout. Todd Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
David Laulusa-D28 wrote: Here's the link to download FileScan for Linux. http://www.trendmicro.com.au/member/Products/up_other.htm Franki, you mentioned that the virus engine was updateable. Does that mean that I can download the virus engine for FileProtect for Linux (which is the new non-free av product from Trend) and use it on FileScan? Thanks. Actually, it's called ServerProtect for Linux. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] Postfix and POP3
Here is the email I posted to this list and the amavis list over a year ago.. It should still all be correct, although the download links may or may not be. (I added your new link already David, thankyou. The latest engine that should work with it is http://www.trendmicro.com/ftp/products/engine/vsapi6510rh.tar.Z I am still running an older engine, but thats more from my lazyness then from any problem with upgrading.. besides, I suspect that when this is used with Trophie the engine probably doesn't matter alot. (at least it hasn't had any problems at all as far as I am concerned.) Technically this is all only of use to someone wanting to protect windows users on their network from getting mail virus's by installation on a linux mail server.. so if you want it to keep virus's off a linux box don't waste your time, there are none worth worrying about. regards Franki ## I have just swapped to trend viruscan for linux... I thought I'd mention all the links and stuff, so that people can search the archives here if they want to know how it is done. Here is the url to download it, ftp://ftp.antivirus.com/products/freetools/ now http://www.trendmicro.com.au/member/Products/up_other.htm (the address listed in the openantivirus readme didn't work for me, but this one did... download filescanlinux.tar (when you untar it, it has install instructions and a pdf file) If the scanner install gives you a message that it wont' install because you don't have redhat release 6, (and you do have a modern linux)I got that message with mandrake 7.2, edit /etc/issue (create it if you don't already have one, go into /etc and type 'touch issue') and put the words release 6 in it somewhere, you can delete it after install. (thats how the install program works out what version of linux you have) pretty lame method thinks me, but its a good thing that its lame if you don't have redhat. I have it working flawlessly on Mandrake and I don't think there would be much problem getting it working on other distro's. Here is the link to get the latest engine update, (the version I have now is Virus Scanner v3.1) http://www.antivirus.com/download/engines/ Go to the Interscan viruswall table and look in the linux box. download that tarball. open the tarball, and copy the file in it into /etc/iscan, overwrite the file of the same name that's in there.(it might not be a bad idea to backup the old one in case there are problems.) thats your engine updated to their latest version. If for some reason the web manager pattern update feature doesn't work, (it didn't for me, think its a isp problem, we have a strange proxy.,) go here: http://www.antivirus.com/download/pattern.asp choose the linux tarball and you have the latest pattern file. Thats it,, This is a very comprhensive scanner for a freebie... much better then the network associates vscan I was using before,,, (admitadly an old version). the web interface is an exceptional feature... # -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of David Laulusa-D28 Sent: Friday, 18 July 2003 11:40 PM To: [EMAIL PROTECTED] Subject: Re: [newbie] Postfix and POP3 Here's the link to download FileScan for Linux. http://www.trendmicro.com.au/member/Products/up_other.htm Franki, you mentioned that the virus engine was updateable. Does that mean that I can download the virus engine for FileProtect for Linux (which is the new non-free av product from Trend) and use it on FileScan? Thanks. David Todd Slater wrote: On Fri, Jul 18, 2003 at 05:37:49AM +0800, Frankie wrote: If you can't find filescan, let me know and I can put the tarball up for you. on the amavis homepage (not the amavis-new one, I mean amavis.org) in the contrib section is a post from me on how to get it, how to install it on mandrake and how to update the engine etc... Ok, here's a shout out, the links on the amavis.org page are pretty outdated and the Trend link gives a 404. Just a question, though, is it free for *any* use? Since I'll be using it at a school, I don't want to break any licensing agreement. Thanks again, Todd Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On 17 Jul 2003 14:02:36 +1000 Stephen Kuhn [EMAIL PROTECTED] uttered: So you want NOT to use FETCHMAIL to grab the mail from the server - you're wanting to have your LINUX box, using a fully qualified dns name, to grab the mail with POSTFIX as though it was sucking mail for an entire domain? Ya, Todd filled me in on that below. I had the wrong idea about Postfix, I'll save that for later. On to Procmail... ...are you sure you ain't been smoking something funny? Since it is no longer a criminal offense, hell ya. -- Joehill Registered Linux user #282046 ++ Mohandas K. Gandhi often changed his mind publicly. An aide once asked him how he could so freely contradict this week what he had said just last week. The great man replied that it was because this week he knew better. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Wed, 16 Jul 2003 23:58:06 -0400 Todd Slater [EMAIL PROTECTED] uttered: As I understand it, Postfix doesn't go out and get mail, it just sits around listening for mail sent to the machine it lives on, or it will send mail from that machine or a trusted domain. It delivers mail locally (Internet Postfix user) but cannot be told to get mail from your ISP; for that you'll need fetchmail. Gotcha. So Postfix is more if I wanted to set up my own mail *domain*, ie. become a service provider... Thanks! -- Joehill Registered Linux user #282046 Homepage: http://nodex.sytes.net ** Filtering out noise is one way to get a clearer signal. ** 03:21:05 up 7:26, 4 users, load average: 0.00, 0.02, 0.05 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Thursday 17 Jul 2003 3:58 am, JoeHill wrote: I am looking for some concise info on getting Postfix to pick up my POP3 mail and then farm it out to other clients on the LAN. The postfix docs, so far as I have, er, scanned...have nothing specific to this setup, so I am wondering if that is in fact what PostFix is intended for. I want to keep this simple so that one dedicated machine pops my mailserver, then me and my wife (who uses Lookout! Express ouch) grab it by whatever protocol (POP preferred I guess for simplicity's sake. All the howtos I see have to do with setting up your own e-mail *domain*, which is not quite what I want to do, well, not until I learn how to configure a DNS server g. Thanks all! There is a tutorial on my web site describing what you want. Hope it helps. derek -- -- www.jennings.homelinux.net Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On 17 Jul 2003 14:20:22 +1000 Stephen Kuhn [EMAIL PROTECTED] uttered: ISP (where mail sits) | FETCHMAIL (grabs the mail from the ISP) and puts it in the users home dir, ie. they would need a user account on the server to begin with? | PROCMAIL (filters incoming mail through rules for spam) but procmail does more than just spam filtering, no? I use mailfilter for that anyway... | snip for now | (POSTFIX/SENDMAIL) (mail gets tossed here and in user's mbox) Each client machine can access the mail from the mail machine using either POP3 or IMAP - if they use IMAP, then the mail always lives on the mail machine (nice space saver) But who does the POP3 call from the client machine talk to? What takes the mail from /home/use/mail to their inbox? Postfix? -- Joehill Registered Linux user #282046 ++ Sentimentality -- that's what we call the sentiment we don't share. -- Graham Greene Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] Postfix and POP3
If you install fetchmail on your system and configure it to collect your pop3 mail.. it will by default hand your mail to postfix which will pass it to procmail for local delivery.. I have been doing it that way for ages.. Here is an example .fetchmailrc set postmaster postmaster set bouncemail set no spambounce set daemon 1000 set logfile /var/log/mail/fetchmail poll pop.xxx.xxx.com with proto POP3 user 'xxx' there with password '' is 'franki' here options fetchall That will run fetchmail as a daemon and it will check for mail every 1000 seconds. any mail it collects is handed to postfix. (which on my system uses amavis-new, Trend filescan for linux and Spamassassin to scan the mail for spam and viri) and then postfix hands the mail to procmail for local delivery. (which the other machines on your lan can use pop3 to collect.) hope that helps.. regards Franki -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of JoeHill Sent: Thursday, 17 July 2003 11:39 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] Postfix and POP3 On Thu, 17 Jul 2003 00:14:22 -0300 Cody Harris [EMAIL PROTECTED] uttered: Isn't that what pop is? It holds mail until you want to download it...oops...i guess i didn't mean to quote download...ah well. No, I want to have Postfix retrieve the mail from my ISP's POP3 server, then hold it on my server. -- Joehill Registered Linux user #282046 Homepage: http://nodex.sytes.net ** Filtering out noise is one way to get a clearer signal. ** 23:37:42 up 3:42, 2 users, load average: 0.03, 0.02, 0.00 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Thu, 2003-07-17 at 17:54, JoeHill wrote: But who does the POP3 call from the client machine talk to? What takes the mail from /home/use/mail to their inbox? Postfix? Gremlins. -- Thu Jul 17 20:00:01 EST 2003 20:00:01 up 3 days, 12:03, 2 users, load average: 0.04, 0.13, 0.15 - |____ |kuhn media australia| | /-oo /| |'-. |http://kma.0catch.com | | .\__/ || | | || | _ / `._ \|_|_.-' |stephen kuhn| | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | - linux user #:267497 linux machine #:194239 * MDK 9.1+ RH 9 Mandrake Linux Kernel 2.4.21-11mdk Cooker for i586 - * This message was composed on a 100% Microsoft free computer * I respect the institution of marriage. I have always thought that every woman should marry -- and no man. -- Benjamin Disraeli, Lothair Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Thursday 17 Jul 2003 10:38 am, Frankie wrote: If you install fetchmail on your system and configure it to collect your pop3 mail.. it will by default hand your mail to postfix which will pass it to procmail for local delivery.. I have been doing it that way for ages.. Here is an example .fetchmailrc set postmaster postmaster set bouncemail set no spambounce set daemon 1000 set logfile /var/log/mail/fetchmail poll pop.xxx.xxx.com with proto POP3 user 'xxx' there with password '' is 'franki' here options fetchall That will run fetchmail as a daemon and it will check for mail every 1000 seconds. any mail it collects is handed to postfix. (which on my system uses amavis-new, Trend filescan for linux and Spamassassin to scan the mail for spam and viri) and then postfix hands the mail to procmail for local delivery. (which the other machines on your lan can use pop3 to collect.) hope that helps.. regards Franki -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of JoeHill Sent: Thursday, 17 July 2003 11:39 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] Postfix and POP3 On Thu, 17 Jul 2003 00:14:22 -0300 Cody Harris [EMAIL PROTECTED] uttered: Isn't that what pop is? It holds mail until you want to download it...oops...i guess i didn't mean to quote download...ah well. No, I want to have Postfix retrieve the mail from my ISP's POP3 server, then hold it on my server. Franki - how do you handle false-positives from SpamAssassin? I presume that you somehow filter the marked messages to a junk folder? How do you then get a false positive accepted and forwarded to the correct recipient? Anne Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Thu, 2003-07-17 at 17:22, JoeHill wrote: On Wed, 16 Jul 2003 23:58:06 -0400 Todd Slater [EMAIL PROTECTED] uttered: As I understand it, Postfix doesn't go out and get mail, it just sits around listening for mail sent to the machine it lives on, or it will send mail from that machine or a trusted domain. It delivers mail locally (Internet Postfix user) but cannot be told to get mail from your ISP; for that you'll need fetchmail. Gotcha. So Postfix is more if I wanted to set up my own mail *domain*, ie. become a service provider... Thanks! Yeah - I can see it now: Welcome to Smokin'Joes ISP Service! Starting at $20/mo or half-oz for half'a'year! Special this month is the SuperBongDownloadBlitz at $10/mo + a nickel bag per week; next month is the HASH-BASH-STASH for linux users - where you get a BASH shell account for only 5gm of hash per week! (Wait - we might be giving Sir Robin ideas here...) -- Thu Jul 17 19:55:00 EST 2003 19:55:00 up 3 days, 11:58, 2 users, load average: 0.18, 0.21, 0.17 - |____ |kuhn media australia| | /-oo /| |'-. |http://kma.0catch.com | | .\__/ || | | || | _ / `._ \|_|_.-' |stephen kuhn| | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | - linux user #:267497 linux machine #:194239 * MDK 9.1+ RH 9 Mandrake Linux Kernel 2.4.21-11mdk Cooker for i586 - * This message was composed on a 100% Microsoft free computer * The universe doesn't much care if you tread on a butterfly. There are plenty more butterflies. Gods might note the fall of a sparrow but they don't make any effort to catch them. (Lords and Ladies) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Thursday 17 Jul 2003 11:03 am, Stephen Kuhn wrote: On Thu, 2003-07-17 at 17:54, JoeHill wrote: But who does the POP3 call from the client machine talk to? What takes the mail from /home/use/mail to their inbox? Postfix? Gremlins. Mail takes this path Fetchmail will get it from the ISP. If there is an MTA (such as Postfix) listening on port 25 it will hand the mail over to Postfix. If there is nothing on port25 but a ~/.procmailrc file exists it hands the mail over to procmail. Procmail will then put the mail anywhere you define. If neither Postfix or Procmail are present fetchmail puts the mail in /var/spool/mail/user_name You can point your mail client to this file to read your mail. For example in Kmail there is an option for an account type Local Mailbox Postfix will pass the mail to Procmail if it exists, or will put the mail in the mailbox defined in /etc/postfix/main.cf home_mailbox parameter derek -- -- www.jennings.homelinux.net Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
- Original Message - From: Stephen Kuhn [EMAIL PROTECTED] To: Mandrake Newbie [EMAIL PROTECTED] Sent: Thursday, July 17, 2003 1:02 AM Subject: Re: [newbie] Postfix and POP3 On Thu, 2003-07-17 at 13:38, JoeHill wrote: On Thu, 17 Jul 2003 00:14:22 -0300 Cody Harris [EMAIL PROTECTED] uttered: Isn't that what pop is? It holds mail until you want to download it...oops...i guess i didn't mean to quote download...ah well. No, I want to have Postfix retrieve the mail from my ISP's POP3 server, then hold it on my server. So you want NOT to use FETCHMAIL to grab the mail from the server - you're wanting to have your LINUX box, using a fully qualified dns name, to grab the mail with POSTFIX as though it was sucking mail for an entire domain? I have cucipop, a pop server. Will fetchmail dum,p my mail there? Right now [EMAIL PROTECTED] will go to cucipop... ...are you sure you ain't been smoking something funny? Yea, but that was late last night. -- Thu Jul 17 14:00:00 EST 2003 14:00:00 up 3 days, 6:03, 2 users, load average: 0.05, 0.15, 0.16 - |____ |kuhn media australia| | /-oo /| |'-. |http://kma.0catch.com | | .\__/ || | | || | _ / `._ \|_|_.-' |stephen kuhn| | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | - linux user #:267497 linux machine #:194239 * MDK 9.1+ RH 9 Mandrake Linux Kernel 2.4.21-11mdk Cooker for i586 - * This message was composed on a 100% Microsoft free computer * My family history begins with me, but yours ends with you. -- Iphicrates Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Thu, Jul 17, 2003 at 02:28:21PM +1000, Stephen Kuhn wrote: On Thu, 2003-07-17 at 13:59, Todd Slater wrote: BTW Stephen, did you figure out how to add All outgoing email has been scanned by . . . with CLAMAV? Todd Nah - at least not yet - but it is working - so that's a nice touch (not that I'm really worried about sending viruses out of my system here at home - but was wanting to get it done for a few clients that have a tendency to forward files/emails all over the place - so that put a stopper to them - and the management at a few places made comments to me so far about the workers not sending too much junk around the office...so the original objective has been met) Yeah, at work I'm running mailing lists with Mailman and I pipe all that mail through stripmime.pl so *no* attachments go through. (It has the added benefit of converting html to plain text, something like lynx -dump.) But now that same server is acting as a relay for a CMS, and students have a need to send attachments. Since I can't just strip all attachments, I'm thinking I'll look into ClamAV for that. Did you do urpmi to get it, and is there docs for setting it up to scan all mail? Thanks, Todd Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] Postfix and POP3
My comments are down the bottom.. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Anne Wilson On Thursday 17 Jul 2003 10:38 am, Frankie wrote: If you install fetchmail on your system and configure it to collect your pop3 mail.. it will by default hand your mail to postfix which will pass it to procmail for local delivery.. I have been doing it that way for ages.. Here is an example .fetchmailrc set postmaster postmaster set bouncemail set no spambounce set daemon 1000 set logfile /var/log/mail/fetchmail poll pop.xxx.xxx.com with proto POP3 user 'xxx' there with password '' is 'franki' here options fetchall That will run fetchmail as a daemon and it will check for mail every 1000 seconds. any mail it collects is handed to postfix. (which on my system uses amavis-new, Trend filescan for linux and Spamassassin to scan the mail for spam and viri) and then postfix hands the mail to procmail for local delivery. (which the other machines on your lan can use pop3 to collect.) hope that helps.. regards Franki -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of JoeHill Sent: Thursday, 17 July 2003 11:39 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] Postfix and POP3 On Thu, 17 Jul 2003 00:14:22 -0300 Cody Harris [EMAIL PROTECTED] uttered: Isn't that what pop is? It holds mail until you want to download it...oops...i guess i didn't mean to quote download...ah well. No, I want to have Postfix retrieve the mail from my ISP's POP3 server, then hold it on my server. Franki - how do you handle false-positives from SpamAssassin? I presume that you somehow filter the marked messages to a junk folder? How do you then get a false positive accepted and forwarded to the correct recipient? Anne Ann, all messages scanned by the system have info added to the header, Here is an example from your very email: X-Virus-Scanned: by amavisd-new at htmlfixit.com That indicates it was scanned for Virus.. If the message is detected as spam.. it not only has ***SPAM*** added to the subject, it has the reason added to the headers.. like so: X-Spam-Status: Yes, hits=18.3 tagged_above=0.1 required=4.0 tests=BAD_CREDIT, BAYES_80, CLICK_BELOW, DATE_IN_PAST_03_06, FORGED_MUA_OUTLOOK, HTML_40_50, HTML_IMAGE_ONLY_04, HTML_IMAGE_RATIO_02, HTML_LINK_CLICK_HERE, HTML_MESSAGE, HTTP_USERNAME_USED, MIME_HTML_NO_CHARSET, MIME_HTML_ONLY, MISSING_MIMEOLE, NORMAL_HTTP_TO_IP, UNSUB_PAGE, USERPASS X-Spam-Level: ** X-Spam-Flag: YES So there is plenty of stuff by which to setup filter rules. I have setup two mail accounts on the system.. ham, and spam When I get a false positive, (happens sometimes with my PC wholesaler pricelists) I redirect or resend the email to [EMAIL PROTECTED] from my pc, since that mail account goes to my postfix MTA to be delivered, [EMAIL PROTECTED] is determined to be for local user ham on the server. ditto when the occasional spam gets though, I resend it to [EMAIL PROTECTED] and the server gets a copy. I have a crontab that daily runs: /usr/bin/sa-learn --spam --mbox /var/spool/mail/spam for spam and /usr/bin/sa-learn --ham --mbox /var/spool/mail/ham for ham. Basically they tell spamassassin to look to those mail box's for examples of spam and ham that it should learn from. That way the bayes DB in spamassassin can learn to identify spam better and not false positive as much.. I have been running this way for along time now, and generally the false positives and false negatives have been few and far between. The System: - Trend filescan is Free. - Trophie is an open source daemon that uses parts of Trend filescan to create a very fast daemon based virus scanner, makes mail much much faster as filescan is not r equired to start up each time a new mail goes in or out. - amavis-new is an open source perl daemon that links with postfix. - spamassassin is also an open source perl daemon (with some c binaries) Its proven to be a very effective setup overall, and very fast considering what it does. I get around 1500+ mail going through this system every day.. and about 60 or more of them are spam.. about 2 are virus's.. no virus's have ever gotten through and less then one in 1000 spam is incorrectly detected. Oh yeah, and as an added footnote, redirecting or resending mail is not the same as forwarding. forwarding changes headers and stuff, whereas the former two methods do not.. hope someone finds that handy.. Its alittle time consumming to set all that up initially, but once you do, chances are you won't have to touch it much.. even trophie updates its virus patters automatically. (script supplied with it.) Maybe one day I will write a tutorial explaining how to set it all up.. its not very difficult but alittle time consuming. (you won't get any change from around 2 hours). regards Franki Want to buy your Pack or Services
RE: [newbie] Postfix and POP3
ClamAV and Clamd by themselves are not reliable antivirus systems.. testing by amavis users shows that they miss alot of virus's... however they sometimes catch one the others don't.. So most of them use something like Sophos/Sophie or Trend/Trophie and have clamd (which is much faster then ClamAV for scanning mail) as a secondary scanner run on mail after the primary one has passed it. rgds Franki -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Todd Slater Sent: Thursday, 17 July 2003 8:21 PM To: [EMAIL PROTECTED] Subject: Re: [newbie] Postfix and POP3 On Thu, Jul 17, 2003 at 02:28:21PM +1000, Stephen Kuhn wrote: On Thu, 2003-07-17 at 13:59, Todd Slater wrote: BTW Stephen, did you figure out how to add All outgoing email has been scanned by . . . with CLAMAV? Todd Nah - at least not yet - but it is working - so that's a nice touch (not that I'm really worried about sending viruses out of my system here at home - but was wanting to get it done for a few clients that have a tendency to forward files/emails all over the place - so that put a stopper to them - and the management at a few places made comments to me so far about the workers not sending too much junk around the office...so the original objective has been met) Yeah, at work I'm running mailing lists with Mailman and I pipe all that mail through stripmime.pl so *no* attachments go through. (It has the added benefit of converting html to plain text, something like lynx -dump.) But now that same server is acting as a relay for a CMS, and students have a need to send attachments. Since I can't just strip all attachments, I'm thinking I'll look into ClamAV for that. Did you do urpmi to get it, and is there docs for setting it up to scan all mail? Thanks, Todd Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On 17 Jul 2003 20:00:11 +1000 Stephen Kuhn [EMAIL PROTECTED] uttered: Starting at $20/mo or half-oz for half'a'year! Good one, I nearly spewed my coffee when I read this! Oh, shit, I could really get into that. I'll even write a fork of Postfix, called, of course, Potfix. -- Joehill Registered Linux user #282046 ++ The only thing better than love is milk. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Thu, 17 Jul 2003 15:44:25 +0100 On Thursday 17 Jul 2003 10:38 am, Frankie wrote: Here is an example .fetchmailrc set postmaster postmaster set bouncemail set no spambounce set daemon 1000 set logfile /var/log/mail/fetchmail poll pop.xxx.xxx.com with proto POP3 user 'xxx' there with password '' is 'franki' here options fetchall That will run fetchmail as a daemon and it will check for mail every 1000 seconds. any mail it collects is handed to postfix. (which on my system uses amavis-new, Trend filescan for linux and Spamassassin to scan the mail for spam and viri) and then postfix hands the mail to procmail for local delivery. (which the other machines on your lan can use pop3 to collect.) hope that helps.. It does! Thanks, glad the fight is over, BTW. Anyhow, and this is where you say RTFM, but I've got fetchmail grokked (not very hard, I use it right now, but per user), and your exp is clear on how Postfix takes it from fetchmail (automagically? ie., as soon as postfix is running, it grabs the mail?). Now, from what Derek explained below, Postfix will then pass the mail to a store that I define in main.cf, correct? And then it will sit there til someone's client pops it? Ok, just thinking out loud, clarify, you know. I'm gonna keep reading but please point out any flaws in the above logic if you can! -- Joehill Registered Linux user #282046 ++ Now I'm having INSIPID THOUGHTS about the beautiful, round wives of HOLLYWOOD MOVIE MOGULS encased in PLEXIGLASS CARS and being approached by SMALL BOYS selling FRUIT ... Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] Postfix and POP3
2 hours time consuming, I wish. Franki you got it easy mate. Would like to see the write up though. Tony. -Original Message- From: Frankie [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 3:11 PM To: [EMAIL PROTECTED] Subject: RE: [newbie] Postfix and POP3 My comments are down the bottom.. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Anne Wilson On Thursday 17 Jul 2003 10:38 am, Frankie wrote: If you install fetchmail on your system and configure it to collect your pop3 mail.. it will by default hand your mail to postfix which will pass it to procmail for local delivery.. I have been doing it that way for ages.. Here is an example .fetchmailrc set postmaster postmaster set bouncemail set no spambounce set daemon 1000 set logfile /var/log/mail/fetchmail poll pop.xxx.xxx.com with proto POP3 user 'xxx' there with password '' is 'franki' here options fetchall That will run fetchmail as a daemon and it will check for mail every 1000 seconds. any mail it collects is handed to postfix. (which on my system uses amavis-new, Trend filescan for linux and Spamassassin to scan the mail for spam and viri) and then postfix hands the mail to procmail for local delivery. (which the other machines on your lan can use pop3 to collect.) hope that helps.. regards Franki -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of JoeHill Sent: Thursday, 17 July 2003 11:39 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] Postfix and POP3 On Thu, 17 Jul 2003 00:14:22 -0300 Cody Harris [EMAIL PROTECTED] uttered: Isn't that what pop is? It holds mail until you want to download it...oops...i guess i didn't mean to quote download...ah well. No, I want to have Postfix retrieve the mail from my ISP's POP3 server, then hold it on my server. Franki - how do you handle false-positives from SpamAssassin? I presume that you somehow filter the marked messages to a junk folder? How do you then get a false positive accepted and forwarded to the correct recipient? Anne Ann, all messages scanned by the system have info added to the header, Here is an example from your very email: X-Virus-Scanned: by amavisd-new at htmlfixit.com That indicates it was scanned for Virus.. If the message is detected as spam.. it not only has ***SPAM*** added to the subject, it has the reason added to the headers.. like so: X-Spam-Status: Yes, hits=18.3 tagged_above=0.1 required=4.0 tests=BAD_CREDIT, BAYES_80, CLICK_BELOW, DATE_IN_PAST_03_06, FORGED_MUA_OUTLOOK, HTML_40_50, HTML_IMAGE_ONLY_04, HTML_IMAGE_RATIO_02, HTML_LINK_CLICK_HERE, HTML_MESSAGE, HTTP_USERNAME_USED, MIME_HTML_NO_CHARSET, MIME_HTML_ONLY, MISSING_MIMEOLE, NORMAL_HTTP_TO_IP, UNSUB_PAGE, USERPASS X-Spam-Level: ** X-Spam-Flag: YES So there is plenty of stuff by which to setup filter rules. I have setup two mail accounts on the system.. ham, and spam When I get a false positive, (happens sometimes with my PC wholesaler pricelists) I redirect or resend the email to [EMAIL PROTECTED] from my pc, since that mail account goes to my postfix MTA to be delivered, [EMAIL PROTECTED] is determined to be for local user ham on the server. ditto when the occasional spam gets though, I resend it to [EMAIL PROTECTED] and the server gets a copy. I have a crontab that daily runs: /usr/bin/sa-learn --spam --mbox /var/spool/mail/spam for spam and /usr/bin/sa-learn --ham --mbox /var/spool/mail/ham for ham. Basically they tell spamassassin to look to those mail box's for examples of spam and ham that it should learn from. That way the bayes DB in spamassassin can learn to identify spam better and not false positive as much.. I have been running this way for along time now, and generally the false positives and false negatives have been few and far between. The System: - Trend filescan is Free. - Trophie is an open source daemon that uses parts of Trend filescan to create a very fast daemon based virus scanner, makes mail much much faster as filescan is not r equired to start up each time a new mail goes in or out. - amavis-new is an open source perl daemon that links with postfix. - spamassassin is also an open source perl daemon (with some c binaries) Its proven to be a very effective setup overall, and very fast considering what it does. I get around 1500+ mail going through this system every day.. and about 60 or more of them are spam.. about 2 are virus's.. no virus's have ever gotten through and less then one in 1000 spam is incorrectly detected. Oh yeah, and as an added footnote, redirecting or resending mail is not the same as forwarding. forwarding changes headers and stuff, whereas the former two methods do not.. hope someone finds that handy.. Its alittle time consumming to set all that up initially, but once you do, chances are you won't have to touch it much.. even trophie updates its virus patters
Re: [newbie] Postfix and POP3
On 17 Jul 2003 13:28:26 +1000 Stephen Kuhn [EMAIL PROTECTED] uttered: Why not use FETCHMAIL to snag the mail for everyone and toss it to their accounts on the linux box, then the incoming mail can be run through PROCMAIL and milter and SpamAssassin, then have all the boxes on the lan access the mail via either IMAP or POP3 from the linux box...? And you can set up all the outbound SMTP to run through that same linux box so that it can be scanned with like CLAMAV on it's way out...ay? Ok, here's my plan so far: Run fetchmail as a system service (initrd?) at boot, I assume I need then a *systemwide* .fetchmailrc, ie it will include all users and accounts, correct? Okay, so Postfix is already running, *it* will receive on port 25 from fetchmail, or so I've been told, and store the mail for retrieval. But other than the gremlins reply (which was very funny BTW, I am assuming it was a humourous way of saying RTFM ;)), I am not clear on how Postfix operates as a POP server for the clients on the LAN. For example, in say Sylpheed for the Receive config, would I just put the IP of the mail server running Postfix, default port 110? Do I have to use the same user names and passes for clients to access the Postfix mailstore as their accounts on the box itself, or do they even have to have user accounts on the mail server (ie. can they *just* have a Postfix username and pass)? Still reading, but they just keep talking about domain names and such, fer chrissakes it's just a workgroup! Thanks for all the replies guys, if I get this working I'll make it a Twiki page. -- Joehill Registered Linux user #282046 ++ You never have to change anything you got up in the middle of the night to write. -- Saul Bellow Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Thursday 17 Jul 2003 6:11 pm, JoeHill wrote: Ok, here's my plan so far: Run fetchmail as a system service (initrd?) at boot, I assume I need then a *systemwide* .fetchmailrc, ie it will include all users and accounts, correct? Install the fetchmail-daemon RPM and it will do this for you. The config file is /etc/fetchmailrc Okay, so Postfix is already running, *it* will receive on port 25 from fetchmail, or so I've been told, and store the mail for retrieval. But other than the gremlins reply (which was very funny BTW, I am assuming it was a humourous way of saying RTFM ;)), I am not clear on how Postfix operates as a POP server for the clients on the LAN. For example, in say Sylpheed for the Receive config, would I just put the IP of the mail server running Postfix, default port 110? Postfix does not provide a POP server. You can either read the mail directly from your spool file using your mail client, or you can run a POP3 or IMAP server. I use courier-imap and courier-imap-pop because it allows you to use a different username/password for email than for logging in Do I have to use the same user names and passes for clients to access the Postfix mailstore as their accounts on the box itself, or do they even have to have user accounts on the mail server (ie. can they *just* have a Postfix username and pass)? Yes they do need an account on the server AFAIK Still reading, but they just keep talking about domain names and such, fer chrissakes it's just a workgroup! Thanks for all the replies guys, if I get this working I'll make it a Twiki page. All this stuff is discussed in my Postfix tutorial derek -- -- www.jennings.homelinux.net Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] Postfix and POP3
--- Joe said: It does! Thanks, glad the fight is over, BTW. Anyhow, and this is where you say RTFM, but I've got fetchmail grokked (not very hard, I use it right now, but per user), and your exp is clear on how Postfix takes it from fetchmail (automagically? ie., as soon as postfix is running, it grabs the mail?). Now, from what Derek explained below, Postfix will then pass the mail to a store that I define in main.cf, correct? And then it will sit there til someone's client pops it? Ok, just thinking out loud, clarify, you know. I'm gonna keep reading but please point out any flaws in the above logic if you can! - Postfix is already setup to put mail for local users in /var/spool/mail you do not need to change that.. just install imap/pop3 edit the pop3 entry in /etc/xinetd.d (make sure its enabled) and all the machines on your network should be able to check their pop accounts using your server.. works great. I went a step further and setup pop3 in a ssh tunnel so its encrypted as well. good stuff. rgds Franki Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Thu, Jul 17, 2003 at 10:25:39PM +0800, Frankie wrote: ClamAV and Clamd by themselves are not reliable antivirus systems.. testing by amavis users shows that they miss alot of virus's... however they sometimes catch one the others don't.. So most of them use something like Sophos/Sophie or Trend/Trophie and have clamd (which is much faster then ClamAV for scanning mail) as a secondary scanner run on mail after the primary one has passed it. Well, I think I have amavisd-new and ClamAV and Clamd working. 2 of the 3 test mails that came with amavisd-new made it through :( Since I have no budget, I'll have to stick to a free (as in beer) solution. Unfortunately, Sophos and Trend are not free. Hopefully Clam* gets better fast. Anyway not too much of a problem since just about every other mail provider from ISP's to hotmail have virus scanners as well. Thanks, Todd -- If we don't believe in freedom of expression for people we despise, we don't believe in it at all. -Noam Chomsky Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Thu, Jul 17, 2003 at 04:03:55PM -0400, JoeHill wrote: On Fri, 18 Jul 2003 01:30:37 +0800 Frankie [EMAIL PROTECTED] uttered: Postfix is already setup to put mail for local users in /var/spool/mail you do not need to change that.. just install imap/pop3 edit the pop3 entry in /etc/xinetd.d (make sure its enabled) and all the machines on your network should be able to check their pop accounts using your server.. works great. ok, so far I've got the server collecting mail from the ISP for a test account I set up. however, the mail did not go to /var/spool/mail/test0001, it went to /var/spool/mail/joehill. you created user test0001? Just checking :) (You also might try logging in as test0001 in case there are certain files that get created on first login, like a mail spool--just grasping here.) Now, for the fetchmailrc, I thought the postmaster was the person responsible for the server, ie. the admin, so I put joehill. I also thought that by putting 'here test0001' in the poll section that it would know to dump the mail in /var/spool/mail/test0001. I don't do a system-wide fetchmail, but my .fetchmailrc looks something like this: poll pop-server.domain.com protocol POP3 user email-handle password password is localuser here So I think you're on the right track. Also, I have courier installed on the mail server, but when I try to connect to it to retrieve mail, it hangs on authenticating. The parameters I used in Sylpheed were 192.168.0.5 for the POP3 server and the user and pass for that account on the server. I also specified to use port 110, just in case. Are you using IMAP or POP3? If it's IMAP of course you'll need to use port 143. Todd -- Let us be utopian for a moment so that when we get realistic again it is not that realism so useful to the Establishment in discouraging action. -Howard Zinn Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Fri, 18 Jul 2003 01:30:37 +0800 Frankie [EMAIL PROTECTED] uttered: Postfix is already setup to put mail for local users in /var/spool/mail you do not need to change that.. just install imap/pop3 edit the pop3 entry in /etc/xinetd.d (make sure its enabled) and all the machines on your network should be able to check their pop accounts using your server.. works great. ok, so far I've got the server collecting mail from the ISP for a test account I set up. however, the mail did not go to /var/spool/mail/test0001, it went to /var/spool/mail/joehill. Now, for the fetchmailrc, I thought the postmaster was the person responsible for the server, ie. the admin, so I put joehill. I also thought that by putting 'here test0001' in the poll section that it would know to dump the mail in /var/spool/mail/test0001. Also, I have courier installed on the mail server, but when I try to connect to it to retrieve mail, it hangs on authenticating. The parameters I used in Sylpheed were 192.168.0.5 for the POP3 server and the user and pass for that account on the server. I also specified to use port 110, just in case. Movin slowly forward, thanks for all the guidance folks! -- Joehill Registered Linux user #282046 ++ Micro Credo: Never trust a computer bigger than you can lift. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Thu, 17 Jul 2003 12:40:05 +0100 Derek Jennings [EMAIL PROTECTED] uttered: Postfix will pass the mail to Procmail if it exists, or will put the mail in the mailbox defined in /etc/postfix/main.cf home_mailbox parameter So far what's happening tho, is the mail is just sitting in /var/spool/mail/postfix and not getting put into the user's spool, unless I designate them postmaster in the /etc/fetchmailrc file. The fetchmailrc I am using is as follows: set postmaster postmaster set bouncemail set no spambounce set properties set daemon 600 poll pop2.sympatico.ca with proto POP3 user 'b1bhxi89' there with password 'xxx' is 'b1bhxi89' 'test0001' here options nokeep -- Joehill Registered Linux user #282046 ++ You will receive a legacy which will place you above want. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] Postfix and POP3
Todd, Trend filescan for linux is free.. I have been using it for several years.. its great. and trophie is free also, its what turns filecan into a daemonised scanner. If you can't find filescan, let me know and I can put the tarball up for you. on the amavis homepage (not the amavis-new one, I mean amavis.org) in the contrib section is a post from me on how to get it, how to install it on mandrake and how to update the engine etc... rgds Franki -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Todd Slater Well, I think I have amavisd-new and ClamAV and Clamd working. 2 of the 3 test mails that came with amavisd-new made it through :( Since I have no budget, I'll have to stick to a free (as in beer) solution. Unfortunately, Sophos and Trend are not free. Hopefully Clam* gets better fast. Anyway not too much of a problem since just about every other mail provider from ISP's to hotmail have virus scanners as well. Thanks, Todd -- If we don't believe in freedom of expression for people we despise, we don't believe in it at all. -Noam Chomsky Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Thu, 17 Jul 2003 17:08:18 -0400 Todd Slater [EMAIL PROTECTED] uttered: ok, so far I've got the server collecting mail from the ISP for a test account I set up. however, the mail did not go to /var/spool/mail/test0001, it went to /var/spool/mail/joehill. you created user test0001? Just checking :) (You also might try logging in as test0001 in case there are certain files that get created on first login, like a mail spool--just grasping here.) yep, and if I send a test mail with the fetchmailrc showing postmaster test0001, it goes to /var/spool/mail/test0001. I've logged in as that user several times and even created an xfce4 session (niice...). As soon as I change postmaster to postmaster (default) or comment it out, the mail for test0001 goes to /var/spool/mail/postfix (?). Now, for the fetchmailrc, I thought the postmaster was the person responsible for the server, ie. the admin, so I put joehill. I also thought that by putting 'here test0001' in the poll section that it would know to dump the mail in /var/spool/mail/test0001. I don't do a system-wide fetchmail, but my .fetchmailrc looks something like this: poll pop-server.domain.com protocol POP3 user email-handle password password is localuser here So I think you're on the right track. God I hope so, I've sent so many test e-mails I'm getting the jitters here. Are you using IMAP or POP3? If it's IMAP of course you'll need to use port 143. POP3, I want the users to download the mail to their local machines. Although, I did see this on the Courier docs which could complicate matters: Courier's POP3 server only supports maildirs ($HOME/Maildir), it doesn't support mailbox files. I've signed up for their mailing list (I'm on like 30 of these freaking things now...) to get some clarification. I didn't think it would be this complicated. Thanks for all da wise guidance! -- Let us be utopian for a moment so that when we get realistic again it is not that realism so useful to the Establishment in discouraging action. -Howard Zinn Wow, the Zinn man, love it! -- Joehill Registered Linux user #282046 ++ If you can't understand it, it is intuitively obvious. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
- Original Message - From: Frankie [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 17, 2003 6:37 PM Subject: RE: [newbie] Postfix and POP3 Todd, Trend filescan for linux is free.. What's that? I have been using it for several years.. its great. and trophie is free also, its what turns filecan into a daemonised scanner. If you can't find filescan, let me know and I can put the tarball up for you. on the amavis homepage (not the amavis-new one, I mean amavis.org) in the contrib section is a post from me on how to get it, how to install it on mandrake and how to update the engine etc... rgds Franki -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Todd Slater Well, I think I have amavisd-new and ClamAV and Clamd working. 2 of the 3 test mails that came with amavisd-new made it through :( Since I have no budget, I'll have to stick to a free (as in beer) solution. Unfortunately, Sophos and Trend are not free. Hopefully Clam* gets better fast. Anyway not too much of a problem since just about every other mail provider from ISP's to hotmail have virus scanners as well. Thanks, Todd -- If we don't believe in freedom of expression for people we despise, we don't believe in it at all. -Noam Chomsky Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] Postfix and POP3
If I might ask,, why did you load on the courier rpm?? the only time I have done that was for imap.. As far as pop3 goes, the normal imap rpm contains a perfectly good pop3 server that is widely used, well documented and easier to get working. (because you don't have to do anything other then enable it in /etc/xinetd.d ) As for fetchmail,,, do this for a test.. copy the .fetchmailrc to the root home directory and as root type: fetchmail (you might want to turn off or remove fetchmail-daemon first.) see if that gets your mail delivered properly.. if it doesn't, install and run fetchmailconf (fetchmailconf-6.1.0-1.1mdk on my mdk9 system) Then run fetchmailconf in a root terminal it will then all be pretty obvious what all the settings do its a nice pretty gui. once you have all that sorted, reinstall fetchmail-daemon and move your .fetchmailrc to /etc/fetchmailrc and give that a shot. see how that does it for you.. rgds Franki -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of JoeHill Sent: Friday, 18 July 2003 5:45 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] Postfix and POP3 On Thu, 17 Jul 2003 17:08:18 -0400 Todd Slater [EMAIL PROTECTED] uttered: ok, so far I've got the server collecting mail from the ISP for a test account I set up. however, the mail did not go to /var/spool/mail/test0001, it went to /var/spool/mail/joehill. you created user test0001? Just checking :) (You also might try logging in as test0001 in case there are certain files that get created on first login, like a mail spool--just grasping here.) yep, and if I send a test mail with the fetchmailrc showing postmaster test0001, it goes to /var/spool/mail/test0001. I've logged in as that user several times and even created an xfce4 session (niice...). As soon as I change postmaster to postmaster (default) or comment it out, the mail for test0001 goes to /var/spool/mail/postfix (?). Now, for the fetchmailrc, I thought the postmaster was the person responsible for the server, ie. the admin, so I put joehill. I also thought that by putting 'here test0001' in the poll section that it would know to dump the mail in /var/spool/mail/test0001. I don't do a system-wide fetchmail, but my .fetchmailrc looks something like this: poll pop-server.domain.com protocol POP3 user email-handle password password is localuser here So I think you're on the right track. God I hope so, I've sent so many test e-mails I'm getting the jitters here. Are you using IMAP or POP3? If it's IMAP of course you'll need to use port 143. POP3, I want the users to download the mail to their local machines. Although, I did see this on the Courier docs which could complicate matters: Courier's POP3 server only supports maildirs ($HOME/Maildir), it doesn't support mailbox files. I've signed up for their mailing list (I'm on like 30 of these freaking things now...) to get some clarification. I didn't think it would be this complicated. Thanks for all da wise guidance! -- Let us be utopian for a moment so that when we get realistic again it is not that realism so useful to the Establishment in discouraging action. -Howard Zinn Wow, the Zinn man, love it! -- Joehill Registered Linux user #282046 ++ If you can't understand it, it is intuitively obvious. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] Postfix and POP3
Trend filescan is a virus scanner for linux.. Trend wrote it a fair while ago, and back then there wasn't a big market for linux virus scanners.. so they gave it away free on their site.. It uses the same virus pattern files as all their other scanners and the engine is the same engine as the unix scanners they offer so its fully updatable.. I don't think its on their site anymore (they would rather you buy the one they are selling now that there is a market for linux virus scanners) But last time I needed it, I found it somewhere via google.. I have it here, so if anyone wants it.. let me know.. Its actually pretty cool, has a web interface and all. regards Franki -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Cody Harris - Original Message - From: Frankie [EMAIL PROTECTED] Todd, Trend filescan for linux is free.. What's that? I have been using it for several years.. its great. and trophie is free also, its what turns filecan into a daemonised scanner. If you can't find filescan, let me know and I can put the tarball up for you. on the amavis homepage (not the amavis-new one, I mean amavis.org) in the contrib section is a post from me on how to get it, how to install it on mandrake and how to update the engine etc... rgds Franki -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Todd Slater Since I have no budget, I'll have to stick to a free (as in beer) solution. Unfortunately, Sophos and Trend are not free. Hopefully Clam* gets better fast. Anyway not too much of a problem since just about every other mail provider from ISP's to hotmail have virus scanners as well. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Thu, 2003-07-17 at 22:21, Todd Slater wrote: Yeah, at work I'm running mailing lists with Mailman and I pipe all that mail through stripmime.pl so *no* attachments go through. (It has the added benefit of converting html to plain text, something like lynx -dump.) Altermime can do the same... But now that same server is acting as a relay for a CMS, and students have a need to send attachments. Since I can't just strip all attachments, I'm thinking I'll look into ClamAV for that. Did you do urpmi to get it, and is there docs for setting it up to scan all mail? Got it from either PLF or another contrib mirror - was VERY easy to set up and VERY easy to get set into my SENDMAIL configuration...easier than what I would have thought - so for a few days I thought it wasn't even working - but it was - ya know how that is... -- Fri Jul 18 08:50:00 EST 2003 08:50:00 up 4 days, 53 min, 2 users, load average: 0.29, 0.24, 0.14 - |____ |kuhn media australia| | /-oo /| |'-. |http://kma.0catch.com | | .\__/ || | | || | _ / `._ \|_|_.-' |stephen kuhn| | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | - linux user #:267497 linux machine #:194239 * MDK 9.1+ RH 9 Mandrake Linux Kernel 2.4.21-11mdk Cooker for i586 - * This message was composed on a 100% Microsoft free computer * There is a vast difference between the savage and civilized man, but it is never apparent to their wives until after breakfast. -- Helen Rowland Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Fri, 2003-07-18 at 03:11, JoeHill wrote: Ok, here's my plan so far: Run fetchmail as a system service (initrd?) at boot, I assume I need then a *systemwide* .fetchmailrc, ie it will include all users and accounts, correct? Okay, so Postfix is already running, *it* will receive on port 25 from fetchmail, or so I've been told, and store the mail for retrieval. But other than the gremlins reply (which was very funny BTW, I am assuming it was a humourous way of saying RTFM ;)), I am not clear on how Postfix operates as a POP server for the clients on the LAN. For example, in say Sylpheed for the Receive config, would I just put the IP of the mail server running Postfix, default port 110? Do I have to use the same user names and passes for clients to access the Postfix mailstore as their accounts on the box itself, or do they even have to have user accounts on the mail server (ie. can they *just* have a Postfix username and pass)? Still reading, but they just keep talking about domain names and such, fer chrissakes it's just a workgroup! Thanks for all the replies guys, if I get this working I'll make it a Twiki page. Use Webmin to setup your system-wide /etc/fetchmailrc - it's easier and you can click click click -- Fri Jul 18 09:05:00 EST 2003 09:05:00 up 4 days, 1:08, 2 users, load average: 0.00, 0.04, 0.08 - |____ |kuhn media australia| | /-oo /| |'-. |http://kma.0catch.com | | .\__/ || | | || | _ / `._ \|_|_.-' |stephen kuhn| | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | - linux user #:267497 linux machine #:194239 * MDK 9.1+ RH 9 Mandrake Linux Kernel 2.4.21-11mdk Cooker for i586 - * This message was composed on a 100% Microsoft free computer * Examinations are formidable even to the best prepared, for even the greatest fool may ask more the the wisest man can answer. -- C.C. Colton Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Fri, 18 Jul 2003 08:53:49 +1000 Stephen Kuhn [EMAIL PROTECTED] wrote: On Thu, 2003-07-17 at 22:21, Todd Slater wrote: snip But now that same server is acting as a relay for a CMS, and students have a need to send attachments. Since I can't just strip all attachments, I'm thinking I'll look into ClamAV for that. Did you do urpmi to get it, and is there docs for setting it up to scan all mail? Got it from either PLF or another contrib mirror - was VERY easy to set up and VERY easy to get set into my SENDMAIL configuration...easier than what I would have thought - so for a few days I thought it wasn't even working - but it was - ya know how that is... OK, got it all set up and running with amavisd-new. It was easy! Just an FYI, amavisd adds a header X-virus-scan. Not a signature, but there you have it. Todd Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Thu, 17 Jul 2003 17:45:24 -0400 JoeHill [EMAIL PROTECTED] wrote: On Thu, 17 Jul 2003 17:08:18 -0400 Todd Slater [EMAIL PROTECTED] uttered: ok, so far I've got the server collecting mail from the ISP for a test account I set up. however, the mail did not go to /var/spool/mail/test0001, it went to /var/spool/mail/joehill. you created user test0001? Just checking :) (You also might try logging in as test0001 in case there are certain files that get created on first login, like a mail spool--just grasping here.) yep, and if I send a test mail with the fetchmailrc showing postmaster test0001, it goes to /var/spool/mail/test0001. I've logged in as that user several times and even created an xfce4 session (niice...). As soon as I change postmaster to postmaster (default) or comment it out, the mail for test0001 goes to /var/spool/mail/postfix (?). I just don't know about the postmaster stuff in fetchmailrc. I leave that stuff alone as I figure most of it is set up in /etc/aliases. Since you're not retrieving mail for postmaster, I'd assume you should leave that alone. Any you say that /var/spool/mail/test001 exists? Todd -- Reclaim the flag: http://www.pbs.org/now/commentary/moyers19.html Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Thu, 17 Jul 2003 18:43:59 -0400 Todd Slater [EMAIL PROTECTED] uttered: I just don't know about the postmaster stuff in fetchmailrc. I leave that stuff alone as I figure most of it is set up in /etc/aliases. Since you're not retrieving mail for postmaster, I'd assume you should leave that alone. ya, I'm gonna try another approach for fetchmail suggested above. but I have to wonder, is Postfix maybe interfering? Why would the mail go to /var/spool/mail/postfix instead of to the user? Any you say that /var/spool/mail/test001 exists? absotively! -- Joehill Registered Linux user #282046 ++ Do not read this fortune under penalty of law. Violators will be prosecuted. (Penal Code sec. 2.3.2 (II.a.)) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Fri, 18 Jul 2003 06:14:45 +0800 Frankie [EMAIL PROTECTED] uttered: If I might ask,, why did you load on the courier rpm?? the only time I have done that was for imap.. As far as pop3 goes, the normal imap rpm contains a perfectly good pop3 server that is widely used, well documented and easier to get working. (because you don't have to do anything other then enable it in /etc/xinetd.d ) Okay, got that. Thanks, someone recommended Courier somewhere, I can't remember...losing track...arr! Installed the imap package, and I notice in /etc/xintetd.d I already have imap, imaps, ipop2, and ipop3. Is it ipop3 I want? I looked in drakconf under services, but it was not showing as started, even after a reboot. As for fetchmail,,, do this for a test.. copy the .fetchmailrc to the root home directory and as root type: fetchmail (you might want to turn off or remove fetchmail-daemon first.) see if that gets your mail delivered properly.. if it doesn't, install and run fetchmailconf (fetchmailconf-6.1.0-1.1mdk on my mdk9 system) got that. Then run fetchmailconf in a root terminal it will then all be pretty obvious what all the settings do its a nice pretty gui. once you have all that sorted, reinstall fetchmail-daemon and move your .fetchmailrc to /etc/fetchmailrc and give that a shot. see how that does it for you.. Thanks for the attention! One question, I asked Todd below, could Postfix be interfering? Why would the mail end up in /var/spool/mail/postfix? -- Joehill Registered Linux user #282046 ++ A baby is an alimentary canal with a loud voice at one end and no responsibility at the other. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Thursday 17 Jul 2003 9:36 pm, JoeHill wrote: On Thu, 17 Jul 2003 12:40:05 +0100 Derek Jennings [EMAIL PROTECTED] uttered: Postfix will pass the mail to Procmail if it exists, or will put the mail in the mailbox defined in /etc/postfix/main.cf home_mailbox parameter So far what's happening tho, is the mail is just sitting in /var/spool/mail/postfix and not getting put into the user's spool, unless I designate them postmaster in the /etc/fetchmailrc file. The fetchmailrc I am using is as follows: set postmaster postmaster set bouncemail set no spambounce set properties set daemon 600 poll pop2.sympatico.ca with proto POP3 user 'b1bhxi89' there with password 'xxx' is 'b1bhxi89' 'test0001' here options nokeep Shouldn't that last line be :- poll pop2.sympatico.ca with proto POP3 user 'b1bhxi89' there with password 'xxx' is 'test0001' here options nokeep And if you stop the daemon with service fetchmail stop and then run it by hand with fetchmail -v -f /etc/fetchmailrc you will see a detailed log of precisely what happens. Also be sure postfix is not running with service postfix stop derek -- -- www.jennings.homelinux.net Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Friday 18 Jul 2003 1:11 am, JoeHill wrote: On Fri, 18 Jul 2003 06:14:45 +0800 Frankie [EMAIL PROTECTED] uttered: If I might ask,, why did you load on the courier rpm?? the only time I have done that was for imap.. As far as pop3 goes, the normal imap rpm contains a perfectly good pop3 server that is widely used, well documented and easier to get working. (because you don't have to do anything other then enable it in /etc/xinetd.d ) Okay, got that. Thanks, someone recommended Courier somewhere, I can't remember...losing track...arr! It was me who recommended courier-imap-pop because it allows you to use a different username/password to your regular login. Since pop3 gives usernames/passwords in plain text it can be a security risk. However the courier-imap server assumes the mails are in 'Maildir' format (each mail is a file in a directory) while Fetchmail will by default put the mails in a 'spoolfile' (one huge file with each mail being a block of text in the file) So unless you want to take the time to work out how to set up Maildirs, then the regular imap server is the simplest solution. derek -- -- www.jennings.homelinux.net Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Fri, 18 Jul 2003 01:31:42 +0100 Derek Jennings [EMAIL PROTECTED] uttered: It was me who recommended courier-imap-pop because it allows you to use a different username/password to your regular login. Since pop3 gives usernames/passwords in plain text it can be a security risk. Gotcha. I'm inside a pretty secure/friendly LAN, so I should be okay. However the courier-imap server assumes the mails are in 'Maildir' format (each mail is a file in a directory) while Fetchmail will by default put the mails in a 'spoolfile' (one huge file with each mail being a block of text in the file) So unless you want to take the time to work out how to set up Maildirs, then the regular imap server is the simplest solution. exactly what I found out when I *actually* read the docs for Courier (amazing!) -- Joehill Registered Linux user #282046 ++ Yow! Are we laid back yet? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Fri, 18 Jul 2003 01:21:04 +0100 Derek Jennings [EMAIL PROTECTED] uttered: Shouldn't that last line be :- poll pop2.sympatico.ca with proto POP3 user 'b1bhxi89' there with password 'xxx' is 'test0001' here options nokeep that was it!! good eye son, I never caught that, thanks! okay, now all I gotta do is get the mail across the network... imap package is installed, just need to know where to get to it. Tried going in by IP, user and pass, no go. This imap package, is there a site for docs and FAQs? -- Joehill Registered Linux user #282046 ++ Bachelor: A man who chases women and never Mrs. one. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Thu, 17 Jul 2003 20:51:46 -0400 JoeHill [EMAIL PROTECTED] uttered: Tried going in by IP, user and pass, no go. This imap package, is there a site for docs and FAQs? aah ha ha ha ha, it works! it *really works*! I am so excited, I'm gonna...I'm gonna... gonna send some more test e-mails! LOL! Thanks all for your kindness and patience, some great help was had here. -- Joehill Registered Linux user #282046 ++ True communication is possible only between equals, because inferiors are more consistently rewarded for telling their superiors pleasant lies than for telling the truth. 21:17:25 up 1 day, 1:22, 4 users, load average: 0.04, 0.03, 0.00 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Thu, 2003-07-17 at 11:09, JoeHill wrote: On 17 Jul 2003 20:00:11 +1000 Stephen Kuhn [EMAIL PROTECTED] uttered: Starting at $20/mo or half-oz for half'a'year! Good one, I nearly spewed my coffee when I read this! Oh, shit, I could really get into that. I'll even write a fork of Postfix, called, of course, Potfix. well, Stephen, can we roll 'potfix' into the next version of dirty old man-Drake? Who much space will that take up? (still got to fit 3 gigs of p0rn and MDK on 9 cd romsg Shoot, sorry, I was only 'spossed to talk about that on the OT list Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Thu, 2003-07-17 at 18:18, JoeHill wrote: On Thu, 17 Jul 2003 20:51:46 -0400 JoeHill [EMAIL PROTECTED] uttered: Tried going in by IP, user and pass, no go. This imap package, is there a site for docs and FAQs? aah ha ha ha ha, it works! it *really works*! I am so excited, I'm gonna...I'm gonna... gonna send some more test e-mails! I have contacted the Black Hats and the Cruse Missile is on its way to your doorstep :) LOL! Thanks all for your kindness and patience, some great help was had here. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Thu, 2003-07-17 at 18:22, ed tharp wrote: On Thu, 2003-07-17 at 11:09, JoeHill wrote: On 17 Jul 2003 20:00:11 +1000 Stephen Kuhn [EMAIL PROTECTED] uttered: Starting at $20/mo or half-oz for half'a'year! Good one, I nearly spewed my coffee when I read this! Oh, shit, I could really get into that. I'll even write a fork of Postfix, called, of course, Potfix. well, Stephen, can we roll 'potfix' into the next version of dirty old man-Drake? Who much space will that take up? (still got to fit 3 gigs of p0rn and MDK on 9 cd romsg Shoot, sorry, I was only 'spossed to talk about that on the OT list... Wrap the CDs in Zig Zag paper and include a Cheech Chong album . __ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Postfix and POP3
I am looking for some concise info on getting Postfix to pick up my POP3 mail and then farm it out to other clients on the LAN. The postfix docs, so far as I have, er, scanned...have nothing specific to this setup, so I am wondering if that is in fact what PostFix is intended for. I want to keep this simple so that one dedicated machine pops my mailserver, then me and my wife (who uses Lookout! Express ouch) grab it by whatever protocol (POP preferred I guess for simplicity's sake. All the howtos I see have to do with setting up your own e-mail *domain*, which is not quite what I want to do, well, not until I learn how to configure a DNS server g. Thanks all! -- Joehill Registered Linux user #282046 Homepage: http://nodex.sytes.net ** Filtering out noise is one way to get a clearer signal. ** 22:18:16 up 2:23, 1 user, load average: 0.00, 0.00, 0.00 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
So you want postfix to grab stuff from a pop and send it to others? - Original Message - From: JoeHill [EMAIL PROTECTED] To: Mandrake Newbs [EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 11:58 PM Subject: [newbie] Postfix and POP3 I am looking for some concise info on getting Postfix to pick up my POP3 mail and then farm it out to other clients on the LAN. The postfix docs, so far as I have, er, scanned...have nothing specific to this setup, so I am wondering if that is in fact what PostFix is intended for. I want to keep this simple so that one dedicated machine pops my mailserver, then me and my wife (who uses Lookout! Express ouch) grab it by whatever protocol (POP preferred I guess for simplicity's sake. All the howtos I see have to do with setting up your own e-mail *domain*, which is not quite what I want to do, well, not until I learn how to configure a DNS server g. Thanks all! -- Joehill Registered Linux user #282046 Homepage: http://nodex.sytes.net ** Filtering out noise is one way to get a clearer signal. ** 22:18:16 up 2:23, 1 user, load average: 0.00, 0.00, 0.00 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Thu, 17 Jul 2003 00:00:50 -0300 Cody Harris [EMAIL PROTECTED] uttered: So you want postfix to grab stuff from a pop and send it to others? No, Postfix should, I'm assuming, be able to hold the mail so that clients can retrieve it on demand. -- Joehill Registered Linux user #282046 Homepage: http://nodex.sytes.net ** Filtering out noise is one way to get a clearer signal. ** 23:12:54 up 3:17, 2 users, load average: 0.00, 0.01, 0.00 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
- Original Message - From: JoeHill [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 17, 2003 12:14 AM Subject: Re: [newbie] Postfix and POP3 On Thu, 17 Jul 2003 00:00:50 -0300 Cody Harris [EMAIL PROTECTED] uttered: So you want postfix to grab stuff from a pop and send it to others? No, Postfix should, I'm assuming, be able to hold the mail so that clients can retrieve it on demand. Isn't that what pop is? It holds mail until you want to download it...oops...i guess i didn't mean to quote download...ah well. -- Joehill Registered Linux user #282046 Homepage: http://nodex.sytes.net ** Filtering out noise is one way to get a clearer signal. ** 23:12:54 up 3:17, 2 users, load average: 0.00, 0.01, 0.00 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Wed, 16 Jul 2003 22:58:43 -0400 JoeHill [EMAIL PROTECTED] wrote: I am looking for some concise info on getting Postfix to pick up my POP3 mail and then farm it out to other clients on the LAN. The postfix docs, so far as I have, er, scanned...have nothing specific to this setup, so I am wondering if that is in fact what PostFix is intended for. I want to keep this simple so that one dedicated machine pops my mailserver, then me and my wife (who uses Lookout! Expressouch) grab it by whatever protocol (POP preferred I guess for simplicity's sake. All the howtos I see have to do with setting up your own e-mail *domain*, which is not quite what I want to do, well, not until I learn how to configure a DNS server g. Thanks all! Joe, Would fetchmail do the trick? Fetchmail can get mail from all your POP3 and/or IMAP accounts and put the mails in a local user spool (/var/spool/mail/user) which could then be sent on via forward or retrieved by POP3 or IMAP. Or am I misunderstanding what you want to do? Todd Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Thu, 17 Jul 2003 00:14:22 -0300 Cody Harris [EMAIL PROTECTED] uttered: Isn't that what pop is? It holds mail until you want to download it...oops...i guess i didn't mean to quote download...ah well. No, I want to have Postfix retrieve the mail from my ISP's POP3 server, then hold it on my server. -- Joehill Registered Linux user #282046 Homepage: http://nodex.sytes.net ** Filtering out noise is one way to get a clearer signal. ** 23:37:42 up 3:42, 2 users, load average: 0.03, 0.02, 0.00 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
- Original Message - From: JoeHill [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 17, 2003 12:38 AM Subject: Re: [newbie] Postfix and POP3 On Thu, 17 Jul 2003 00:14:22 -0300 Cody Harris [EMAIL PROTECTED] uttered: Isn't that what pop is? It holds mail until you want to download it...oops...i guess i didn't mean to quote download...ah well. No, I want to have Postfix retrieve the mail from my ISP's POP3 server, then hold it on my server. Oh, you want fetchmail for that...i think -- Joehill Registered Linux user #282046 Homepage: http://nodex.sytes.net ** Filtering out noise is one way to get a clearer signal. ** 23:37:42 up 3:42, 2 users, load average: 0.03, 0.02, 0.00 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Wed, 16 Jul 2003 23:26:49 -0400 Todd Slater [EMAIL PROTECTED] uttered: Would fetchmail do the trick? Fetchmail can get mail from all your POP3 and/or IMAP accounts and put the mails in a local user spool (/var/spool/mail/user) which could then be sent on via forward or retrieved by POP3 or IMAP. Or am I misunderstanding what you want to do? It's just that I'd like to learn how to use Postfix, and this could be a good beginners project... -- Joehill Registered Linux user #282046 Homepage: http://nodex.sytes.net ** Filtering out noise is one way to get a clearer signal. ** 23:53:35 up 3:58, 3 users, load average: 0.03, 0.03, 0.00 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
- Original Message - From: JoeHill [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 17, 2003 12:54 AM Subject: Re: [newbie] Postfix and POP3 On Wed, 16 Jul 2003 23:26:49 -0400 Todd Slater [EMAIL PROTECTED] uttered: Would fetchmail do the trick? Fetchmail can get mail from all your POP3 and/or IMAP accounts and put the mails in a local user spool (/var/spool/mail/user) which could then be sent on via forward or retrieved by POP3 or IMAP. Or am I misunderstanding what you want to do? It's just that I'd like to learn how to use Postfix, and this could be a good beginners project... let me know how it works out...oh, joe, what's your private e-mail? -- Joehill Registered Linux user #282046 Homepage: http://nodex.sytes.net ** Filtering out noise is one way to get a clearer signal. ** 23:53:35 up 3:58, 3 users, load average: 0.03, 0.03, 0.00 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Thu, 2003-07-17 at 12:58, JoeHill wrote: I am looking for some concise info on getting Postfix to pick up my POP3 mail and then farm it out to other clients on the LAN. The postfix docs, so far as I have, er, scanned...have nothing specific to this setup, so I am wondering if that is in fact what PostFix is intended for. I want to keep this simple so that one dedicated machine pops my mailserver, then me and my wife (who uses Lookout! Express ouch) grab it by whatever protocol (POP preferred I guess for simplicity's sake. All the howtos I see have to do with setting up your own e-mail *domain*, which is not quite what I want to do, well, not until I learn how to configure a DNS server g. Thanks all! Why not use FETCHMAIL to snag the mail for everyone and toss it to their accounts on the linux box, then the incoming mail can be run through PROCMAIL and milter and SpamAssassin, then have all the boxes on the lan access the mail via either IMAP or POP3 from the linux box...? And you can set up all the outbound SMTP to run through that same linux box so that it can be scanned with like CLAMAV on it's way out...ay? -- Thu Jul 17 13:25:00 EST 2003 13:25:00 up 3 days, 5:28, 2 users, load average: 0.00, 0.04, 0.07 - |____ |kuhn media australia| | /-oo /| |'-. |http://kma.0catch.com | | .\__/ || | | || | _ / `._ \|_|_.-' |stephen kuhn| | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | - linux user #:267497 linux machine #:194239 * MDK 9.1+ RH 9 Mandrake Linux Kernel 2.4.21-11mdk Cooker for i586 - * This message was composed on a 100% Microsoft free computer * The sight of death frightens them [Earthers]. -- Kras the Klingon, Friday's Child, stardate 3497.2 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
- Original Message - From: Stephen Kuhn [EMAIL PROTECTED] To: Mandrake Newbs [EMAIL PROTECTED] Sent: Thursday, July 17, 2003 12:28 AM Subject: Re: [newbie] Postfix and POP3 On Thu, 2003-07-17 at 12:58, JoeHill wrote: I am looking for some concise info on getting Postfix to pick up my POP3 mail and then farm it out to other clients on the LAN. The postfix docs, so far as I have, er, scanned...have nothing specific to this setup, so I am wondering if that is in fact what PostFix is intended for. I want to keep this simple so that one dedicated machine pops my mailserver, then me and my wife (who uses Lookout! Express ouch) grab it by whatever protocol (POP preferred I guess for simplicity's sake. All the howtos I see have to do with setting up your own e-mail *domain*, which is not quite what I want to do, well, not until I learn how to configure a DNS server g. Thanks all! Why not use FETCHMAIL to snag the mail for everyone and toss it to their accounts on the linux box, then the incoming mail can be run through PROCMAIL and milter and SpamAssassin, then have all the boxes on the lan access the mail via either IMAP or POP3 from the linux box...? And you can set up all the outbound SMTP to run through that same linux box so that it can be scanned with like CLAMAV on it's way out...ay? You lost me... -- Thu Jul 17 13:25:00 EST 2003 13:25:00 up 3 days, 5:28, 2 users, load average: 0.00, 0.04, 0.07 - |____ |kuhn media australia| | /-oo /| |'-. |http://kma.0catch.com | | .\__/ || | | || | _ / `._ \|_|_.-' |stephen kuhn| | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | - linux user #:267497 linux machine #:194239 * MDK 9.1+ RH 9 Mandrake Linux Kernel 2.4.21-11mdk Cooker for i586 - * This message was composed on a 100% Microsoft free computer * The sight of death frightens them [Earthers]. -- Kras the Klingon, Friday's Child, stardate 3497.2 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Thu, 17 Jul 2003 00:56:15 -0300 Cody Harris [EMAIL PROTECTED] uttered: oh, joe, what's your private e-mail? same. -- Joehill Registered Linux user #282046 Homepage: http://nodex.sytes.net ** Filtering out noise is one way to get a clearer signal. ** 00:06:10 up 4:11, 3 users, load average: 0.05, 0.08, 0.03 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Wed, 16 Jul 2003 23:54:43 -0400 JoeHill [EMAIL PROTECTED] wrote: On Wed, 16 Jul 2003 23:26:49 -0400 Todd Slater [EMAIL PROTECTED] uttered: Would fetchmail do the trick? Fetchmail can get mail from all your POP3 and/or IMAP accounts and put the mails in a local user spool (/var/spool/mail/user) which could then be sent on via forward or retrieved by POP3 or IMAP. Or am I misunderstanding what you want to do? It's just that I'd like to learn how to use Postfix, and this could be a good beginners project... As I understand it, Postfix doesn't go out and get mail, it just sits around listening for mail sent to the machine it lives on, or it will send mail from that machine or a trusted domain. It delivers mail locally (Internet Postfix user) but cannot be told to get mail from your ISP; for that you'll need fetchmail. Todd -- Anybody but a Republican or Democrat 2004 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Thu, 17 Jul 2003 13:28:26 +1000 Stephen Kuhn [EMAIL PROTECTED] wrote: snipAnd you can set up all the outbound SMTP to run through that same linux box so that it can be scanned with like CLAMAV on it's way out...ay? BTW Stephen, did you figure out how to add All outgoing email has been scanned by . . . with CLAMAV? Todd -- If we don't believe in freedom of expression for people we despise, we don't believe in it at all. -Noam Chomsky Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Thu, 2003-07-17 at 13:38, JoeHill wrote: On Thu, 17 Jul 2003 00:14:22 -0300 Cody Harris [EMAIL PROTECTED] uttered: Isn't that what pop is? It holds mail until you want to download it...oops...i guess i didn't mean to quote download...ah well. No, I want to have Postfix retrieve the mail from my ISP's POP3 server, then hold it on my server. So you want NOT to use FETCHMAIL to grab the mail from the server - you're wanting to have your LINUX box, using a fully qualified dns name, to grab the mail with POSTFIX as though it was sucking mail for an entire domain? ...are you sure you ain't been smoking something funny? -- Thu Jul 17 14:00:00 EST 2003 14:00:00 up 3 days, 6:03, 2 users, load average: 0.05, 0.15, 0.16 - |____ |kuhn media australia| | /-oo /| |'-. |http://kma.0catch.com | | .\__/ || | | || | _ / `._ \|_|_.-' |stephen kuhn| | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | - linux user #:267497 linux machine #:194239 * MDK 9.1+ RH 9 Mandrake Linux Kernel 2.4.21-11mdk Cooker for i586 - * This message was composed on a 100% Microsoft free computer * My family history begins with me, but yours ends with you. -- Iphicrates Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Thu, 2003-07-17 at 14:01, Cody Harris wrote: You lost me... Here, I'll draw it out: ISP (where mail sits) | FETCHMAIL (grabs the mail from the ISP) | PROCMAIL (filters incoming mail through rules for spam) | ANTIVIRUS (whatever AV you use, scans the mail) | (POSTFIX/SENDMAIL) (mail gets tossed here and in user's mbox) Each client machine can access the mail from the mail machine using either POP3 or IMAP - if they use IMAP, then the mail always lives on the mail machine (nice space saver) When the end-user sends an email, it goes back to the mail machine, processed, av-scanned, then sent out (whenever it is setup to connect to the internet or a remote SMTP server) Simple. Easy as pulling a greased string outta cat's ass. -- Thu Jul 17 14:15:01 EST 2003 14:15:01 up 3 days, 6:18, 2 users, load average: 0.20, 0.22, 0.18 - |____ |kuhn media australia| | /-oo /| |'-. |http://kma.0catch.com | | .\__/ || | | || | _ / `._ \|_|_.-' |stephen kuhn| | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | - linux user #:267497 linux machine #:194239 * MDK 9.1+ RH 9 Mandrake Linux Kernel 2.4.21-11mdk Cooker for i586 - * This message was composed on a 100% Microsoft free computer * If you think the problem is bad now, just wait until we've solved it. -- Arthur Kasspe Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix and POP3
On Thu, 2003-07-17 at 13:59, Todd Slater wrote: On Thu, 17 Jul 2003 13:28:26 +1000 Stephen Kuhn [EMAIL PROTECTED] wrote: snipAnd you can set up all the outbound SMTP to run through that same linux box so that it can be scanned with like CLAMAV on it's way out...ay? BTW Stephen, did you figure out how to add All outgoing email has been scanned by . . . with CLAMAV? Todd Nah - at least not yet - but it is working - so that's a nice touch (not that I'm really worried about sending viruses out of my system here at home - but was wanting to get it done for a few clients that have a tendency to forward files/emails all over the place - so that put a stopper to them - and the management at a few places made comments to me so far about the workers not sending too much junk around the office...so the original objective has been met) -- Thu Jul 17 14:25:00 EST 2003 14:25:00 up 3 days, 6:28, 2 users, load average: 0.46, 0.25, 0.19 - |____ |kuhn media australia| | /-oo /| |'-. |http://kma.0catch.com | | .\__/ || | | || | _ / `._ \|_|_.-' |stephen kuhn| | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | - linux user #:267497 linux machine #:194239 * MDK 9.1+ RH 9 Mandrake Linux Kernel 2.4.21-11mdk Cooker for i586 - * This message was composed on a 100% Microsoft free computer * Mac Airways: The cashiers, flight attendants and pilots all look the same, feel the same and act the same. When asked questions about the flight, they reply that you don't want to know, don't need to know and would you please return to your seat and watch the movie. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com