Re: [newbie] starting fetchmail on boot
On Sun, 9 Jan 2005 11:39:13 -0600 Chris disseminated the following: I'm sure this is a very simple question, but I have to ask it. After a restart I have to enter the below command to get fetchmail to start polling my isp, where do I put this command to automate the process? [EMAIL PROTECTED] chris]$ fetchmail -m procmail Fetchmail can be installed as a system service, ie. it starts at boot: urpmi fetchmail-daemon -- JoeHill / RLU #282046 / www.freeyourmachine.org 15:46:48 up 8 days, 4:24, 7 users, load average: 0.23, 0.55, 0.73 +++ Truly, I say to you, as you did it to one of the least of these my brethren, you did it to me. -- Jesus Christ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
[newbie] starting fetchmail on boot
I'm sure this is a very simple question, but I have to ask it. After a restart I have to enter the below command to get fetchmail to start polling my isp, where do I put this command to automate the process? [EMAIL PROTECTED] chris]$ fetchmail -m procmail -- Chris Registered Linux User 283774 http://counter.li.org 11:36:30 up 14:16, 1 user, load average: 0.79, 0.59, 0.49 Mandrake Linux 10.1 Official, kernel 2.6.8.1-12mdk Everything will be just tickety-boo today. Live - From Virgin Radio UK Janis Joplin - Piece of my heart Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] starting fetchmail on boot
Chris wrote: I'm sure this is a very simple question, but I have to ask it. After a restart I have to enter the below command to get fetchmail to start polling my isp, where do I put this command to automate the process? [EMAIL PROTECTED] chris]$ fetchmail -m procmail One place would be /etc/rc.local. Unless you want it to run as root, use something like: su -l chris -c fetchmail -m procmail The quotes around the fetchmail command are needed. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] starting fetchmail on boot
Chris ([EMAIL PROTECTED]) wrote: I'm sure this is a very simple question, but I have to ask it. After a restart I have to enter the below command to get fetchmail to start polling my isp, where do I put this command to automate the process? [EMAIL PROTECTED] chris]$ fetchmail -m procmail I added mine to my .bash_profile so it only gets read when I login. # set fetchmail fetching fetchmail -d 600 This will fetchmail in daemon mode and check every 10 minutes. HTH some -- RickS Registered Linux user #338463 Mdk 10.1 OE - Linux 2.6.8.1-12mdk@ http://counter.li.org gpg --recv-keys --keyserver www.keyserver.net 0x24AABE61 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] [OT] fetchmail procmail spamc help
On Fri, 26 Nov 2004 19:19:23 -0600 Chris disseminated the following: Joe, let me ask you at least one more question, I've got postfix working in this manner: Nov 26 19:00:02 cpollock postfix/nqmgr[2195]: 3D2E3584005: from=[EMAIL PROTECTED], size=5272, nrcpt=1 (queue active) Nov 26 19:00:04 cpollock postfix/smtp[21836]: 5268B584002: to=[EMAIL PROTECTED], relay=mx2.earthlink.net[207.217.125.17], delay=3, status=sent (250 1cxQ0rMl3NZFpB0 Message accepted for delivery) Nov 26 19:00:05 cpollock postfix/smtp[21841]: 3D2E3584005: to=[EMAIL PROTECTED], relay=mxa.earthlink.net[207.217.125.25], delay=3, status=sent (250 1cxQ0tvg3NZFpO0 Message accepted for delivery) which is forwarding all my spam that I receive at my EL address to EL's junkmail address. I guess its possible that I don't have much else to do with it except possibly add in the procmail call? Okay, you just zoomed right by me in terms of configuring Postfix. I've never ventured that far, ie. passing mail *back* to Postfix for alternate delivery, if I even understand correctly what you are doing. Procmail should be 'called' by Postfix by default. Usually, from what I understand, it is Procmail which then calls the spam recipes/processes, and delivers the mail as you direct, including passing mail back to Postfix as an MTA. And I apologize for the seemingly dumb questions. Now I feel dumb. :-) -- JoeHill / RLU #282046 / www.freeyourmachine.org 09:45:22 up 6 days, 54 min, 10 users, load average: 0.12, 0.05, 0.01 +++ The struggle between people and capital is now an epic struggle between life and death. -- Vandana Shiva, World Social Forum, January 16, 2004 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] [OT] fetchmail procmail spamc help
On Saturday 27 November 2004 08:52 am, JoeHill wrote: which is forwarding all my spam that I receive at my EL address to EL's junkmail address. I guess its possible that I don't have much else to do with it except possibly add in the procmail call? Okay, you just zoomed right by me in terms of configuring Postfix. I've never ventured that far, ie. passing mail *back* to Postfix for alternate delivery, if I even understand correctly what you are doing. Procmail should be 'called' by Postfix by default. Usually, from what I understand, it is Procmail which then calls the spam recipes/processes, and delivers the mail as you direct, including passing mail back to Postfix as an MTA. And I apologize for the seemingly dumb questions. Now I feel dumb. :-) Don't think so Joe, I'm the 5yr linux newbie here. All I do is run a script that someone from earthlink tech support was kind enough to provide me: #!/usr/bin/perl open(SENDMAIL, |/usr/lib/sendmail -f [EMAIL PROTECTED] -oi -t) || die Cannot open sendmail output; print SENDMAIL ENDENDEND; From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] -- Chris Registered Linux User 283774 http://counter.li.org 10:49am up 23 days, 15:18, 2 users, load average: 0.09, 0.05, 0.01 Real computer scientists like having a computer on their desk, else how could they read their mail? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
[newbie] [OT] fetchmail procmail spamc help
Realizing this is OT, I'm confused and have some questions. If someone can help please mail me off list as I don't want to get the current list Nazi after me :) -- Chris Registered Linux User 283774 http://counter.li.org 4:19pm up 22 days, 20:47, 2 users, load average: 0.05, 0.12, 0.15 We have more to fear from the bungling of the incompetent than from the machinations of the wicked. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] [OT] fetchmail procmail spamc help
On Fri, 26 Nov 2004 16:22:11 -0600 Chris disseminated the following: Realizing this is OT, I'm confused and have some questions. If someone can help please mail me off list as I don't want to get the current list Nazi after me :) I don't see this as OT at all, though it's been covered quite a bit in past threads and there are innumerable how-to's on the web. However, I'm kinda thinkin' of switchin' from some very complicated Procmail filters to something simpler, so I wouldn't mind seeing this thread expand. Fetchmail is pretty simple. Install it, run 'fetchmailconf', yer done. If you have Postfix installed ('urpmi postfix' if you don't), then you've already arrived at the point where you can start the anti-spam thang. Fetchmail will automagically hand off to Postfix, which will call Procmail, which would then call whatever recipes/processes you want to implement to deal with spam, and then deliver the mail accordingly. And now, I will save Derek the trouble of posting a link to his page: http://www.jennings.homelinux.net/mailserver_config.html -- JoeHill / RLU #282046 / www.freeyourmachine.org 18:13:46 up 5 days, 9:23, 10 users, load average: 0.25, 0.07, 0.02 +++ Capitalism is the astounding belief that the most wickedest of men will do the most wickedest of things for the greatest good of everyone. -- John Maynard Keynes Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] [OT] fetchmail procmail spamc help
On Friday 26 November 2004 23:23, JoeHill wrote: On Fri, 26 Nov 2004 16:22:11 -0600 Chris disseminated the following: Realizing this is OT, I'm confused and have some questions. If someone can help please mail me off list as I don't want to get the current list Nazi after me :) I don't see this as OT at all, though it's been covered quite a bit in past threads and there are innumerable how-to's on the web. However, I'm kinda thinkin' of switchin' from some very complicated Procmail filters to something simpler, so I wouldn't mind seeing this thread expand. Fetchmail is pretty simple. Install it, run 'fetchmailconf', yer done. If you have Postfix installed ('urpmi postfix' if you don't), then you've already arrived at the point where you can start the anti-spam thang. Fetchmail will automagically hand off to Postfix, which will call Procmail, which would then call whatever recipes/processes you want to implement to deal with spam, and then deliver the mail accordingly. And now, I will save Derek the trouble of posting a link to his page: http://www.jennings.homelinux.net/mailserver_config.html The only thing I would add is if you install fetchmail-daemon fetchmail will automatically run every 3 minutes using the configuration in /etc/fetchmailrc. If you install just fetchmail it will not run automatically. You would need to set up a cron job or something. Also the test in fetchmailconf will not work while the daemon is running. You have to stop the daemon first. derek -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] [OT] fetchmail procmail spamc help
On Friday 26 November 2004 05:23 pm, JoeHill wrote: On Fri, 26 Nov 2004 16:22:11 -0600 Fetchmail is pretty simple. Install it, run 'fetchmailconf', yer done. If you have Postfix installed ('urpmi postfix' if you don't), then you've already arrived at the point where you can start the anti-spam thang. Fetchmail will automagically hand off to Postfix, which will call Procmail, which would then call whatever recipes/processes you want to implement to deal with spam, and then deliver the mail accordingly. And now, I will save Derek the trouble of posting a link to his page: http://www.jennings.homelinux.net/mailserver_config.html Thanks Joe. I'm not running a mail server, just trying to cut down on some of the overhead when Kmail calls spamc by using fetchmail procmail. I've done some more reading while waiting for replies and find that if I run fetchmail -m procmail this will call procmail, which I've been able to see happen while watching running processes. But, now I see another problem. fetchmail picks up, apparently procmail runs spamc, because looking in /var/spool/mail[chris] at the msg I can see the spam check. I can see and read the msg in /var/spool/mail[chris] but now mail isn't comeing into my inbox when I run my local mailcheck with Kmail :( Here are the headers of a msg: Status: U Return-Path: [EMAIL PROTECTED] Received: from pop.earthlink.net [207.217.121.210] by localhost with POP3 (fetchmail-6.1.0) for [EMAIL PROTECTED] (single-drop); Fri, 26 Nov 2004 17:50:34 -0600 (CST) Received: from smtpauth07.mail.atl.earthlink.net ([209.86.89.67]) by mx-a065b05.pas.sa.earthlink.net (EarthLink SMTP Server) with ESMTP id 1cxPQc2iN3NZFpL2 for [EMAIL PROTECTED]; Fri, 26 Nov 2004 15:49:28 -0800 (PST) Received: from [69.68.226.5] (helo=cpollock) by smtpauth07.mail.atl.earthlink.net with asmtp (TLSv1:RC4-MD5:128) (Exim 4.34) id 1CXpqC-0005Yi-D3 for [EMAIL PROTECTED]; Fri, 26 Nov 2004 18:49:28 -0500 Content-Type: text/plain; charset=us-ascii Now whats wrongback to having kmail check until I get this straight. -- Chris Registered Linux User 283774 http://counter.li.org 5:39pm up 22 days, 22:07, 3 users, load average: 0.12, 0.16, 0.20 Ducks? What ducks?? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] [OT] fetchmail procmail spamc help
On Friday 26 November 2004 06:10 pm, Chris wrote: Status: U Return-Path: [EMAIL PROTECTED] Now whats wrongback to having kmail check until I get this straight. I'll reply to my own msg here since I did notice one thing amiss, normal messages have a 'Status: R, this one I see has a Status: U, meaning undelivered? -- Chris Registered Linux User 283774 http://counter.li.org 6:20pm up 22 days, 22:48, 2 users, load average: 0.08, 0.03, 0.09 Happiness is a hard disk. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] [OT] fetchmail procmail spamc help
On Fri, 26 Nov 2004 18:22:09 -0600 Chris disseminated the following: Now whats wrongback to having kmail check until I get this straight. I'll reply to my own msg here since I did notice one thing amiss, normal messages have a 'Status: R, this one I see has a Status: U, meaning undelivered? Sorry, I'm not familiar with how this would work with skipping the Postfix step in the process. Perhaps KMail isn't seeing the mail in /var/spool/mail/chris as new mail, and so is not delivering it to your inbox? Also, check in the KMail config to make sure that the path to your mail spool is correct, I can see something like KMail defaulting to /var/mail or something. Postfix does not add much 'overhead' to the process, in fact the anti-spam processing is going to take up a lot more. Why not save yourself the headaches and go with a process that works off the bat? Postfix also gives you the opportunity to expand this whole setup in the future, as you can see if you read Derek Jennings' howto. Anyway, my 2 cents. -- JoeHill / RLU #282046 / www.freeyourmachine.org 19:48:23 up 5 days, 10:57, 10 users, load average: 0.03, 0.03, 0.00 +++ Truly, I say to you, as you did it to one of the least of these my brethren, you did it to me. -- Jesus Christ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] [OT] fetchmail procmail spamc help
On Friday 26 November 2004 06:56 pm, JoeHill wrote: Sorry, I'm not familiar with how this would work with skipping the Postfix step in the process. Perhaps KMail isn't seeing the mail in /var/spool/mail/chris as new mail, and so is not delivering it to your inbox? Also, check in the KMail config to make sure that the path to your mail spool is correct, I can see something like KMail defaulting to /var/mail or something. Postfix does not add much 'overhead' to the process, in fact the anti-spam processing is going to take up a lot more. Why not save yourself the headaches and go with a process that works off the bat? Postfix also gives you the opportunity to expand this whole setup in the future, as you can see if you read Derek Jennings' howto. Anyway, my 2 cents. Thanks Joe, I'm reading Derek's setup now and configuring as I go. I'll lick this yetnow got any ideas on the other msg I posted regarding kdeinit: dcopserver --nosid --suicide? -- Chris Registered Linux User 283774 http://counter.li.org 6:58pm up 22 days, 23:27, 3 users, load average: 0.48, 0.32, 0.31 Don't take life so serious, son, it ain't nohow permanent. -- Walt Kelly Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] [OT] fetchmail procmail spamc help
On Fri, 26 Nov 2004 19:01:39 -0600 Chris disseminated the following: kdeinit: dcopserver --nosid --suicide? I wouldn't touch anything that begins with a 'K' if you paid me ;-) I *am* encouraged by kdeinit committing suicide, it's finally realized it has no reason to live. Go here: http://www.eslrahc.com/ ...add the appropriate repository, and: urpmi xfce No more kdeinit errors :-D However, this is your best friend when it comes to error messages: google.com/linux -- JoeHill / RLU #282046 / www.freeyourmachine.org 20:10:08 up 5 days, 11:19, 10 users, load average: 0.11, 0.03, 0.01 +++ Capitalism is the astounding belief that the most wickedest of men will do the most wickedest of things for the greatest good of everyone. -- John Maynard Keynes Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] [OT] fetchmail procmail spamc help
On Friday 26 November 2004 06:56 pm, JoeHill wrote: Postfix does not add much 'overhead' to the process, in fact the anti-spam processing is going to take up a lot more. Why not save yourself the headaches and go with a process that works off the bat? Postfix also gives you the opportunity to expand this whole setup in the future, as you can see if you read Derek Jennings' howto. Anyway, my 2 cents. Joe, let me ask you at least one more question, I've got postfix working in this manner: Nov 26 19:00:02 cpollock postfix/nqmgr[2195]: 3D2E3584005: from=[EMAIL PROTECTED], size=5272, nrcpt=1 (queue active) Nov 26 19:00:04 cpollock postfix/smtp[21836]: 5268B584002: to=[EMAIL PROTECTED], relay=mx2.earthlink.net[207.217.125.17], delay=3, status=sent (250 1cxQ0rMl3NZFpB0 Message accepted for delivery) Nov 26 19:00:05 cpollock postfix/smtp[21841]: 3D2E3584005: to=[EMAIL PROTECTED], relay=mxa.earthlink.net[207.217.125.25], delay=3, status=sent (250 1cxQ0tvg3NZFpO0 Message accepted for delivery) which is forwarding all my spam that I receive at my EL address to EL's junkmail address. I guess its possible that I don't have much else to do with it except possibly add in the procmail call? And I apologize for the seemingly dumb questions. -- Chris Registered Linux User 283774 http://counter.li.org 7:15pm up 22 days, 23:43, 2 users, load average: 1.45, 0.77, 0.48 He who hates vices hates mankind. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie-it] fetchmail, procmail et similia
E' inutile che tu faccia finta di nulla e ti guardi intorno, caro Nevermind, perche' ho le prove, il martedì 11 novembre 2003, alle 21:12 hai scritto: Alle 21:29, martedì 11 novembre 2003, Arwan ha scritto: Per configurare mutt (che e' alla fine della catena fetchmail+sendmail, ma puo' essere sostiutito da qualcos'altro) ho letto gli appunti di Michele Antonecchia, La posta con Mutt. E poi, Grazie Arwan, dove trovo questi appunti e magari qualcosa di pubblicato in rete su questa catena? Che poi magari ne faccio un how-to completo e lo pubblico sul sito che sto approntando sulla programmazione e sul mondo informatico... ;) Gli appunti di Antonecchia non ricordo, ma credo che Google possa aiutarti. Aspe'... la mia stampa non e' venuta bene, ma credo che il sito sia www.telug.it. Arwan -- MajaGlug: quando il Lug e' solo un pretesto - www.teppisti.it
Re: [newbie-it] fetchmail, procmail et similia
E' inutile che tu faccia finta di nulla e ti guardi intorno, caro Nevermind, perche' ho le prove, il mercoledì 12 novembre 2003, alle 23:33 hai scritto: Ma a quanto ho capito mutt è un programam testuale, giusto? esatto. Bhe, ora non mi resta di capire come fetchmail e sendmail possano funzionare con kmail, e soprattutto come successivamente sfruttare fetchmail per scaricare la posta e poi girarla a dei client windows... Mi pareva che qualcuno in lista l'avesse fatto, ma non ricordo chi. In pratica, mi spiega, cerco un sistema per fare in modo che un programam come fetchmail mi scarichi la posta dai vari pop, la filtri, e poi la metta disponibile, magari mettendo in piedi un mail server locale, a dei client che però hanno windows sopra... Fetch scarica, procmail filtra e distribuisce... il resto riguarda la lettura. Arwan -- MajaGlug: quando il Lug e' solo un pretesto - www.teppisti.it
[newbie-it] fetchmail, procmail et similia
Ciao a tutti. Sento spesso parlare di questa sequenza di programmi per la gestione della posta, ma ancora non ci ho capito molto... qualcuno di voi sa indicarmi qualche how-to in italiano (in assenza mi va bene anche in inglese) che sia abbastanza esauriente sull'uso di questi programmi? -- // ( o o ) --ooO-(_)-Ooo-- Nevermind, un newbie di Linux con tanta voglia di imparare!
Re: [newbie-it] fetchmail, procmail et similia
E' inutile che tu faccia finta di nulla e ti guardi intorno, caro Nevermind, perche' ho le prove, il martedì 11 novembre 2003, alle 11:20 hai scritto: Ciao a tutti. Sento spesso parlare di questa sequenza di programmi per la gestione della posta, ma ancora non ci ho capito molto... qualcuno di voi sa indicarmi qualche how-to in italiano (in assenza mi va bene anche in inglese) che sia abbastanza esauriente sull'uso di questi programmi? Per configurare mutt (che e' alla fine della catena fetchmail+sendmail, ma puo' essere sostiutito da qualcos'altro) ho letto gli appunti di Michele Antonecchia, La posta con Mutt. E poi, di fondamentale aiuto, dall'archivio di questa lista leggiti i thread a giugno-luglio (o giu' di li'). Arwan -- MajaGlug: quando il Lug e' solo un pretesto - www.teppisti.it
Re: [newbie-it] fetchmail, procmail et similia
Alle 21:29, martedì 11 novembre 2003, Arwan ha scritto: Per configurare mutt (che e' alla fine della catena fetchmail+sendmail, ma puo' essere sostiutito da qualcos'altro) ho letto gli appunti di Michele Antonecchia, La posta con Mutt. E poi, Grazie Arwan, dove trovo questi appunti e magari qualcosa di pubblicato in rete su questa catena? Che poi magari ne faccio un how-to completo e lo pubblico sul sito che sto approntando sulla programmazione e sul mondo informatico... ;) -- // ( o o ) --ooO-(_)-Ooo-- Nevermind, un newbie di Linux con tanta voglia di imparare!
Re: [newbie] Was: Fetchmail problem with duplicate messages, NOW: BIG Procmail problems
Well, I decided to make the mail system a little more orderly, and seem to have blundered into more trouble. I got the duplicate messages to stop by moving the cron job to get both user's emails to individual cron jobs run as each user, and a local $HOME .fetchmailrc, .procmailrc, .forward, etc. The trouble is, I have procmail sending forwarding my mail to the /home/user/mail mail directory, where it's supposed to put the mail into an mbox file, (Netscape default I believe) and it's downloading all my email into a big file that Netscape shows as a single email with a path for the subject, like this: /home/mark/mail/quarantine When I look at the structure of the old mbox file, and the procmail produced mbox file, I see that procmail has added some header information, but the From: tag is still there, so shouldn't it be properly handled by Netscape? The main issue I think is that I don't really understand how procmailrc files should work to update my mail files. Does anyone have a working .procmailrc, .forward files that use a standard Netscape/unix mbox format, so that I can copy it and hopefully get this thing working? I have to get this bit working prior to adding spamassassin and virus filtering for the other windows users on the network. Thanks for all the help so far, Mark Bryan Phinney wrote: On Tuesday 07 October 2003 06:34 pm, Mark wrote: Ok, I'm running fetchmail --nokeep as a root cron hourly, and my /root/.fetchmailrc is as follows: poll mail.voyager.net proto pop3 user pass is mark here nokeep poll mail.voyager.net proto pop3 user pass is pauline here nokeep Try changing the lines to: poll mail.voyager.net with proto APOP user '' there with password '' is 'mark' here and etc. perhaps add a set logfile /var/log/fetchmail.log at the beginning and then check the logfile after the cron job and then after running from the command line to see if you get a different set of results messages. You can also change the log mode to level 5 to get a complete history rather than just a summary. You can always remove the logfile if it helps you figure out what the problem is. If I log in as root, and just issue the command fetchmail, it gets and deletes messages. I copied the rc over to /etc/fetchmailrc, and it still does it. I am at a loss to explain this. My previous setup, a copy of MDK 6.0 running on nearly the same hardware, didn't do this. I download all messages for both email accounts to the server, then serve it via IMAP to several computers in the home. You may want to include the command you are using to run fetchmail from the cron job. It is possible that you need to specify the config file when run in that fashion, also that some path or other info is included in the shell script when you su to root but is NOT included when cron runs the job. 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-it] Fetchmail/Procmail+Balsa=Perfetto!
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 22 August 2003 18:27, kudega wrote: Aaa proposito... è possibile filtrare la posta prima di scaricarla? Cioè se mi arriva una tonnellata di Spam io non la voglio nemmeno scaricare... prova save my modem, lo trovi a freshmeat. bye - -- Devil Inside Experiment - C'era un bambino che odiava la polizia http://www.acidlife.com/mayhem/freefred/ Davide Banda Partial Arts [2000] - http://www.marcob.org/go.asp?~freefred/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/SkrAJoljSvtxdFkRAiJWAJ9ZdS2dfxJ9jpOw4iEHiWmJ/ODS2wCeLKt+ YEEHrmJdA7MEyRieTNFqQW4= =S/UU -END PGP SIGNATURE-
Re: [newbie-it] Fetchmail/Procmail+Balsa=Perfetto!
* kudega ha scritto: Giuseppe ho installato Balsa, e devo dire che fa proprio al caso mio! Interfaccia grafica, semplice da utilizzare ma soprattutto lo posso configurare facilmente con la posta in locale! ...Giuseppe avevi ragione sull'instabilità di balsa... adesso però l'ho aggiornato alla vers 2.0.13 che guarda caso è stata compilata e testata proprio sulla RH9. Per ora non ha ancora dato segni di cedimento... :) Balsa proviene da mutt, perciò ha ereditato le sue caratteristiche. L'ho provato nel frattempo anch'io e debbo dire che è stato proprio una sorpresa. E' molto migliorato dall'ultima volta che l'ho provato calca sempre più lo stile professionale di mutt, è fatto proprio bene, tutto quello che ha è utile, è essenziale, è il contrario di evolution. Sembra fatto apposta per lo sperimentatore, un vero e proprio strumento di lavoro. Ho fatto piazza pulita degli altri client grafici ora tengo solo questo, se in breve tempo è diventato così fuguriamoci in seguito ;) Mi sembra che ha quasi tutte le funzionalità di mutt, si vedono pure le scritte a colori. Lo devo testare per bene, occasionalmente potrei affiancarlo a mutt, tanto è vero che l'ho già configurato per questo ed è stata una delizia di facilità e potenza, che bellezza leggere le mail di mutt senza problemi di compatibilità, supporta tutti i tipi di mailbox. Quindi scarico con fetchmail, distribuisco con procmail e leggo e scrivo cone balsa, per spedire la posta invece utilizzo il sever in remoto... nel mio caso mail.inwind.it:25 Vedo che hai le idee chiare ;) Insomma ora non mi resta che inserire in fetchmail tutti gli account e creare quelche filtro anti spam in procmail. Questo è facile lo vedrai nella risposta finale. Aaa proposito... è possibile filtrare la posta prima di scaricarla? La soddisfazione di vedere l'azione di procmail mandare a finire nel pozzo nero tramite la traccia lasciata sul log from tutta qualle posta indesiderata me la devo ancora gustare... pertanto mi ha distolto da questa possibilità che tu richiedi ;) Filtrare con procmail la posta prima di scaricarla credo però che non sia possibile. Riguardo a fetchmail invece posso dirti che è previsto un comando che sembra abile a bloccare lo spam che risulta però dai seguenti errori SMTP/ESMTP 452, 552, 553 ed altri che per il loro significato rimando alla pagine man di fetchmail. Comunque se vuoi provare la sintassi è di questo tipo: $ fetchmail -Z nnn Possono essere inseriti più numeri separati da virgola. Quindi quando scarichi la posta con fetcmail dovresti utilizzare questo comando: $ fetchmail -a -Z 452, 552, 553, ... Eventualmente prova e poi fammi sapere. Non credo però che ci si possa fare molto considerando che nessuno lo usa. Personalmente, al riguardo, aspetto Syd perchè se ne vale la pena potrebbe essere un'altro argomento interessante da approfondire. Colgo l'occasione per dirti (me ne ero dimenticato nelle precedenti mail) che quando avvii fetchmail per scaricarti la posta devi aggiungere il flag -a ossia: $ fetchmail -a così se per qualunque ragione un messaggio ti rimanesse sul server nonostante sia stato scaricato, nel prossimo prelievo fetchmail possa cancellartelo anzichè darti ogni volta un errore che è stato già letto. In questo caso fetchmail non te lo cancellerebbe mai senza l'opzione -a Non posso filtrarla direttamente in remoto Se imposti i filtri su webmail sembra invece che funzioni parzialmente. e poi automatizzare il download delle mail che hanno superato i filtri? Basta inserire una regola in .procmailrc che troverai specificata nell'ultima risposta. PS: Se qualcuno può postare anche qualche esempio di filtro per procmail... assieee!! :) # _E' importante che all'inizio di tutti i filtri di .procmailrc siano_ # _presenti queste regole_: MAILDIR=$HOME/Mail# questa sicuramente l'hai gia :0 fhbw # qui elimina caratteri new-line ^M * ^X-XaM3-API-Version | sed 's/=0D//g' :0 fhw# Questa ti risistema l'header from che | formail -I From -a From# procmail nel delivery sposta rendendo # poi illegibile la mail dal client LOGFILE=$MAILDIR/from # Qui imposti il log per la traccia della # consegna, from è il solito file # vuoto che devi crearti con touch in # ~/Mail #Questi sono alcuni filtri di posta indesiderata che li puoi #inserire così come sono in ~/.procmailrc all'inizio di tutti #gli altri filtri che hai già impostato. SPAM=/dev/null # qui mandi nel pozzo nero la posta # in cui nella regola del filtro # inserirai $SPAM :0: * ^From.*Com.Info $SPAM :0: * [EMAIL PROTECTED] $SPAM :0: * ^From.*LiberoNews $SPAM #Questi filtri invece sono relativi alle tue mailbox destinate a ricevere #posta specifica, li metti dopo i filtri per la posta indesiderata.
[newbie-it] Fetchmail/Procmail+Balsa=Perfetto!
Giuseppe ho installato Balsa, e devo dire che fa proprio al caso mio! Interfaccia grafica, semplice da utilizzare ma soprattutto lo posso configurare facilmente con la posta in locale! Quindi scarico con fetchmail, distribuisco con procmail e leggo e scrivo cone balsa, per spedire la posta invece utilizzo il sever in remoto... nel mio caso mail.inwind.it:25 Insomma ora non mi resta che inserire in fetchmail tutti gli account e creare quelche filtro anti spam in procmail. Aaa proposito... è possibile filtrare la posta prima di scaricarla? Cioè se mi arriva una tonnellata di Spam io non la voglio nemmeno scaricare... con il mio bel 56 k scaricare 10 mail in più tutte belle colorate in html mi rompe non poco!! Non posso filtrarla direttamente in remoto e poi automatizzare il download delle mail che hanno superato i filtri? Ps: Giuseppe avevi ragione sull'instabilità di balsa... adesso però l'ho aggiornato alla vers 2.0.13 che guarda caso è stata compilata e testata proprio sulla RH9. Per ora non ha ancora dato segni di cedimento... :) ciao ciao Davide PS: Se qualcuno può postare anche qualche esempio di filtro per procmail... assieee!! :)
Re: [newbie-it] fetchmail, procmail
* kua79 ha scritto: Sto provando a configurare fetchmail e procmail... Qualcuno può darmi qualche dritta perchè ci ho capito poco... Per ora ho configurato $HOME/.fetchmailrc e $HOME/.procmailrc in questo modo... *.fetchmailrc** poll popmail.inwind.it protocol pop3 username ** password ** devi aggiungere sotto anche: mda procmail -m ~/.procmailrc *.procmailrc* MAILDIR=/home/kua/Mail/ qui è meglio che scrivi così anche se è uguale: MAILDIR=$HOME/Mail e inserisci anche le seguenti righe: :0 fhbw * ^X-XaM3-API-Version | sed 's/=0D//g' :0 fhw | formail -I From -a From DEFAULT=/home/kua/Mail/inbox questa riga riguardo DEFAULT non serve LOGFILE=/home/kua/MailLog/procmail.log qui devi scrivere : LOGFILE=$MAILDIR/from from deve essere un file vuoto che devi crearti con touch nella directory ~/Mail LOCKFILE=/home/kua/.lockmail personalmente ho tolto da procmail LOCKFILE ti consiglio di fare lo stesso :0 * [EMAIL PROTECTED] inbox sotituisci quanto sopra con: :0: * ^(To|Received).*kua79 kua79 considera che devi crearti la mailbox kua79 vuota in ~/Mail ossia /home/kua/Mail/ utilizzando se ti trovi appunto nella tua home directory: $ kua touch /Mail/kua79 Ti ho messo kua79 anzichè inbox perchè con procmail puoi specificare altre mailbox e inserire filtri. La inbox andava bene per ricevere la posta con sendmail. Se vorrai avere qualche configurazione di filtri da inserire in procmailrc chiedi pure. ** Come faccio a far partire la baracca? Se digito ./.fetchmailrc mi da ./.fetchmailrc: line 1: poll: command not found Come command not found ?!?!?! Ma poll da qnt ho capito è una semplice istruzione e già mi si impasta... Iniziamo bene! Anche a me da cosi non ti preoccupare, non devi usare quel comando devi poterti scaricare la posta in ~/Mail/kua79 digitando semplicemente da una shell: $ fetchmail invio fetchmail non dovrebbe chiederti i diritti di root, se ti chiede che non hai i diritti prova a scrivere per esteso: $ /usr/bin/fetchmail i diritti di fetchmail comunque devono essere 755 Se avete qualche miniguida che vi ha aiutato a suo tempo e sareste così gentili da consigliarmela... qlsiasi aiuto è sempre ben accetto! Grazie ancora ciao ciao Davide Per le guide se guardi su newbie tutti i discorsi fatti tra me, Syd e Arwan troverai molte informazioni al riguardo ma soprattutto troverai le prove da noi effettuate e le varie problematiche riscontrate e risolte. A questo punto viene da chiedere come leggerai la mailbox kua79 ? Con un mail user agent ovviamente e chi altro utilizzare se non Mutt ? Anche mutt dovrà essere configurato allo scopo (.muttrc) per poterlo utilizzare in abbinamento a fetchmail e procmail. Comunque ricordati che con Mutt dovrai anche inviare la posta e quindi dovrai configurare anche una MTA come Sendmail per esempio che è il più utilizzato e di cui si sa già come fare ;) Se incontri difficoltà chiedi pure, ma sappi che troverai tutto già abbondantemente spiegato su newbie dove Syd è stato un grande maestro. Ciao, Giuseppe. -- GNU/Linux Powered Red Hat 9.A (Shrike) Kernel 2.4.20
[newbie-it] Fetchmail, proc... e send...
Thanx1000 Giuseppe sono riuscito a configurare fetchmailrc e procmailrc! Ho fatto una prova, ho spedito una mail da Mozilla e l'ho scaricata tramite fetcmail. Poi proc ha pensato di girarla nel file $MAILDIR/from ! Ora però, come giustamente dicevi, mi manca un MUA... E se volessi continuare ad utilizzare mozilla... !?! La mia intenzione era quella di scaricare la posta tramite Fetch in modo da mettere un pò di filtri... anti spam o qualcosa del genere :) Anche se però non mi dispiacerebbe nemmeno provare a configurare mutt e sendmail!! :) Ci si fa sempre una cultura in +! :) Tornando a noi... In mozilla mail ho provato a mettere localhost nelle impostazioni del server al posto popmail.inwind.it e ho sostituito la cartella locale che è dove va a puntare mozilla, cioè nel mio caso: /home/kua/.mozilla/default/f9hawlr2.slt/Mail/popmail.inwind-1.it con /home/kua/Mail/from che è dove mi ritrovo le mail scaricate con fetchmail *** Fermatemi se sbaglio *** :) Ma che porta devo mettergli? Prima la porta del server (pop) era la 110 ma ora che ho messo localhost... Penso sia quello il problema perchè quando vado a tentare di scaricare Mozilla mi dice... Non è possibile connettersi al server localhost; la connessione è stata rifiutata. why? Grazie ancora!! Ciao ciao by Davide
Re: [newbie-it] Fetchmail, proc... e send...
* kua79 ha scritto: ... Poi proc ha pensato di girarla nel file $MAILDIR/from ! Quello che ti imbuca qui procmail è il log della folder dove effettivamente ha imbucato la posta che dovrebbe esserti stata messa ( se hai configurato come già abbiamo discusso ) dentro la mailbox /home/kua/Mail/kua79 ossia ~/Mail/kua79, ricontrolla la configurazione. L'impostazionedi from ti serve per testare i filtri di procmail, aprendo come se fosse una mailbox vedi la mailbox di destinazione del messaggio o dei messaggi scaricati. Ora però, come giustamente dicevi, mi manca un MUA... E se volessi continuare ad utilizzare mozilla... !?! E' fattibile ma complicato, almeno per me. Feci delle prove in merito, in realtà mozilla mail rende difficile configurare la lettura di una mailbox esterna che non sia dentro il suo schema preconfigurato. La mia intenzione era quella di scaricare la posta tramite Fetch in modo da mettere un pò di filtri... anti spam o qualcosa del genere :) Anche se però non mi dispiacerebbe nemmeno provare a configurare mutt e sendmail!! :) Ci si fa sempre una cultura in +! :) Sicuramente impari molto perchè ti coinvolge, è un sistema modulare che puoi configurare e trasformare come vuoi cambiando il MUA per esempio oppure l'MTA come sendmail con qmail, exim, postfix, l'unica accoppiata fissa è fetchmail+procmail che non possono essere scambiati con altri perchè non è previsto niente che possa sostituirli. Potrai imparare più in quei pochi mesi che ti servono a prendere confidenza con questi strumenti, senza scordarci di vim che per mutt è come il cacio sui maccheroni, che in diversi anni di utilizzo normale del computer. Tornando a noi... In mozilla mail ho provato a mettere localhost nelle impostazioni del server al posto popmail.inwind.it Ristabilisci qui le impostazioni originali, localost non è il tuo server pop. e ho sostituito la cartella locale che è dove va a puntare mozilla, cioè nel mio caso: /home/kua/.mozilla/default/f9hawlr2.slt/Mail/popmail.inwind-1.it con /home/kua/Mail/from che è dove mi ritrovo le mail scaricate con fetchmail Non è from ma kua79 la mailbox, per il resto puoi provare a inviare i messaggi con mozilla mail e disattivare il controllo di nuova posta o al limite non la scarichi perchè lo devi fare con fetchmail. Ma che porta devo mettergli? Prima la porta del server (pop) era la 110 ma ora che ho messo localhost... Penso sia quello il problema perchè quando vado a tentare di scaricare Mozilla mi dice... Non è possibile connettersi al server localhost; la connessione è stata rifiutata. Questo succede perchè per modificare una folder già configurata con mozilla mail sei costretto a passare attraverso lo schema d'impostazione del server di posta ecco perchè poi se effettui variazioni inappropriate la connessione ti viene rifiutata. Pertanto una possibile soluzione potrebbe essere quella di provare con la folder aggiuntiva che mozilla mette a disposizione oppure trasferire la mailbox kua79 dentro quella già preconfigurata per il tuo provider semplicemente aprendola con un editor, copiarla e poi incollarla brutalmente accodando le mail di kua79 (non il log from). Puoi evitarti questa incombenza se configuri procmail di scaricare la posta direttamente dentro la mailbox in mozilla mail. Ripeto con mozilla mail non ho approfondito questo particolare, tu puoi provare. Considera che però potresti ritrovartela corrotta, non più standard perchè oggetto sia del delivery di procmail che di mozilla mail che ha un suo sitema indipendente e si potrebbe verificare la situazione di dover riformattare con Formail questa mailbox che a sua volta questo processo altera tutte le lettere accentate in tutti i messaggi, per quanto mi riguarda ancora devo risolvere questo particolare con formail. Se proprio non vorrai affrontare il discorso di mutt che è l'ideale, allora sarebbe meglio ripiegare su BALSA (un client mail grafico completo come mozilla mail) e sfruttarlo come MUA, questo a differenza di mozilla prevede la gestione in lettura separata di mailbox in qualsiasi directory senza essere imbrigliati a nessuno schema preimpostato di mailbox, inoltre è compatibile con procmail perchè dovrebbe essere basato sulla stessa impostazione di mutt. Perciò il risultato dovrebbe essere che le mailbox con balsa non potranno mai essere alterate se decidi di scaricarti la posta con balsa e non con fetchmailrc+procmail, quindi potresti usare tutti e due i sistemi alternativamente. Prova comunque e fammi sapere. Balsa ce l'hai nei tuoi CD d'installazione. E' un po difficile da configurare anche se all'apparenza la grafica è accativante e sembra promettere bene. Io ricordo invece che ho preferito configurare a mano. Peccato che non mi ricordo più la procedura a mente avendolo utilizzato solo per dei brevi test proprio a questo scopo, ma poi lo abbandonai subito perchè era un po instabile, non ho voluto aggiornarlo perchè in realtà era mutt che
[newbie-it] fetchmail, procmail
Sto provando a configurare fetchmail e procmail... Qualcuno può darmi qualche dritta perchè ci ho capito poco... Per ora ho configurato $HOME/.fetchmailrc e $HOME/.procmailrc in questo modo... *.fetchmailrc** poll popmail.inwind.it protocol pop3 username ** password ** *.procmailrc* MAILDIR=/home/kua/Mail/ DEFAULT=/home/kua/Mail/inbox LOGFILE=/home/kua/MailLog/procmail.log LOCKFILE=/home/kua/.lockmail :0 * [EMAIL PROTECTED] inbox ** Come faccio a far partire la baracca? Se digito ./.fetchmailrc mi da ./.fetchmailrc: line 1: poll: command not found Come command not found ?!?!?! Ma poll da qnt ho capito è una semplice istruzione e già mi si impasta... Iniziamo bene! Se avete qualche miniguida che vi ha aiutato a suo tempo e sareste così gentili da consigliarmela... qlsiasi aiuto è sempre ben accetto! Grazie ancora ciao ciao Davide Ps: Argh! Le vacanze stanno per finire... :( OK...OK... non Picchiatemi in massa!! :-/
Re: [newbie] mutt fetchmail
Viestissä Maanantai 3. Helmikuuta 2003 03:10, Benjamin Pflugmann kirjoitti: Hi. On Sun 2003-02-02 at 21:09:20 +0200, [EMAIL PROTECTED] wrote: How to set mutt to find mails that fetchmail pulls and puts somewhere I don't know where, I lost 30 mails allready :) System is Mdk9.0 I am not expert in this matter, but if the mail system is configured correctly, mutt should find your incoming mails automatically (via the $MAIL environment variable). I am not sure where to start to look. Are you sure that not fetchmail is the problem? Yes I have tested that many times * What is the output of (run in a shell): echo $MAIL ls -l /var/spool/mail *** /var/spool/mail is empty I have tried set spoolfile without help? * If you have a ~/.muttrc, move it away temporarily to make sure the configuration doesn't get in the way. ** I tried that too Thank you advance -- (\\!//) ( ) t.Tuija :-) alias \ / thujan errare humanum est Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] mutt fetchmail
On Tue, 2003-02-04 at 00:08, tuija wrote: Run fetchmailconf and double check where it's slurping your emails to - and then you'll be able to discern as to what is going on with the rest of the scene. ** I did that and .fetchmailrc doesn't tell where fetchmail puts the posts it pulls, /var/log/mail tells that 30 posts are pulled from server ** Ok...you're going to have to get into the POSTFIX configurations and double check those; by default, POSTFIX dumps it's mail in /var/spool/mail, but that could be mucked up - so best is to fire up Webmin and go into SERVERS, then POSTFIX, then USER MAILBOXES - click on any mailbox and towards the top of the page it will give you the path to the mailbox - and as well, will tell you if it's a zero length file or if there's something in it. A question I would have, though, is when was the last time that you did get mail properly - and were you slurping it from /var/spool/mail, or have you changed anything that you know of on your system? My configs always dump to /var/spool/mail/yournamegoeshere ...so it's readily readable/find-able... * My /var/spool/mail is empty there isn't user name, I have tried to command set spoolfile but it didn't help? How I can put the procmail on, could it help? Thank you advance PROCMAIL runs from an RC file in your /etc directory - namely, /etc/procmailrc - but prior to just jumping into that particular file and it's structure, you're going to want to do some reading up on it. PROCMAIL can be quite powerful for blocking spam, rerouting mail internally on your system (or on your network) - heaps of different functions. Check out: http://handsonhowto.com/pmail101.html for more information on this powerful little text file - you won't regret it. Check through all of the above and tell us how it works mate! Cheers! -- Tue, 4 Feb 2003 05:45:00 +1100 5:45am up 10:11, 4 users, load average: 0.70, 0.55, 0.34 -- |____ | kuhn media australia| | / ,, /| |'-. | http://kma.0catch.com | | .\__/ || | | |=| | _ / `._ \|_|_.-' | stephen kuhn| | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | | |/ ._/ || | email: [EMAIL PROTECTED]| | |'. `\ | | |icq: 5483808 | | ;/ / | | | | | smk ) /_/| |.---.| | mobile: 0410-728-389| | ' `-`' | Berkeley, New South Wales, AU | -- linux user:267497 * RH 8.0 * PC/Mac/Linux/Networking/Consulting -- Texas law forbids anyone to have a pair of pliers in his possession. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] mutt fetchmail
On Monday 03 Feb 2003 6:55 pm, Stephen Kuhn wrote: On Tue, 2003-02-04 at 00:08, tuija wrote: Run fetchmailconf and double check where it's slurping your emails to - and then you'll be able to discern as to what is going on with the rest of the scene. * * I did that and .fetchmailrc doesn't tell where fetchmail puts the posts it pulls, /var/log/mail tells that 30 posts are pulled from server * * Ok...you're going to have to get into the POSTFIX configurations and double check those; by default, POSTFIX dumps it's mail in /var/spool/mail, but that could be mucked up - so best is to fire up Webmin and go into SERVERS, then POSTFIX, then USER MAILBOXES - click on any mailbox and towards the top of the page it will give you the path to the mailbox - and as well, will tell you if it's a zero length file or if there's something in it. A question I would have, though, is when was the last time that you did get mail properly - and were you slurping it from /var/spool/mail, or have you changed anything that you know of on your system? My configs always dump to /var/spool/mail/yournamegoeshere ...so it's readily readable/find-able... * My /var/spool/mail is empty there isn't user name, I have tried to command set spoolfile but it didn't help? How I can put the procmail on, could it help? Thank you advance PROCMAIL runs from an RC file in your /etc directory - namely, /etc/procmailrc - but prior to just jumping into that particular file and it's structure, you're going to want to do some reading up on it. PROCMAIL can be quite powerful for blocking spam, rerouting mail internally on your system (or on your network) - heaps of different functions. Check out: http://handsonhowto.com/pmail101.html for more information on this powerful little text file - you won't regret it. Check through all of the above and tell us how it works mate! Cheers! You should check that your fetchmailrc is actually passing the mail over to a valid user account. For example in mine poll pop.ntlworld.com with proto POP3 user 'djennings' there with password 'xxx' is 'derek' here options fetchall antispam 501 The account 'derek' has to be a valid user account on the server. If it is then Postfix will automatically create a directory in /var/mail for it. The other question of course is . Do you have Postfix running? If there is no listener running on port 25 (Such as Postfix or Sendmail), then Fetchmail will by default look to see if there is a ~/.procmailrc file in existance, and if there is it will pass the mail to procmail. What happens next is down to the contents of your .procmailrc file. derek -- -- www.jennings.homelinux.net Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] mutt fetchmail
Hi, How to set mutt to find mails that fetchmail pulls and puts somewhere I don't know where, I lost 30 mails allready :) System is Mdk9.0 Thanks advance -- (\\!//) ( ) t.Tuija :-) alias \ / thujan errare humanum est Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] mutt fetchmail
Hi. On Sun 2003-02-02 at 21:09:20 +0200, [EMAIL PROTECTED] wrote: How to set mutt to find mails that fetchmail pulls and puts somewhere I don't know where, I lost 30 mails allready :) System is Mdk9.0 I am not expert in this matter, but if the mail system is configured correctly, mutt should find your incoming mails automatically (via the $MAIL environment variable). I am not sure where to start to look. Are you sure that not fetchmail is the problem? What is the output of (run in a shell): echo $MAIL ls -l /var/spool/mail /sbin/service postfix status mailq (except for the first, it may be that you need to be root to run them). If you have a ~/.muttrc, move it away temporarily to make sure the configuration doesn't get in the way. Btw, in order to avoid losing mails until it works, you can fetchmail say to not remove messages from your server (keep) and for testing force re-fetching of mails (all). It may mean that you get some mail multiple times, but it assures that you do not lose any. HTH, Benjamin. msg117941/pgp0.pgp Description: PGP signature
Re: [newbie] mutt fetchmail
On Mon, 2003-02-03 at 06:09, tuija wrote: Hi, How to set mutt to find mails that fetchmail pulls and puts somewhere I don't know where, I lost 30 mails allready :) System is Mdk9.0 Thanks advance Run fetchmailconf and double check where it's slurping your emails to - and then you'll be able to discern as to what is going on with the rest of the scene. My configs always dump to /var/spool/mail/yournamegoeshere ...so it's readily readable/find-able... -- Mon, 3 Feb 2003 12:30:00 +1100 12:30pm up 14:35, 6 users, load average: 0.70, 0.54, 0.54 -- |____ | kuhn media australia| | / ,, /| |'-. | http://kma.0catch.com | | .\__/ || | | |=| | _ / `._ \|_|_.-' | stephen kuhn| | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | | |/ ._/ || | email: [EMAIL PROTECTED]| | |'. `\ | | |icq: 5483808 | | ;/ / | | | | | smk ) /_/| |.---.| | mobile: 0410-728-389| | ' `-`' | Berkeley, New South Wales, AU | -- linux user:267497 * RH 8.0 * PC/Mac/Linux/Networking/Consulting -- Mulder: You can't bury the truth! The X-Files: Aprocrypha Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] IMAP+Fetchmail+Postfix
G'day I'm testing an IMAP+Fetchmail+Postfix setup on Mandrake 9.0. Everything is fine Except the time of arrival in Netscape messenger and I can't for the life of me see where the Problem is. E.G. If I send an Email to myself and the time is 15h00 it puts the Email in the sent folder as 13h00. When it arrives back it says it arrived at 13h00. I'm using Netscape on a Winblows box as the client and thats the only little niggle I'm trying to iron out. Both the linux box and Winblows client are on SAST Timezone. -- Regards Lionel Broes - A.F.P. URL: http://www.afp.com **Agence France Presse - Worldwide News Agency** Johannesburg-South Africa +27 (0)11 530 9900 (Office) +27 (0)11 530 9915 (Direct) The information in this e-mail is confidential and is legally privileged.It is intended solely for the addressee.If this email is not intended for you, you cannot copy, distribute, or disclose the included information to any-one.If you are not the intended recipient please delete the mail. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Postfix / Fetchmail problems solved!
Hi! So that others may not have to go through the same silliness that I brought upon myself, here is a recap and a solution: setup: I'm running Mandrake 8.0. Tried to get fetchmail to fetch pop3. I have a mailbox and it appeared to be set up properly (after advice from David Fox). background: I've posted before about this problem and then gave up for a day. Earlier Mark (Dark Matter) had astutely asked me how I got mail via Mozilla to work. I recalled the settings incorrectly (stupid me!). Tonight I reviewed my situation. My pop3 server name is mail and NOT mail.home.com. Settings/configuration: My .fetchmailrc file is as follows: set bouncemail set no spambounce set properties poll mail protocol POP3 user 'femail.bc.wave.home.com' there with password '' is zorba here options fetchall outcome upon launch: SENDING MAIL WORKED! THE KEY was thinking about what Mark had said. I put in the mail (which is the name of my mail server on the @Home system) above. I got an error message that included something I'd seen in my e-mail headers before: authorization failure: [EMAIL PROTECTED]@femail.bc.wave.home.com So I then realized that the femail.bc.wave.home.com is what I've seen in my own headers, so likely that is what I ought to be using instead of @home.com. I made the changes to make the .fecthmailrc as it is above, and Bob was my cousin, er, uncle. THANKS EVERYONE! Cheers! -warren Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Using fetchmail/postfix/pine on Mandrake 8.0. Can send. Can't receive.
Sorry Mark, I forgot to include an obviously needed detail -- I am using fetchmail to retrieve messages. Cheers! -w - Original Message - From: Mark Weaver [EMAIL PROTECTED] To: Newbie List [EMAIL PROTECTED] Sent: Sunday, September 16, 2001 6:56 PM Subject: Re: [newbie] Using postfix pine on Mandrake 8.0. Can send. Can't receive. what are you using to fetch the mail from your ISP to your box? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Need Fetchmail Mailing List
If anyone knows of an excellent fetchmail mailing list, would you send me the information? Note: When you reply to this message, please include the mailing list and my email address. * Signed, SoloCDM
[newbie] Crashed Fetchmail
Hi all, I was trying to set up kmail and it crashed linux. tried to reboot and got a kernel panic. I know my /home directory is still on the hdc6 partition and swap is still there but have no idea how to get back to being able to boot. I tried to do a upgrade hoping to write back the files lost, but that tells me i don't have enough room on my disk. I am using my 7.1 install on the hda disk right now. Can I access the files on the hdc disk from the hda disk? Sometimes I just amaze myself by my fearlessness in the face of my own ignorance. A little help would be appreciated. Dennis M.
Re: [newbie] Crashed Fetchmail
Hi all, I was trying to set up kmail and it crashed linux. tried to reboot and got a kernel panic. I know my /home directory is still on the hdc6 partition and swap is still there but have no idea how to get back to being able to boot. I tried to do a upgrade hoping to write back the files lost, but that tells me i don't have enough room on my If it's not a big problem for you, I'd recommend that you do a clean install and just tell it not to reformat your /home partition. Cheers --- Larry
Re: [newbie] Crashed Fetchmail
It sounds like the trouble is within your /home dir. Backup your data files, delete your home dir, and then create a new one and move back in and see if that helps. -- Mark /* I never worry about the to-jams. * Once I've stuck my foot in my mouth * it's already too late...just make sure * you chew them thoroughly before swallowing! */ Registered Linux user #182496 * Pine 4.21 * On Sat, 21 Oct 2000 10:43pm ,Dennis Myers spake passionately in a message: Hi all, I was trying to set up kmail and it crashed linux. tried to reboot and got a kernel panic. I know my /home directory is still on the hdc6 partition and swap is still there but have no idea how to get back to being able to boot. I tried to do a upgrade hoping to write back the files lost, but that tells me i don't have enough room on my disk. I am using my 7.1 install on the hda disk right now. Can I access the files on the hdc disk from the hda disk? Sometimes I just amaze myself by my fearlessness in the face of my own ignorance. A little help would be appreciated. Dennis M.
Re: [newbie] Sendmail, fetchmail and gnus
Tommy Kelly wrote: I'm trying to use Eric Raymond's fetchmail. However, I think I have a sendmail problem. fetchmail (which I've used before on RH5.2 and on SunOS) gets the pop mail fine, but then seems to have trouble giving it to sendmail. When I run "mailq" I see the messages in there, but they don't get delivered to /var/spool/mail Sendmail does appear to be running - if I telnet to port 25 on my machine I get a Postfix message. Any ideas? I had some problems using postfix. What I would first try is to uninstall postfix and install sendmail instead. HTH Flupke
Re: [newbie] Sendmail, fetchmail and gnus
I'm trying to use Eric Raymond's fetchmail. However, I think I have a sendmail problem. fetchmail (which I've used before on RH5.2 and on SunOS) gets the pop mail fine, but then seems to have trouble giving it to sendmail. When I run "mailq" I see the messages in there, but they don't get delivered to /var/spool/mail Sendmail does appear to be running - if I telnet to port 25 on my machine I get a Postfix message. Any ideas? t " please don't make me read the sendmail book..." k Hi, To check if sendmail is running, you could do a simple "ps aux" command. Somewhere between all the processes, there should be a line like "Sendmail- accepting connections on Port 25". IF sendmail is running, type "sendmail -q -v"- this should deliver the messages from the sendmail-mailqueue to the local users. At least this is the way how I do it- Im not that familiar with Sendmail to be true- its a real monster-program... Cheers, Ove
[newbie] Sendmail, fetchmail and gnus
I'm trying to use Eric Raymond's fetchmail. However, I think I have a sendmail problem. fetchmail (which I've used before on RH5.2 and on SunOS) gets the pop mail fine, but then seems to have trouble giving it to sendmail. When I run "mailq" I see the messages in there, but they don't get delivered to /var/spool/mail Sendmail does appear to be running - if I telnet to port 25 on my machine I get a Postfix message. Any ideas? t " please don't make me read the sendmail book..." k
Re: [newbie] Sendmail, fetchmail and gnus
I'm not sure what exactly you're trying to accomplish, but if you're using fetchmail to get your mail from your ISP's mail server you can process the incoming mail a lot easier just by using procmail. This eliminates the need to configure sendmail or postfix makes life much easier. This is what I do for every day use. This only works well, of course, if you're not running a multi-user host system. -Necro On Sun, 16 Apr 2000, you wrote: I'm trying to use Eric Raymond's fetchmail. However, I think I have a sendmail problem. fetchmail (which I've used before on RH5.2 and on SunOS) gets the pop mail fine, but then seems to have trouble giving it to sendmail. When I run "mailq" I see the messages in there, but they don't get delivered to /var/spool/mail Sendmail does appear to be running - if I telnet to port 25 on my machine I get a Postfix message. Any ideas? t " please don't make me read the sendmail book..." k