Re: How to run fetchmail as daemon at startup
On Fri, 23 Mar 2007 09:00:14 -0400 (EDT) [EMAIL PROTECTED] wrote: On 22 Mar, Celejar wrote: ... I use getmail, which is not even designed to run as a daemon. From the [snip] What advantages are there to getmail? I've run fetchmail successfully in daemon mode, with the only problem being that it doesn't always download all the messages in one shot. I'm not a big advocate of it, however, it just works ok for me. I may play around with getmail to see if it's better for me with regards to the download issue. I'm not much of an expert, but here's an excerpt from the getmail FAQ: Why did you write getmail? Why not just use fetchmail? Short answer: ... well, the short answer is mostly unprintable. The long answer is ... well, long: I do not like some of the design choices which were made with fetchmail. getmail does things a little differently, and for my purposes, better. In addition, most people find getmail easier to configure and use than fetchmail. Perhaps most importantly, getmail goes to great lengths to ensure that mail is never lost, while fetchmail (in its default configuration) frequently loses mail, causes mail loops, bounces legitimate messages, and causes many other problems. When people have pointed out problems in fetchmail's design and implementation, it's maintainer has frequently ignored them, or (worse yet) gone in the completely wrong direction in the name of fixing the problems. For instance, fetchmail's configuration file syntax has been criticized as being needlessly difficult to write; instead of cleaning up the syntax, the maintainer instead included a GUI configuration-file-writing program, leading to comments like: The punchline is that fetchmail sucks, even if it does have giddily-engineered whizbang configurator apps. As an example, Dan Bernstein, author of qmail and other software packages, once noted to the qmail list: Last night, [EMAIL PROTECTED] reinjected thirty old messages from various authors to [EMAIL PROTECTED] This sort of idiocy happens much more often than most subscribers know, thanks to a broken piece of software by Eric Raymond called fetchmail. Fortunately, qmail and ezmlm have loop-prevention mechanisms that stop these messages before they are distributed to subscribers. The messages end up bouncing to the wrong place, thanks to another fetchmail bug, but at least the mailing list is protected. --D. J. Bernstein The maintainer also ignored dozens of complaints about fetchmail's behaviour, stating (by fiat) that fetchmail was bug-free and had entered maintenance mode, allowing him to ignore further bug reports. fetchmail's default configuration values frequently cause lost or misdirected mail, and seem to be chosen to cause maximum pain and inconvenience. From fetchmail's to-do file (emphasis mine): Maybe refuse multidrop configuration unless envelope is _explicitly_ configured ... This would prevent a significant class of shoot-self-in-foot problems. perhaps treat a delivery as temporarily failed ... This is so you don't lose mail if you configure the wrong envelope header. fetchmail is famous for mangling messages it retrieves, rather than leaving them alone as a mail-handling program should. getmail will add trace information to messages (so you can see what happened, and when), but will otherwise leave message content alone. In addition, fetchmail has a long history of security problems: * versions released before 20 June 2001 contain a buffer overflow, which can be remotely exploited (see www.securityfocus.com/bid/2877 for details). getmail is not vulnerable to buffer overflows, because buffers in Python are dynamically sized. * Another remotely-exploitable security hole discovered in fetchmail in June 2002; versions prior to 5.9.10 (released in June 2002) are exploitable . * Reading fetchmail's UPDATES file, it appears that another security problem was fixed in 5.9.12, where a server could crash fetchmail on 64-bit platforms. Also worrying is a mention that it includes a fix for password shrouding. * Another remotely-exploitable security hole in fetchmail discovered in September 2002; this hole lets an attacker run arbitrary code on the victim's computer. * Another remotely-exploitable security hole in fetchmail discovered in December 2002; once again, a remote attacker can run arbitrary code on the machine running fetchmail in its default configuration. See this advisory for details. * January 2003: More buffer overflows in fetchmail let attackers run arbitrary code . * October 2003: Anyone can cause fetchmail to crash by sending you
Re: How to run fetchmail as daemon at startup
On Fri, 23 Mar 2007 00:09:00 -0400 Greg Folkert [EMAIL PROTECTED] wrote: On Thu, 2007-03-22 at 20:45 -0400, Celejar wrote: On Thu, 22 Mar 2007 20:32:55 -0400 Greg Folkert [EMAIL PROTECTED] wrote: On Thu, 2007-03-22 at 23:26 +0100, Jochen Schulz wrote: Ron Johnson: On 03/22/07 09:39, Jochen Schulz wrote: If your /etc/fetchmailrc is empty anyway, you can edit /etc/default/fetchmail to disable the system-wide fetchmail daemon altogether. This solution has the advantage, that every user can manage his/her own POP accounts (without the admin knowing their passwords), but the disadvantage is that you have a fetchmail process for every user. Are you talking about having a fetchmail daemon for *each* user? Yes. On most peoples' systems there's only a fistful of anyway. You are fooling yourself. Run them a one shot cronjob set to run every 10-30 minutes. Much better use of resources on the machine. As I have said before, fetchmail WILL die or hang on you, when run in daemon mode. monit [0] ? All that is telling you that it DID do it oopsie. I want something that just plain works. Using a cron driven fetchmail works, daemon mode suxxorz. I agree that something that actually works is better; I just mean that monit could restart fetchmail for you if it dies. Not to be glib here, but look who writes fetchmail... the self proscribed bestestest programmer in the world. This is the best example of a program he writes to preach to the whole world? Hey, I'm aware of this issue; look at the long excerpt from the getmail FAQ I quoted elsewhere in this thread. That's why I use getmail. [Although to be fair, I don't know enough to judge whether that indictment of fetchmail is fair; I haven't seen Eric Raymond's response / rebuttal.] I can do as good, with shell. I have in some instances. I can't, but with some more work on my mad perl skillz, maybe I'll also soon be able to. Celejar -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to run fetchmail as daemon at startup
On 23 Mar, Celejar wrote: On Fri, 23 Mar 2007 09:00:14 -0400 (EDT) [EMAIL PROTECTED] wrote: ... Getmail can do something like this (I'm not sure if this is exactly what you want). From the configuration documentation: The optional options section of the rc file can be used to alter getmail's default behaviour. The parameters supported in this section are as follows: [snip] * delete_after (integer) -- if set, getmail will delete messages this number of days after first seeing them, if they have been retrieved and delivered. This, in effect, leaves messages on the server for a configurable number of days after retrieving them. Note that the delete parameter has higher priority; if both are set, the messages will be deleted immediately. Default: 0, which means not to enable this feature. HTH, Celejar Thanks, that's exactly what I want to do. I sometimes access my home email while at work via the web interface, and if my wife or kids are at home using the computer, fetchmail may download and delete it. Or I could download it at night and not have time to respond. I know that I could set fetchmail to not delete the messages and do it manually from the web interface, but I'd rather not do it that way. I hadn't seen a way to do this delayed deletion easily with fetchmail, although I may not have looked thoroughly. -Chris | Christopher Judd, Ph. D. [EMAIL PROTECTED] | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to run fetchmail as daemon at startup
On Fri, Mar 23, 2007 at 10:24:54AM +0100, Jochen Schulz wrote: The fetchmail daemon takes almost no memory nor CPU when idling, so that's a weak argument for most machines (as long as we're not talking about wireless routers etc.). True. However, his earlier point about fetchmail's daemon functionality reinventing cron is quite strong. If it is not waiting for anything incoming, there is really not a good reason for it to implement its own daemon functionality. Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.connexer.com signature.asc Description: Digital signature
Re: How to run fetchmail as daemon at startup
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/23/07 09:07, [EMAIL PROTECTED] wrote: [snip] Thanks, that's exactly what I want to do. I sometimes access my home email while at work via the web interface, and if my wife or kids are at home using the computer, fetchmail may download and delete it. Or I could download it at night and not have time to respond. I know that I could set fetchmail to not delete the messages and do it manually from the web interface, but I'd rather not do it that way. I hadn't seen a way to do this delayed deletion easily with fetchmail, although I may not have looked thoroughly. Install Apache-ssl, Squirrelmail and imap-ssl. No, really. POP, being the Post Office Protocol, is not designed to do what you want it to do. (You don't go to your PO box every hour hours to *read* your mail, putting the open mail back in the PO box, do you?) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGA+6aS9HxQb37XmcRApgCAKCpZ9mBt7LRBu2GU8zHhriVvUn6hQCfZ5KS fxxDTRHDp/R9/Lqgm5KEqOg= =hint -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to run fetchmail as daemon at startup
On 23 Mar, Ron Johnson wrote: [snip] I hadn't seen a way to do this delayed deletion easily with fetchmail, although I may not have looked thoroughly. Install Apache-ssl, Squirrelmail and imap-ssl. It seems easier to replace fetchmail with getmail. No, really. POP, being the Post Office Protocol, is not designed to do what you want it to do. (You don't go to your PO box every hour hours to *read* your mail, putting the open mail back in the PO box, do you?) I realize that this is not the usual way to use a POP server. However, in my limited understanding of the protocol, the server doesn't delete the message until requested to do so by the client, so it should be an easy addition to the code to delete after some delay. I'd even thought of doing this myself in my (sorely lacking) spare time. Apparently getmail has already done it. -Chris | Christopher Judd, Ph. D. [EMAIL PROTECTED] | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to run fetchmail as daemon at startup
On Thu, Mar 22, 2007 at 06:54:05AM +0100, Jochen Schulz wrote: Jian Jun Wang: I installed Debian etch on my laptop and I want to configure fetchmail to get my mails from gmail. In order to run fetchmail at startup, I did 1. Installed sysv-rc-conf and toggle fetchmail in it as root 2. edit /etc/default/fetchmail, to make it as daemon 3. edit $HOME/.fetchmailrc The system-wide fetchmail daemon doesn' use users' .fetchmailrc but only reads /etc/fetchmailrc. To make it start up as user, edit your crontab (use `crontab -e`) and put '@startup fetchmail' (no quotes in either case). Then, whenever your machine starts up, it should start fetchmail for you. Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.connexer.com signature.asc Description: Digital signature
Re: How to run fetchmail as daemon at startup
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/22/07 08:03, Roberto C. Sánchez wrote: On Thu, Mar 22, 2007 at 06:54:05AM +0100, Jochen Schulz wrote: Jian Jun Wang: I installed Debian etch on my laptop and I want to configure fetchmail to get my mails from gmail. In order to run fetchmail at startup, I did 1. Installed sysv-rc-conf and toggle fetchmail in it as root 2. edit /etc/default/fetchmail, to make it as daemon 3. edit $HOME/.fetchmailrc The system-wide fetchmail daemon doesn' use users' .fetchmailrc but only reads /etc/fetchmailrc. To make it start up as user, edit your crontab (use `crontab -e`) and put '@startup fetchmail' (no quotes in either case). Then, whenever your machine starts up, it should start fetchmail for you. Shouldn't it also put a symlink in /etc/rc3.d ? Regards, -Roberto -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGAoDAS9HxQb37XmcRAtvgAJwP9DL0C0d9YrnrzSXLDoAe4d04KgCgn90L V3lPCa7CZX7c+EJGFZAaEGE= =PyGs -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to run fetchmail as daemon at startup
Ron Johnson: On 03/22/07 08:03, Roberto C. Sánchez wrote: To make it start up as user, edit your crontab (use `crontab -e`) and put '@startup fetchmail' (no quotes in either case). Then, whenever your machine starts up, it should start fetchmail for you. Shouldn't it also put a symlink in /etc/rc3.d ? No. Things in crontabs are started by cron (d'ouh!). And cron itself is already started by an init script. J. -- Every day in every way I am getting better and better. [Agree] [Disagree] http://www.slowlydownward.com/NODATA/data_enter2.html signature.asc Description: Digital signature
Re: How to run fetchmail as daemon at startup
Roberto C. Sánchez: To make it start up as user, edit your crontab (use `crontab -e`) and put '@startup fetchmail' Oh, and BTW: it's @reboot, not @startup. :) J. -- I worry about people thinking I have lost direction. [Agree] [Disagree] http://www.slowlydownward.com/NODATA/data_enter2.html signature.asc Description: Digital signature
Re: How to run fetchmail as daemon at startup
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/22/07 08:18, Jochen Schulz wrote: Ron Johnson: On 03/22/07 08:03, Roberto C. Sánchez wrote: To make it start up as user, edit your crontab (use `crontab -e`) and put '@startup fetchmail' (no quotes in either case). Then, whenever your machine starts up, it should start fetchmail for you. Shouldn't it also put a symlink in /etc/rc3.d ? No. Things in crontabs are started by cron (d'ouh!). And cron itself is already started by an init script. I think you're wrong. My system does fetchmail startup using runlevels. $ ls -l /etc/rc3.d/S99fet* lrwxrwxrwx 1 root root 19 Oct 16 2005 /etc/rc3.d/S99fetchmail - ../init.d/fetchmail $ ls -l /etc/init.d/fetch* - -rwxr-xr-x 1 root root 7202 Mar 8 07:01 /etc/init.d/fetchmail J. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGAoUmS9HxQb37XmcRAm/zAKDFB/V0zJf9S/OX9b71BdyKJBWu7wCdFe9C /XnaUM1sPhtflaFkbCfr394= =hYYX -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to run fetchmail as daemon at startup
Ron Johnson: On 03/22/07 08:18, Jochen Schulz wrote: Ron Johnson: On 03/22/07 08:03, Roberto C. Sánchez wrote: To make it start up as user, edit your crontab (use `crontab -e`) and put '@startup fetchmail' (no quotes in either case). Then, whenever your machine starts up, it should start fetchmail for you. Shouldn't it also put a symlink in /etc/rc3.d ? No. Things in crontabs are started by cron (d'ouh!). And cron itself is already started by an init script. I think you're wrong. My system does fetchmail startup using runlevels. Yes, mine does that, too. But: if every user needing fetchmail has a .fetchmailrc and the crontab entry mentioned above (minus the typo), you do not need the system-wide daemon. That's the situation I was referring to (and which I quoted). If your /etc/fetchmailrc is empty anyway, you can edit /etc/default/fetchmail to disable the system-wide fetchmail daemon altogether. This solution has the advantage, that every user can manage his/her own POP accounts (without the admin knowing their passwords), but the disadvantage is that you have a fetchmail process for every user. J. -- We are lining up to see you fall flat on your face. [Agree] [Disagree] http://www.slowlydownward.com/NODATA/data_enter2.html signature.asc Description: Digital signature
Re: How to run fetchmail as daemon at startup
On Thu, 2007-03-22 at 11:38 +0800, Jian Jun Wang wrote: I installed Debian etch on my laptop and I want to configure fetchmail to get my mails from gmail. In order to run fetchmail at startup, I did 1. Installed sysv-rc-conf and toggle fetchmail in it as root 2. edit /etc/default/fetchmail, to make it as daemon 3. edit $HOME/.fetchmailrc defaults mda /usr/bin/procmail -d %T set logfile /home/jerry/.log/fetchmail.log Sorry, but running fetchmail as a daemon is the worst possible way to run fetchmail. Run it as a cronjob as a job as your user. It will work. You just need to setup your .fetchmailrc properly. ANYTIME I've run fetchmail as a system daemon it dies sooner or later. Usually sooner. Or even better yet it stalls. never more to retrieve mail. I've always setup fetchmail to run as a cronjob every 10-30 minutes depending on you tastes. Any more often than 10 minutes runs the risk of colliding with another previous instance. -- greg, [EMAIL PROTECTED] Novell's Directory Services is a competitive product to Microsoft's Active Directory in much the same way that the Saturn V is a competitive product to those dinky little model rockets that kids light off down at the playfield. -- Thane Walkup -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to run fetchmail as daemon at startup
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/22/07 09:39, Jochen Schulz wrote: Ron Johnson: On 03/22/07 08:18, Jochen Schulz wrote: Ron Johnson: On 03/22/07 08:03, Roberto C. Sánchez wrote: To make it start up as user, edit your crontab (use `crontab -e`) and put '@startup fetchmail' (no quotes in either case). Then, whenever your machine starts up, it should start fetchmail for you. Shouldn't it also put a symlink in /etc/rc3.d ? No. Things in crontabs are started by cron (d'ouh!). And cron itself is already started by an init script. I think you're wrong. My system does fetchmail startup using runlevels. Yes, mine does that, too. But: if every user needing fetchmail has a .fetchmailrc and the crontab entry mentioned above (minus the typo), you do not need the system-wide daemon. That's the situation I was referring to (and which I quoted). If your /etc/fetchmailrc is empty anyway, you can edit /etc/default/fetchmail to disable the system-wide fetchmail daemon altogether. This solution has the advantage, that every user can manage his/her own POP accounts (without the admin knowing their passwords), but the disadvantage is that you have a fetchmail process for every user. Are you talking about having a fetchmail daemon for *each* user? J. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGAqScS9HxQb37XmcRAm6vAKC2CiXPUGyn+0J5K9y3QkkXChGIWACgjMUM ztllmJUXJE3FpRvyltpZZbI= =02/+ -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to run fetchmail as daemon at startup
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/22/07 10:42, Greg Folkert wrote: On Thu, 2007-03-22 at 11:38 +0800, Jian Jun Wang wrote: I installed Debian etch on my laptop and I want to configure fetchmail to get my mails from gmail. In order to run fetchmail at startup, I did 1. Installed sysv-rc-conf and toggle fetchmail in it as root 2. edit /etc/default/fetchmail, to make it as daemon 3. edit $HOME/.fetchmailrc defaults mda /usr/bin/procmail -d %T set logfile /home/jerry/.log/fetchmail.log Sorry, but running fetchmail as a daemon is the worst possible way to run fetchmail. Run it as a cronjob as a job as your user. It will work. You just need to setup your .fetchmailrc properly. ANYTIME I've run fetchmail as a system daemon it dies sooner or later. Usually sooner. Or even better yet it stalls. never more to retrieve mail. I've always setup fetchmail to run as a cronjob every 10-30 minutes depending on you tastes. Any more often than 10 minutes runs the risk of colliding with another previous instance. That's how I do it, but every 5 minutes, and have seen no problems. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGAqTbS9HxQb37XmcRAkUsAJkB2sA0/zbtiHk0irzHWQlq/oiFjwCePh6P 639+tMVGK1hEnk6h5EmSiJg= =0/qj -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to run fetchmail as daemon at startup
On Thu, Mar 22, 2007 at 02:21:45PM +0100, Jochen Schulz wrote: Roberto C. Sánchez: To make it start up as user, edit your crontab (use `crontab -e`) and put '@startup fetchmail' Oh, and BTW: it's @reboot, not @startup. :) Doh! My mistake. I was going from memory and didn't want to login to the machine that has the crontab entry to check. :-) Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.connexer.com signature.asc Description: Digital signature
Re: How to run fetchmail as daemon at startup
On 22 Mar, Greg Folkert wrote: On Thu, 2007-03-22 at 11:38 +0800, Jian Jun Wang wrote: I installed Debian etch on my laptop and I want to configure fetchmail to get my mails from gmail. In order to run fetchmail at startup, I did 1. Installed sysv-rc-conf and toggle fetchmail in it as root 2. edit /etc/default/fetchmail, to make it as daemon 3. edit $HOME/.fetchmailrc defaults mda /usr/bin/procmail -d %T set logfile /home/jerry/.log/fetchmail.log Sorry, but running fetchmail as a daemon is the worst possible way to run fetchmail. Run it as a cronjob as a job as your user. It will work. You just need to setup your .fetchmailrc properly. ANYTIME I've run fetchmail as a system daemon it dies sooner or later. Usually sooner. Or even better yet it stalls. never more to retrieve mail. Is this typical of other users' experience? I've been running fetchmail as a daemon on my home box, with a size limit and a time interval of 15 minutes. It quite often stops before downloading all the messages. I've run it in verbose mode and logged the output; it ends with a message something like Client/server protocol error. I've never taken the time to investigate it further, as it continues downloading at the next designated time. In what way is it better as a cron job? I'll change the setup if there are advantages to it. -Chris | Christopher Judd, Ph. D. [EMAIL PROTECTED] | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to run fetchmail as daemon at startup
On Thu, 2007-03-22 at 13:10 -0400, [EMAIL PROTECTED] wrote: On 22 Mar, Greg Folkert wrote: On Thu, 2007-03-22 at 11:38 +0800, Jian Jun Wang wrote: I installed Debian etch on my laptop and I want to configure fetchmail to get my mails from gmail. In order to run fetchmail at startup, I did 1. Installed sysv-rc-conf and toggle fetchmail in it as root 2. edit /etc/default/fetchmail, to make it as daemon 3. edit $HOME/.fetchmailrc defaults mda /usr/bin/procmail -d %T set logfile /home/jerry/.log/fetchmail.log Sorry, but running fetchmail as a daemon is the worst possible way to run fetchmail. Run it as a cronjob as a job as your user. It will work. You just need to setup your .fetchmailrc properly. ANYTIME I've run fetchmail as a system daemon it dies sooner or later. Usually sooner. Or even better yet it stalls. never more to retrieve mail. Is this typical of other users' experience? I've been running fetchmail as a daemon on my home box, with a size limit and a time interval of 15 minutes. It quite often stops before downloading all the messages. I've run it in verbose mode and logged the output; it ends with a message something like Client/server protocol error. I've never taken the time to investigate it further, as it continues downloading at the next designated time. In what way is it better as a cron job? I'll change the setup if there are advantages to it. The daemon mode has runaway and stalling modes. At least it did last time I tried it. Plus sometimes it doesn't even start. Running it as a cron job is best. I've only had problems with it when the ISPs pop3 server is down, or the internet connection is down. Best part is, it tells you when it cannot reach the pickup point and when it resumes being able to. It kid of gives me a way to guage when my Internet connection is down and I can back bill comcast. -- greg, [EMAIL PROTECTED] Novell's Directory Services is a competitive product to Microsoft's Active Directory in much the same way that the Saturn V is a competitive product to those dinky little model rockets that kids light off down at the playfield. -- Thane Walkup -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to run fetchmail as daemon at startup
Ron Johnson: On 03/22/07 09:39, Jochen Schulz wrote: If your /etc/fetchmailrc is empty anyway, you can edit /etc/default/fetchmail to disable the system-wide fetchmail daemon altogether. This solution has the advantage, that every user can manage his/her own POP accounts (without the admin knowing their passwords), but the disadvantage is that you have a fetchmail process for every user. Are you talking about having a fetchmail daemon for *each* user? Yes. On most peoples' systems there's only a fistful of anyway. J. -- Ultimately, the Millenium Dome is a spectacular monument of the doublethink of our times. [Agree] [Disagree] http://www.slowlydownward.com/NODATA/data_enter2.html signature.asc Description: Digital signature
Re: How to run fetchmail as daemon at startup
Roberto C. Sánchez: On Thu, Mar 22, 2007 at 02:21:45PM +0100, Jochen Schulz wrote: Roberto C. Sánchez: To make it start up as user, edit your crontab (use `crontab -e`) and put '@startup fetchmail' Oh, and BTW: it's @reboot, not @startup. :) Doh! My mistake. I was going from memory and didn't want to login to the machine that has the crontab entry to check. :-) I had to look it up, too. @reboot is a misnomer in my opinion, anyway. It appears to be run only on warm boots while in fact it is run at every startup. J. -- I am getting worse rather than better. [Agree] [Disagree] http://www.slowlydownward.com/NODATA/data_enter2.html signature.asc Description: Digital signature
Re: How to run fetchmail as daemon at startup
On Thu, Mar 22, 2007 at 11:29:06PM +0100, Jochen Schulz wrote: I had to look it up, too. @reboot is a misnomer in my opinion, anyway. It appears to be run only on warm boots while in fact it is run at every startup. If you think about it, every boot after the very first is technically a reboot. The interval might vary, but it would be a reboot nonetheless. Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.connexer.com signature.asc Description: Digital signature
Re: How to run fetchmail as daemon at startup
On Thu, 22 Mar 2007 11:42:54 -0400 Greg Folkert [EMAIL PROTECTED] wrote: [snip] Sorry, but running fetchmail as a daemon is the worst possible way to run fetchmail. Run it as a cronjob as a job as your user. It will work. You just need to setup your .fetchmailrc properly. ANYTIME I've run fetchmail as a system daemon it dies sooner or later. Usually sooner. Or even better yet it stalls. never more to retrieve mail. I've always setup fetchmail to run as a cronjob every 10-30 minutes depending on you tastes. Any more often than 10 minutes runs the risk of colliding with another previous instance. I use getmail, which is not even designed to run as a daemon. From the FAQ: How do I run getmail in daemon mode? Use your system's cron utility to run getmail periodically if you wish to have mail retrieved automatically at intervals. This is precisely what cron is designed to do; there's no need to add special code to getmail to do this. With a reasonably standard system cron utility, a crontab(5) entry like the following will make getmail retrieve mail every hour: 0 * * * * /usr/local/bin/getmail --quiet Celejar -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to run fetchmail as daemon at startup
On Thu, 2007-03-22 at 23:26 +0100, Jochen Schulz wrote: Ron Johnson: On 03/22/07 09:39, Jochen Schulz wrote: If your /etc/fetchmailrc is empty anyway, you can edit /etc/default/fetchmail to disable the system-wide fetchmail daemon altogether. This solution has the advantage, that every user can manage his/her own POP accounts (without the admin knowing their passwords), but the disadvantage is that you have a fetchmail process for every user. Are you talking about having a fetchmail daemon for *each* user? Yes. On most peoples' systems there's only a fistful of anyway. You are fooling yourself. Run them a one shot cronjob set to run every 10-30 minutes. Much better use of resources on the machine. As I have said before, fetchmail WILL die or hang on you, when run in daemon mode. -- greg, [EMAIL PROTECTED] Novell's Directory Services is a competitive product to Microsoft's Active Directory in much the same way that the Saturn V is a competitive product to those dinky little model rockets that kids light off down at the playfield. -- Thane Walkup -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to run fetchmail as daemon at startup
On Thu, 22 Mar 2007 20:32:55 -0400 Greg Folkert [EMAIL PROTECTED] wrote: On Thu, 2007-03-22 at 23:26 +0100, Jochen Schulz wrote: Ron Johnson: On 03/22/07 09:39, Jochen Schulz wrote: If your /etc/fetchmailrc is empty anyway, you can edit /etc/default/fetchmail to disable the system-wide fetchmail daemon altogether. This solution has the advantage, that every user can manage his/her own POP accounts (without the admin knowing their passwords), but the disadvantage is that you have a fetchmail process for every user. Are you talking about having a fetchmail daemon for *each* user? Yes. On most peoples' systems there's only a fistful of anyway. You are fooling yourself. Run them a one shot cronjob set to run every 10-30 minutes. Much better use of resources on the machine. As I have said before, fetchmail WILL die or hang on you, when run in daemon mode. monit [0] ? Celejar http://www.tildeslash.com/monit/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to run fetchmail as daemon at startup
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/22/07 17:26, Jochen Schulz wrote: Ron Johnson: On 03/22/07 09:39, Jochen Schulz wrote: If your /etc/fetchmailrc is empty anyway, you can edit /etc/default/fetchmail to disable the system-wide fetchmail daemon altogether. This solution has the advantage, that every user can manage his/her own POP accounts (without the admin knowing their passwords), but the disadvantage is that you have a fetchmail process for every user. Are you talking about having a fetchmail daemon for *each* user? Yes. That's... odd. (Not wrong, just odd.) On most peoples' systems there's only a fistful of anyway. Not knowing that other people also run fetchmail from cron, I also configured fetchmail it to run from cron for each of 3 users on my system. Why created multiple daemons for activity that's going to run every X number of minutes, when cron is already specialized for that purpose? J. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGAyZBS9HxQb37XmcRAv2dAJ9ajPba0Psunlgyof2kCaM32KAkBACg4kCm yCK+zRPDn3wXJv1pK5TBiyY= =NpX6 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to run fetchmail as daemon at startup
On Thu, 2007-03-22 at 20:45 -0400, Celejar wrote: On Thu, 22 Mar 2007 20:32:55 -0400 Greg Folkert [EMAIL PROTECTED] wrote: On Thu, 2007-03-22 at 23:26 +0100, Jochen Schulz wrote: Ron Johnson: On 03/22/07 09:39, Jochen Schulz wrote: If your /etc/fetchmailrc is empty anyway, you can edit /etc/default/fetchmail to disable the system-wide fetchmail daemon altogether. This solution has the advantage, that every user can manage his/her own POP accounts (without the admin knowing their passwords), but the disadvantage is that you have a fetchmail process for every user. Are you talking about having a fetchmail daemon for *each* user? Yes. On most peoples' systems there's only a fistful of anyway. You are fooling yourself. Run them a one shot cronjob set to run every 10-30 minutes. Much better use of resources on the machine. As I have said before, fetchmail WILL die or hang on you, when run in daemon mode. monit [0] ? All that is telling you that it DID do it oopsie. I want something that just plain works. Using a cron driven fetchmail works, daemon mode suxxorz. Not to be glib here, but look who writes fetchmail... the self proscribed bestestest programmer in the world. This is the best example of a program he writes to preach to the whole world? I can do as good, with shell. I have in some instances. -- greg, [EMAIL PROTECTED] Novell's Directory Services is a competitive product to Microsoft's Active Directory in much the same way that the Saturn V is a competitive product to those dinky little model rockets that kids light off down at the playfield. -- Thane Walkup -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
How to run fetchmail as daemon at startup
I installed Debian etch on my laptop and I want to configure fetchmail to get my mails from gmail. In order to run fetchmail at startup, I did 1. Installed sysv-rc-conf and toggle fetchmail in it as root 2. edit /etc/default/fetchmail, to make it as daemon 3. edit $HOME/.fetchmailrc defaults mda /usr/bin/procmail -d %T set logfile /home/jerry/.log/fetchmail.log -- TNT - Today, Not Tomorrow
Re: How to run fetchmail as daemon at startup
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/21/07 22:38, Jian Jun Wang wrote: I installed Debian etch on my laptop and I want to configure fetchmail to get my mails from gmail. In order to run fetchmail at startup, I did 1. Installed sysv-rc-conf and toggle fetchmail in it as root 2. edit /etc/default/fetchmail, to make it as daemon 3. edit $HOME/.fetchmailrc defaults mda /usr/bin/procmail -d %T set logfile /home/jerry/.log/fetchmail.log Did it create a file named: /etc/rc3.d/S??fetch* -- TNT - Today, Not Tomorrow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGAf41S9HxQb37XmcRAt25AKDNNOLCq8H51SUCxVwBz2huJuQEEgCg0GCQ C4K1b1OBcZ/0Ddp1K3/KXzU= =h8Ib -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to run fetchmail as daemon at startup
Jian Jun Wang: I installed Debian etch on my laptop and I want to configure fetchmail to get my mails from gmail. In order to run fetchmail at startup, I did 1. Installed sysv-rc-conf and toggle fetchmail in it as root 2. edit /etc/default/fetchmail, to make it as daemon 3. edit $HOME/.fetchmailrc The system-wide fetchmail daemon doesn' use users' .fetchmailrc but only reads /etc/fetchmailrc. J. -- In this bunker there are women and children. There are no weapons. [Agree] [Disagree] http://www.slowlydownward.com/NODATA/data_enter2.html signature.asc Description: Digital signature
Re: configuring fetchmail, exim and mutt for remote access
On Wed, 28 Feb 2007 17:21:33 -0500 Roberto C. Sanchez [EMAIL PROTECTED] wrote: On Wed, Feb 28, 2007 at 01:20:06PM -0800, Peter Easthope wrote: On Wed, Feb 28, 2007 at 03:48:09PM -0500, Roberto C. Sanchez wrote: [snip] fetchmail sends messages to port 25 via SMTP whereas mutt wants to read messages in /var/mail/peter. Isn't exim needed to send the port 25 stream into the spool file? I don't think so. I think fetchmail can be configured to deliver directly. If not, seting up for local delivery in exim is a simple dpkg-reconfigure away. Getmail can deliver directly. As I said, exim is probably overkill. Messages need to be sent also. Isn't exim needed to send messages to P via SMTP? Possibly. You can use ssmtp. For exim, however, you will need to wait for someone else on the list to help you out. I don't know a thing about it, as I use postfix on all my machines. Check out the (virtual) package 'mail-transport-agent' and you'll see lots and lots of MTA's (see the list of packages that provide 'm-t-a' and the list of those that conflict with it). Celejar -- ssuds.sourceforge.net - Home of Ssuds and Ssudg A Simple Sudoku Solver and Generator -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
configuring fetchmail, exim and mutt for remote access
Roberto Sanchez others, At Thu, 25 Jan 2007 12:45:38 -050, Roberto Sanchez said, Setup mutt on the machine and ssh in when you are travelling. It works as you outline. POP3 server, is on machine P. fetchmail, exim, mutt and ssh are on home machine, H. ssh is on mobile machine M. Also, thanks for explaining why the MAC address can not not identify H to the world. I wonder about streamlining even further. Ie., run exim and mutt, or other MUA, on M with M-exim communicating with H-exim by SMTP tunnelled in TLS. A message would travel thusly. SMTP POP3in TLS P = H == M-exim === M-MUA Any chance of this working? Any tips on configuring it before I waste too many hours ... or days? Thanks, ... Peter E.
Re: configuring fetchmail, exim and mutt for remote access
On Wed, Feb 28, 2007 at 12:01:43PM -0800, Easthope wrote: Roberto Sanchez others, At Thu, 25 Jan 2007 12:45:38 -050, Roberto Sanchez said, Setup mutt on the machine and ssh in when you are travelling. It works as you outline. POP3 server, is on machine P. fetchmail, exim, mutt and ssh are on home machine, H. ssh is on mobile machine M. You can setup mutt on machine M and have it just pull messages directly from machine P via POP. If you always want most of your messages waiting there for you, then you can use fetchmail. I think that exim is not necessary for your needs. Also, thanks for explaining why the MAC address can not not identify H to the world. I wonder about streamlining even further. Ie., run exim and mutt, or other MUA, on M with M-exim communicating with H-exim by SMTP tunnelled in TLS. A message would travel thusly. SMTP POP3in TLS P = H == M-exim === M-MUA Any chance of this working? Any tips on configuring it before I waste too many hours ... or days? As I said, exim is probably overkill. You can do what you want with mutt+fetchmail. Regards, -Roberto -- Roberto C. Sanchez http://people.connexer.com/~roberto http://www.connexer.com signature.asc Description: Digital signature
Re: configuring fetchmail, exim and mutt for remote access
On Wed, Feb 28, 2007 at 12:01:43PM -0800, Easthope wrote: Roberto Sanchez others, At Thu, 25 Jan 2007 12:45:38 -050, Roberto Sanchez said, Setup mutt on the machine and ssh in when you are travelling. It works as you outline. POP3 server, is on machine P. fetchmail, exim, mutt and ssh are on home machine, H. ssh is on mobile machine M. Also, thanks for explaining why the MAC address can not not identify H to the world. I wonder about streamlining even further. Ie., run exim and mutt, or other MUA, on M with M-exim communicating with H-exim by SMTP tunnelled in TLS. A message would travel thusly. SMTP POP3in TLS P = H == M-exim === M-MUA Any chance of this working? Any tips on configuring it before I waste too many hours ... or days? smtp is a push system. it has to go out and find the machine where you want to send mail. this doesn't really work with a laptop or other mobile situation as the destination keeps changing. I don't remember the exact situation you were in, but what you have going now is probably the most efficient one you could have. next step up for convenience would be to setup IMAP and/or webmail. A signature.asc Description: Digital signature
Re: configuring fetchmail, exim and mutt for remote access
On Wed, Feb 28, 2007 at 03:48:09PM -0500, Roberto C. Sanchez wrote: You can setup mutt on machine M and have it just pull messages directly from machine P via POP. Two factors against that. - P belongs to an ISP which refuses POP access from a machine not on his WAN. - M is inside a firewall which passes ssh but not POP. I think that exim is not necessary for your needs. fetchmail sends messages to port 25 via SMTP whereas mutt wants to read messages in /var/mail/peter. Isn't exim needed to send the port 25 stream into the spool file? As I said, exim is probably overkill. Messages need to be sent also. Isn't exim needed to send messages to P via SMTP? Thanks again, ... Peter E. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: configuring fetchmail, exim and mutt for remote access
On Wed, Feb 28, 2007 at 01:20:06PM -0800, Peter Easthope wrote: On Wed, Feb 28, 2007 at 03:48:09PM -0500, Roberto C. Sanchez wrote: You can setup mutt on machine M and have it just pull messages directly from machine P via POP. Two factors against that. - P belongs to an ISP which refuses POP access from a machine not on his WAN. Uggh. - M is inside a firewall which passes ssh but not POP. I see. Do you have ssh access to P? Were you planning on tunneling? If so, you can have fetchmail go over the tunnel. Alternatively, does the machine have IMAP access? I think that exim is not necessary for your needs. fetchmail sends messages to port 25 via SMTP whereas mutt wants to read messages in /var/mail/peter. Isn't exim needed to send the port 25 stream into the spool file? I don't think so. I think fetchmail can be configured to deliver directly. If not, seting up for local delivery in exim is a simple dpkg-reconfigure away. As I said, exim is probably overkill. Messages need to be sent also. Isn't exim needed to send messages to P via SMTP? Possibly. You can use ssmtp. For exim, however, you will need to wait for someone else on the list to help you out. I don't know a thing about it, as I use postfix on all my machines. Thanks again, ... Peter E. np, Regards, -Roberto -- Roberto C. Sanchez http://people.connexer.com/~roberto http://www.connexer.com signature.asc Description: Digital signature
config fetchmail spécifique pour un ISP ( freesurf )
bonjour, j'ai un souci dans mes logs avec fetchmail avec un ISP et pourtant je n'arrive pas à comprendre pourquoi cela arrive alors que la conf est correcte, cf : /usr/share/doc/fetchmail/examples/fetchmailrc.example Feb 23 15:54:28 geroldseck fetchmail[3045]: Pas de concordance du nom commun du serveur: pop.fr.clara.net != pop.freesurf.fr comment résoudre ce pb de routage ? slt bernard -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: config fetchmail spéc ifique pour un ISP ( freesurf )
On Fri, Feb 23, 2007 at 04:01:26PM +0100, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote a message of 28 lines which said: Feb 23 15:54:28 geroldseck fetchmail[3045]: Pas de concordance du nom commun du serveur: pop.fr.clara.net != pop.freesurf.fr ... comment résoudre ce pb de routage ? Ça n'a pas l'air d'un problème de routage et ça ressemble plutôt à un problème SSL où le nom dans le certificat ne coïncide pas avec le nom que vous avez mis dans le .fetchmailrc. Essayez de changer ce dernier, pour voir ? -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: config fetchmail spécifique pour un ISP ( freesurf )
Le vendredi 23 février 2007 16:01, [EMAIL PROTECTED] a écrit : bonjour, j'ai un souci dans mes logs avec fetchmail avec un ISP et pourtant je n'arrive pas à comprendre pourquoi cela arrive alors que la conf est correcte, cf : /usr/share/doc/fetchmail/examples/fetchmailrc.example Feb 23 15:54:28 geroldseck fetchmail[3045]: Pas de concordance du nom commun du serveur: pop.fr.clara.net != pop.freesurf.fr Ca peut se produire dans plusieurs cas: soit le nom d'hote du certificat est différent du nom de la machine, soit le DNS renvoie une adresse correspondant à un autre domaine, soit la config est incorrecte (fetchmailrc est très sensible aux espaces et à la syntaxe) Au vu des adresses IP, il semble bien que l'un héberge l'autre: pop.freesurf.fr = 212.43.206.50, pop.fr.clara.net = 212.43.194.89 et 212.43.194.88 la syntaxe de récupération devrait être qq chose comme (en 1 ligne), si on prend, par exemple, l'adresse email [EMAIL PROTECTED] avec le mot de passe secret, et que ton nom d'utilisateur local est nanard: poll pop.freesurf.fr proto POP3 timeout 80 user bernard has password secret is nanard here fetchall De toute façon, c'est juste un avertissement, et ça n'empêche pas fetchmail de récupérer tes emails.
Re: Echecs connexion récurrents fetchmail/pop.free.fr
Le mardi 30 janvier 2007 à 18:24 +0100, Aurelien a écrit : On Fri, Jan 26, 2007 at 07:09:12PM +0100, Aurélien Roux wrote : Salut, Bonjour, Depuis quelques jours, j'ai régulièrement des échecs de connexion au serveur pop.free.fr. Cela m'est déjà arrivée avec pop.free.fr Je n'arrive pas à trouver d'info sur le net, mes autres comptes mail, gérés en IMAP ne me pose pas de problème, pas plus que l'accès au webmail de free (à quelques fois près). Je commence donc à me demander si ça ne vient pas de mon fetchmail qui serait mal configuré, cela dit, je n'ai rien changé depuis des années donc .fetchmailrc, donc il aurait fallu un changement au niveau de free. Tu peux essayer d'augmenter le delai (timeout) dans ton .fetchmailrc : poll pop.free.fr with proto POP3 timeout 200 user 'ton_login' there with pass 'ton_passwd' is 'toi' here options fetchall perso j'utilise un timeout de 80 sur pop.free.fr Est-ce que quelqu'un a un vent de quelque chose de ce genre ? Bon, je me réponds car le problème est toujours d'actualité, et que je n'arrive pas à trouver de solution. On m'a orienté vers le serveur de news de free, mais à chaque fois que j'ai tenté, il n'était pas disponible (je cumule). Est-ce que ça peut avoir un rapport avec le prise de bec entre FT et Free ? (je vois pas pourquoi, je cherche à récupérer des mails sur des adresses free, et j'ai un abonnement free avec freebox) J'ai lu des trucs également concernant le fait que free n'autorisait pas plus de 6 connexions simultanées pour une adresse IP. Seulement, je n'ai pas 6 adresses mail free, et -arrêtez-moi si je me trompe- fetchmail procède de manière séquentielle et pas simultanée. Tout à fait, le pb ne vient certainement pas de là. @+ -- Michel Luc [EMAIL PROTECTED] | http://www.cern91.net/ GAULE, LUG de l'Essonne: http://gaule.org/ -*-*-*-*-*-*-* GnuPG v1.0.6 (GNU/Linux) *-*-*-*-*-*-*-*- [EMAIL PROTECTED] GPG: 1024D/3D07B881 KFP: 155C 2287 2084 33E0 4263 8AC9 B10F 03CB 3D07 B881 signature.asc Description: Ceci est une partie de message numériquement signée
Re: Echecs connexion récu rrents fetchmail/pop.free.fr
On Tue, Jan 30, 2007 at 08:47:53PM +0100, Michel Grentzinger wrote : Chez moi, ça fait déjà quelques semaines que ça dure... J'ai plusieurs comptes Oui, moi aussi, plusieurs semaines. en POP (une dizaine) et il y en a toujours entre 3 et 4 qui échouent ! Ca semble coller avec l'info de 6 connexions maxi. Oui, mais non, dans mon cas, en tout cas, la récupération des mails se fait séquentiellement. Je récupère avec Kmail, et si je récupère compte après compte, ça fonctionne sans soucis. . Il y a peut-être un délai entre les comptes... Cela dit, j'en doute vraiment car souvent, le premier compte free refuse d'entrée la connexion (et c'est celui qui est abonné à la liste, pas très pratique !) -- == ORL (alias Yvette H.) -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Echecs connexion récu rrents fetchmail/pop.free.fr
On Wed, Jan 31, 2007 at 03:03:00PM +0100, Michel Luc wrote : Le mardi 30 janvier 2007 à 18:24 +0100, Aurelien a écrit : On Fri, Jan 26, 2007 at 07:09:12PM +0100, Aurélien Roux wrote : Je n'arrive pas à trouver d'info sur le net, mes autres comptes mail, gérés en IMAP ne me pose pas de problème, pas plus que l'accès au webmail de free (à quelques fois près). Je commence donc à me demander si ça ne vient pas de mon fetchmail qui serait mal configuré, cela dit, je n'ai rien changé depuis des années donc .fetchmailrc, donc il aurait fallu un changement au niveau de free. Tu peux essayer d'augmenter le delai (timeout) dans ton .fetchmailrc : poll pop.free.fr with proto POP3 timeout 200 user 'ton_login' there with pass 'ton_passwd' is 'toi' here options fetchall perso j'utilise un timeout de 80 sur pop.free.fr J'ai laissé un timeout de 200, rien n'y fait. -- == ORL (alias Yvette H.) -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Echecs connexion récu rrents fetchmail/pop.free.fr
On Fri, Jan 26, 2007 at 07:09:12PM +0100, Aurélien Roux wrote : Salut, Depuis quelques jours, j'ai régulièrement des échecs de connexion au serveur pop.free.fr. Je n'arrive pas à trouver d'info sur le net, mes autres comptes mail, gérés en IMAP ne me pose pas de problème, pas plus que l'accès au webmail de free (à quelques fois près). Je commence donc à me demander si ça ne vient pas de mon fetchmail qui serait mal configuré, cela dit, je n'ai rien changé depuis des années donc .fetchmailrc, donc il aurait fallu un changement au niveau de free. Est-ce que quelqu'un a un vent de quelque chose de ce genre ? Bon, je me réponds car le problème est toujours d'actualité, et que je n'arrive pas à trouver de solution. On m'a orienté vers le serveur de news de free, mais à chaque fois que j'ai tenté, il n'était pas disponible (je cumule). Est-ce que ça peut avoir un rapport avec le prise de bec entre FT et Free ? (je vois pas pourquoi, je cherche à récupérer des mails sur des adresses free, et j'ai un abonnement free avec freebox) J'ai lu des trucs également concernant le fait que free n'autorisait pas plus de 6 connexions simultanées pour une adresse IP. Seulement, je n'ai pas 6 adresses mail free, et -arrêtez-moi si je me trompe- fetchmail procède de manière séquentielle et pas simultanée. -- == ORL (alias Yvette H.) -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Echecs connexion récurrents fetchmail/pop .free.fr
Aurelien a écrit : On Fri, Jan 26, 2007 at 07:09:12PM +0100, Aurélien Roux wrote : Salut, Depuis quelques jours, j'ai régulièrement des échecs de connexion au serveur pop.free.fr. Je n'arrive pas à trouver d'info sur le net, mes autres comptes mail, gérés en IMAP ne me pose pas de problème, pas plus que l'accès au webmail de free (à quelques fois près). Je commence donc à me demander si ça ne vient pas de mon fetchmail qui serait mal configuré, cela dit, je n'ai rien changé depuis des années donc .fetchmailrc, donc il aurait fallu un changement au niveau de free. Est-ce que quelqu'un a un vent de quelque chose de ce genre ? Bon, je me réponds car le problème est toujours d'actualité, et que je n'arrive pas à trouver de solution. On m'a orienté vers le serveur de news de free, mais à chaque fois que j'ai tenté, il n'était pas disponible (je cumule). Est-ce que ça peut avoir un rapport avec le prise de bec entre FT et Free ? (je vois pas pourquoi, je cherche à récupérer des mails sur des adresses free, et j'ai un abonnement free avec freebox) J'ai lu des trucs également concernant le fait que free n'autorisait pas plus de 6 connexions simultanées pour une adresse IP. Seulement, je n'ai pas 6 adresses mail free, et -arrêtez-moi si je me trompe- fetchmail procède de manière séquentielle et pas simultanée. Moi aussi j'ai tjs ce problème (c'est pour que tu te sentes moins seul ;) ). J'ai remarqué que ça arrivait surtt avec le mail-notification. Je ne sais pas si tu as aussi ce programme. Tcho GiGGz -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Echecs connexion récu rrents fetchmail/pop.free.fr
On Tue, Jan 30, 2007 at 06:42:16PM +0100, giggz wrote : Aurelien a écrit : On Fri, Jan 26, 2007 at 07:09:12PM +0100, Aurélien Roux wrote : Moi aussi j'ai tjs ce problème (c'est pour que tu te sentes moins seul ;) ). J'ai remarqué que ça arrivait surtt avec le mail-notification. Je ne sais pas si tu as aussi ce programme. Non, je n'utilise pas ça (j'avais vu des options pour sendmail, mais comme j'utilise postfix). Sinon, comme me l'a dit une personne sur la liste il y a quelques jours, ça arrive essentiellement en fin d'après-midi début de soirée. -- == ORL (alias Yvette H.) -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Echecs connexion récurren ts fetchmail/pop.free.fr
Salut, Depuis quelques jours, j'ai régulièrement des échecs de connexion au serveur pop.free.fr. Je n'arrive pas à trouver d'info sur le net, mes autres comptes mail, gérés en IMAP ne me pose pas de problème, pas plus que l'accès au webmail de free (à quelques fois près). Je commence donc à me demander si ça ne vient pas de mon fetchmail qui serait mal configuré, cela dit, je n'ai rien changé depuis des années donc .fetchmailrc, donc il aurait fallu un changement au niveau de free. Est-ce que quelqu'un a un vent de quelque chose de ce genre ? Merci. -- == ORL (alias Yvette H.) -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Echecs connexion récurrents fetchmail/po p.free.fr
Salut, Aurelien a écrit : Depuis quelques jours, j'ai régulièrement des échecs de connexion au serveur pop.free.fr. [...] Est-ce que quelqu'un a un vent de quelque chose de ce genre ? Apparemment tu n'es pas le seul, surtout si c'est en fin d'après-midi. Va faire un tour dans news:proxad.free.services.messagerie. -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Echecs connexion récu rrents fetchmail/pop.free.fr
On Fri, Jan 26, 2007 at 07:19:26PM +0100, Pascal Hambourg wrote : Salut, Aurelien a écrit : Depuis quelques jours, j'ai régulièrement des échecs de connexion au serveur pop.free.fr. [...] Est-ce que quelqu'un a un vent de quelque chose de ce genre ? Apparemment tu n'es pas le seul, surtout si c'est en fin d'après-midi. Tout à fait (voire soirée, en fait) Va faire un tour dans news:proxad.free.services.messagerie. Et d'ailleurs, je n'arrive pas à me connecter sur leur site ! -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- == ORL (alias Yvette H.) -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Echecs connexion récurrents fetchmail/pop .free.fr
Aurelien a écrit : Salut, Depuis quelques jours, j'ai régulièrement des échecs de connexion au serveur pop.free.fr. de même...depuis qq jours avec icedove. Je pensais que ça venait de chez moi... Je n'arrive pas à trouver d'info sur le net, mes autres comptes mail, gérés en IMAP ne me pose pas de problème, pas plus que l'accès au webmail de free (à quelques fois près). Je commence donc à me demander si ça ne vient pas de mon fetchmail qui serait mal configuré, cela dit, je n'ai rien changé depuis des années donc .fetchmailrc, donc il aurait fallu un changement au niveau de free. Est-ce que quelqu'un a un vent de quelque chose de ce genre ? Merci. -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: fetchmail
Wojciech Ziniewicz napisał(a): 07-01-18, Krzysztof Szymczak [EMAIL PROTECTED] napisał(a): Witam wszystkich. Działa mi Fetchmail na komputerze i ściąga wiadomości co 1 minute i pytanie jak uważacie czy jeśli jest to serwer pośredniczący (smarthost) to jest sens robić SASL na nim jeśli dopuszczona jest tylko moja podsiec 192.168.0.0/24 Postfix mynetworks = 127.0.0.0/8 192.168.0.0/24 Zawsze warto. Wysiłek administracyjny jesli chodzi o serwer jest praktycznie zaden. Nie wiem jak z hostami ktore sie lacza do niego. i jeszcze sprawa jak podłącze 50 userów to najlepiej chyba zrobić jakiś skrypt z opóźnieniem uruchamiania fetchmail żeby wszystkie procesy nie uruchamiały się jednocześnie? Miał ktoś doświadczenie z używaniem fetchmail przy większej ilości userów? dla 50 userów nie warto. jesli chcesz to na poczatku kazdego skryptu fetchmailowego zarzuć komende sleep z randomowym czasem 60s . to powinno załatwić sprawe. pzdr Dziękuje za odpowiedz , sprawdze jak to dziala. Pozdrawiam Krzysztof smime.p7s Description: S/MIME Cryptographic Signature
fetchmail
Witam wszystkich. Działa mi Fetchmail na komputerze i ściąga wiadomości co 1 minute i pytanie jak uważacie czy jeśli jest to serwer pośredniczący (smarthost) to jest sens robić SASL na nim jeśli dopuszczona jest tylko moja podsiec 192.168.0.0/24 Postfix mynetworks = 127.0.0.0/8 192.168.0.0/24 i jeszcze sprawa jak podłącze 50 userów to najlepiej chyba zrobić jakiś skrypt z opóźnieniem uruchamiania fetchmail żeby wszystkie procesy nie uruchamiały się jednocześnie? Miał ktoś doświadczenie z używaniem fetchmail przy większej ilości userów? Pozdrawiam smime.p7s Description: S/MIME Cryptographic Signature
Re: fetchmail
07-01-18, Krzysztof Szymczak [EMAIL PROTECTED] napisał(a): Witam wszystkich. Działa mi Fetchmail na komputerze i ściąga wiadomości co 1 minute i pytanie jak uważacie czy jeśli jest to serwer pośredniczący (smarthost) to jest sens robić SASL na nim jeśli dopuszczona jest tylko moja podsiec 192.168.0.0/24 Postfix mynetworks = 127.0.0.0/8 192.168.0.0/24 Zawsze warto. Wysiłek administracyjny jesli chodzi o serwer jest praktycznie zaden. Nie wiem jak z hostami ktore sie lacza do niego. i jeszcze sprawa jak podłącze 50 userów to najlepiej chyba zrobić jakiś skrypt z opóźnieniem uruchamiania fetchmail żeby wszystkie procesy nie uruchamiały się jednocześnie? Miał ktoś doświadczenie z używaniem fetchmail przy większej ilości userów? dla 50 userów nie warto. jesli chcesz to na poczatku kazdego skryptu fetchmailowego zarzuć komende sleep z randomowym czasem 60s . to powinno załatwić sprawe. pzdr -- Wojciech Ziniewicz Unix SEX :{look;gawk;find;sed;talk;grep;touch;finger;find;fl ex;unzip;head;tail; mount;workbone;fsck;yes;gasp;fsck;more;yes;yes;eje ct;umount;makeclean; zip;split;done;exit:xargs!!;)}
Re: Fetchmail [Résolu]
Zuthos a écrit : | donc, rien | étonant non ? Finalement, il semble que fetchmail utilise désormais syslog. J'ai donc suprimé la ligne : set logfile /var/log/fetchmail.log de mon fichier /etc/fetchmailrc est tous est rentré dans l'ordre Merci de m'avoir aidé -- Ce qui manque aux orateurs en profondeur, ils vous le donnent en longueur. Montesquieu, Mes Pensées signature.asc Description: Digital signature
Re: Fetchmail
Stéphane L. a écrit : | Le 08/12/06, Zuthos[EMAIL PROTECTED] a écrit : | bonjour, | | Depuis une mise a jour, | | Qui date de quand ? | En fait, j'ai fait des apttiude upgrade, Et je n'est par repéré le moment exact de la pane | fetchmail ne semble plus fonctionner en daemon. | Il fonctionne tjrs en line de commande. | J'ai vérifié /etc/default/fetchmail | | Et y a quoi dedans ? START_DAEMON=yes | ps aux |grep fetchmail # ps aux |grep fetchmail root 10900 0.0 0.1 3760 748 tty2 S+ 07:26 0:00 grep fetchmail donc, rien étonant non ? -- Quand on est trop bonne pâte, on risque de finir dans le pétrin. Pierre Dac signature.asc Description: Digital signature
Re: Fetchmail
Le 08/12/06, Zuthos[EMAIL PROTECTED] a écrit : bonjour, Depuis une mise a jour, Qui date de quand ? fetchmail ne semble plus fonctionner en daemon. Il fonctionne tjrs en line de commande. J'ai vérifié /etc/default/fetchmail Et y a quoi dedans ? # /etc/init.d/fetchmail stop * Pidfile not found! Is fetchmail running? Voila, si quelqu'un a une idée?? ps aux |grep fetchmail cdlt.
Fetchmail
bonjour, Depuis une mise a jour, fetchmail ne semble plus fonctionner en daemon. Il fonctionne tjrs en line de commande. J'ai vérifié /etc/default/fetchmail j'ai tjrs mon /etc/fetchmailrc avec une ligne: set daemon 600 /var/log/fetchmail.log ne donne rien voici ce que j'obtiens lorsque je veut démarrer: # /etc/init.d/fetchmail start Starting mail retriever agent: fetchmailfetchmail: attention: syslog et logfile sont activés. Voir tous les deux pour des messages ! . # /etc/init.d/fetchmail stop * Pidfile not found! Is fetchmail running? Voila, si quelqu'un a une idée?? -- Toutes les frontières, surtout nationales, sont contraires à la nature des mathématiques. -- Hilbert, David signature.asc Description: Digital signature
fetchmail
bonjour, Depuis une mise a jour, fetchmail ne semble plus fonctionner en daemon. Il fonctionne tjrs en line de commande. J'ai vérifié /etc/default/fetchmail j'ai tjrs mon /etc/fetchmailrc avec une ligne: set daemon 600 /var/log/fetchmail.log ne donne rien voici ce que j'obtiens lorsque je veut démarrer: # /etc/init.d/fetchmail start Starting mail retriever agent: fetchmailfetchmail: attention: syslog et logfile sont activés. Voir tous les deux pour des messages ! . # /etc/init.d/fetchmail stop * Pidfile not found! Is fetchmail running? Voila, si quelqu'un a une idée?? -- Toutes les frontières, surtout nationales, sont contraires à la nature des mathématiques. -- Hilbert, David signature.asc Description: Digital signature
fetchmail -v -f /root/.fetchmailrc
bir sh dosyam var mail sunucuda 5dk bir calýþýyor.. firewall ipcop baþka bir makinede. þimdi bu firewalda mail sunucu icin bandwith var 25k ben fetchmail calýsýrken bu limiti arttýrýyorum. sorunum þu: buyuk boyutta mailller feth edilirken. 5dk icinde iþlem bitmezse mail_gonder_al tekrar calýsýyor. 1. adýmdaki BW hýzlandýrma iþlemini yapýyor 2.adýmda fethcmail çalýþýyor ama fethmail iþi uzamýþþa baska fetchmail calýþýyor diyerek bir sonraki adýma geçiyor. 3.adýmda BW yavaslatýlýyor. budurumda surmekte olan fethmail iþlemi varsa bu durum dahada uzuyor. if then fi ile bazý metotlar kullanarak fehcmail calýþýyorsa birþey yapmadan çýk diyebilirmiyim? yada baþka bir yol varmýdýr? #/root icindeki mail_gonder_al #fethcmail -q ssh -p 222 [EMAIL PROTECTED] /root/hizli.sh fetchmail -v -f /root/.fetchmailrc ssh -p 222 [EMAIL PROTECTED] /root/normal.sh -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
fetchmail i postfix
Hola, A la feina TOTS el correus que van al nostre domini els recull un ISP extern i jo el reparteixo aquí amb un servidor windows que tenim. Acabo de muntar un servidor de mail amb fetchmail+postfix+courier+squirelmail per tal de substituir el servidor windows i funciona correctament com a servidor internet però no aconsegueixo que fetchmail doni els missatges a procmail, van a parar tots a /var/mail/root. algú em pot indicar com dir a fetchmail que el que baixi ho doni a procmail perque ho reparteixi a les busties? Salud
Re: fetchmail i postfix
a main.cf hi ha mailbox_command = procmail -a $EXTENSION hi era per defecte, no se que es la variable $EXTENSION però així funciona correctement com a servidor de correu Internet A Dijous 02 Novembre 2006 12:55, Pere Nubiola Radigales va escriure: afeigeic al main.cf la comanda seguent mailbox_command = /usr/bin/procmail 2006/11/2, stoker [EMAIL PROTECTED]: Hola, A la feina TOTS el correus que van al nostre domini els recull un ISP extern i jo el reparteixo aquí amb un servidor windows que tenim. Acabo de muntar un servidor de mail amb fetchmail+postfix+courier+squirelmail per tal de substituir el servidor windows i funciona correctament com a servidor internet però no aconsegueixo que fetchmail doni els missatges a procmail, van a parar tots a /var/mail/root. algú em pot indicar com dir a fetchmail que el que baixi ho doni a procmail perque ho reparteixi a les busties? Salud
Re: fetchmail i postfix
Hola stoker wrote: algú em pot indicar com dir a fetchmail que el que baixi ho doni a procmail perque ho reparteixi a les busties? Has d'afegir a .fetchmailrc la línia: mda /usr/bin/procmail Diria que amb això en tens prou Albert
Re: fetchmail
* Albert Czarnecki [EMAIL PROTECTED], 2006-11-02, 08:58: Da sie ustawic w fetchmailu ze przy pobieraniu poczty na serwerze z ktorego poczta jest pobierana wiadomosci sa oznaczone dalej jako nieprzeczytane? Przeczytaj o opcji 'uidl'. -- Jakub Wilk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: fetchmail
Jakub Wilk napisał(a): * Albert Czarnecki [EMAIL PROTECTED], 2006-11-02, 08:58: Da sie ustawic w fetchmailu ze przy pobieraniu poczty na serwerze z ktorego poczta jest pobierana wiadomosci sa oznaczone dalej jako nieprzeczytane? Przeczytaj o opcji 'uidl'. Dzieki, wlasnie oto mi chodzilo , a moze wiesz czy da sie jakos zdefiniowac zeby fetchmail przeszukiwal wszystkie katalogi na koncie a nie tylko odebrane? przetestowalem to rowniez poprzez openwebmaila i tam przeszukal wszystkie pozdrawiam Albert -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: fetchmail
* Albert Czarnecki [EMAIL PROTECTED], 2006-11-02, 10:24: Da sie ustawic w fetchmailu ze przy pobieraniu poczty na serwerze z ktorego poczta jest pobierana wiadomosci sa oznaczone dalej jako nieprzeczytane? Przeczytaj o opcji 'uidl'. Dzieki, wlasnie oto mi chodzilo , a moze wiesz czy da sie jakos zdefiniowac zeby fetchmail przeszukiwal wszystkie katalogi na koncie a nie tylko odebrane? przetestowalem to rowniez poprzez openwebmaila i tam przeszukal wszystkie Rozumiem, że używasz protokołu POP3 (inaczej 'uidl' by nie zadziałało). Zatem -- nie da się, ten protokół nie przewiduje istnienia czegoś takiego jak katalog/folder. -- Jakub Wilk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
fetchmail
Witam Da sie ustawic w fetchmailu ze przy pobieraniu poczty na serwerze z ktorego poczta jest pobierana wiadomosci sa oznaczone dalej jako nieprzeczytane? sprawdzalem takie cos za pomoca openwebmaila i tak jest a nie wiem jaka opcja jest do tego w fetchmailrc Moze ktos pomoze? pozdrawiam Albert -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Problemas con Postifx, Fetchmail, etc...
On Sun, 29 Oct 2006 22:03:16 -0300 [EMAIL PROTECTED] wrote: Decinos cuál es la entrada puesta en cron, qué te devuelve el log cuando se ejecuta, y la conf de fetchmail por favor. El drama parece estar con el TLS.. Con qué usuario ejecutás la tarea de cron? Y cuando lo haces manualmente, con vsantos? Saludos. En el cron tengo puesto lo siguiente: */10 * * * * fetchmail -t 120 /dev/null 21 Lo que hace es ejecutarse cada 10 minutos la instrucción de fetchmail Así mismo lo he puesto desde el usuario vsantos mediante crontab -e y en fetchmail tengo puesto lo siguiente: set postmaster vsantos set bouncemail set no spambounce set properties poll pop.wanadoo.es usert '[EMAIL PROTECTED]' there with password 'xx' is 'vsantos' here Cuando ejecuto manualmente el fetchmail, lo realizo como usuario vsantos Con respecto al log, aqui te pongo más o menos lo que veo: to=[EMAIL PROTECTED], orig=vsantos, relay=none, delay=349243, delays=349246/0.22/0.31/0, dns=4.4.1. status=deferred, (connect to vctrsnts.dyndns.org: connect refused) Y asi unas cuantas veces. Me parece que esta es la linea de log de cuando se ejecuta el cron Gracias por todo -- http://vctrsnts.dyndns.org Hay 10 tipos de personas en este mundo. Las que saben binario y las que no.
Re: Problemas con Postifx, Fetchmail, etc...
On Mon, Oct 30, 2006 at 07:40:27PM +0100, Ogoshi wrote: On Sun, 29 Oct 2006 22:03:16 -0300 [EMAIL PROTECTED] wrote: Decinos cuál es la entrada puesta en cron, qué te devuelve el log cuando se ejecuta, y la conf de fetchmail por favor. El drama parece estar con el TLS.. Con qué usuario ejecutás la tarea de cron? Y cuando lo haces manualmente, con vsantos? Saludos. En el cron tengo puesto lo siguiente: */10 * * * * fetchmail -t 120 /dev/null 21 Lo que hace es ejecutarse cada 10 minutos la instrucción de fetchmail Así mismo lo he puesto desde el usuario vsantos mediante crontab -e y en fetchmail tengo puesto lo siguiente: set postmaster vsantos set bouncemail set no spambounce set properties poll pop.wanadoo.es usert '[EMAIL PROTECTED]' there with password 'xx' is 'vsantos' here Cuando ejecuto manualmente el fetchmail, lo realizo como usuario vsantos Con respecto al log, aqui te pongo más o menos lo que veo: to=[EMAIL PROTECTED], orig=vsantos, relay=none, delay=349243, delays=349246/0.22/0.31/0, dns=4.4.1. status=deferred, (connect to vctrsnts.dyndns.org: connect refused) Y asi unas cuantas veces. Me parece que esta es la linea de log de cuando se ejecuta el cron Gracias por todo -- http://vctrsnts.dyndns.org Hay 10 tipos de personas en este mundo. Las que saben binario y las que no. 1. Qué hay en el archivo /etc/mailname? 2. Asegurate de tener permit_mynetworks en smtpd_recipient_restrictions. 3. Prueba mynetworks dejándolo en blanco asi te detecta no sólamente el localhost, sino también la ip externa que apunta a tu servidor. -- Andrés M.- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Problemas con Postifx, Fetchmail, etc...
On Mon, 30 Oct 2006 19:12:52 -0300 [EMAIL PROTECTED] wrote: 1. Qué hay en el archivo /etc/mailname? 2. Asegurate de tener permit_mynetworks en smtpd_recipient_restrictions. 3. Prueba mynetworks dejándolo en blanco asi te detecta no sólamente el localhost, sino también la ip externa que apunta a tu servidor. 1. En el fichero pone el nombre de la maquina jupiter Ok, lo probare. Ante todo gracias por la ayuda -- http://vctrsnts.dyndns.org Hay 10 tipos de personas en este mundo. Las que saben binario y las que no.
Problemas con Postifx, Fetchmail, etc...
Buenas He instalado Postfix como servidor de correo en mi pc de uso normal. Entonces a la hora de realizar la configuración, y en base a las pregunas que me hace cuando realiza la instalación pongo lo siguiente: - Type Configuration: Internet Site - Mail for root: None - Mail name: jupiter (nombre de mi maquina) - Other destination: jupiter, localhost.domain, localhost - Syncronous: no - Local Network: 127.0.0.0/8 - Use procmail: yes - size: 0 - Exension character: + - Internet Protocol: all Así mismo, en el fichero de /etc/host tengo lo siguiente: 127.0.0.0 localhost 192.168.0.3jupiter También tengo instalado fetchmail con un crontab para mi usuario y el procmail para distribuir el correo. Pero entonces en cuando vienen los problemas. El primero, es que parece que el cron no actual, y si quiero los correos, tengo que ejecutar yo mismo el fetchmail, y despues me aparece el siguiente mensaje: fetchmail: no se puede encontrar una clave para vsantos@/dev/null. Alguien puede decirme donde me estoy equivocando, así como si la configuración que tiene el postfix es la correcta, y dentro de lo que cabe, la más segura? Gracias si alguien puede echarme una mano. -- http://vctrsnts.dyndns.org Hay 10 tipos de personas en este mundo. Las que saben binario y las que no.
Re: Problemas con Postifx, Fetchmail, etc...
On Sun, Oct 29, 2006 at 11:21:19PM +0100, Ogoshi wrote: Buenas He instalado Postfix como servidor de correo en mi pc de uso normal. Entonces a la hora de realizar la configuración, y en base a las pregunas que me hace cuando realiza la instalación pongo lo siguiente: - Type Configuration: Internet Site - Mail for root: None - Mail name: jupiter (nombre de mi maquina) - Other destination: jupiter, localhost.domain, localhost - Syncronous: no - Local Network: 127.0.0.0/8 - Use procmail: yes - size: 0 - Exension character: + - Internet Protocol: all Así mismo, en el fichero de /etc/host tengo lo siguiente: 127.0.0.0localhost 192.168.0.3 jupiter También tengo instalado fetchmail con un crontab para mi usuario y el procmail para distribuir el correo. Pero entonces en cuando vienen los problemas. El primero, es que parece que el cron no actual, y si quiero los correos, tengo que ejecutar yo mismo el fetchmail, y despues me aparece el siguiente mensaje: fetchmail: no se puede encontrar una clave para vsantos@/dev/null. Alguien puede decirme donde me estoy equivocando, así como si la configuración que tiene el postfix es la correcta, y dentro de lo que cabe, la más segura? Gracias si alguien puede echarme una mano. -- http://vctrsnts.dyndns.org Hay 10 tipos de personas en este mundo. Las que saben binario y las que no. Mmm. Por qué no pegas el main.cf así le hechamos un vistazo. Estás conectado a internet todo el tiempo? De dónde y para dónde usás el fetchaml. Qué tenes en mydestination? Por el lado del cron. Fijate que larga en el log, o cópianoslo. Saludos. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Problemas con Postifx, Fetchmail, etc...
On Sun, 29 Oct 2006 19:33:28 -0300 [EMAIL PROTECTED] wrote: Mmm. Por qué no pegas el main.cf así le hechamos un vistazo. Estás conectado a internet todo el tiempo? De dónde y para dónde usás el fetchaml. Qué tenes en mydestination? Por el lado del cron. Fijate que larga en el log, o cópianoslo. Saludos. En la configuración del main.conf tengo lo siguiente: smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) biff = no append_dot_mydomain = no smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key smtpd_use_tls=yes smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache myhostname = jupiter alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = jupiter, localhost.localdomain, localhost relayhost = mynetworks = 127.0.0.0/8 mailbox_command = mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all inet_protocols = ipv4 Gracias por todo. -- http://vctrsnts.dyndns.org Hay 10 tipos de personas en este mundo. Las que saben binario y las que no.
Re: Problemas con Postifx, Fetchmail, etc...
On Mon, Oct 30, 2006 at 01:34:10AM +0100, Ogoshi wrote: On Sun, 29 Oct 2006 19:33:28 -0300 [EMAIL PROTECTED] wrote: Mmm. Por qué no pegas el main.cf así le hechamos un vistazo. Estás conectado a internet todo el tiempo? De dónde y para dónde usás el fetchaml. Qué tenes en mydestination? Por el lado del cron. Fijate que larga en el log, o cópianoslo. Saludos. En la configuración del main.conf tengo lo siguiente: smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) biff = no append_dot_mydomain = no smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key smtpd_use_tls=yes smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache myhostname = jupiter alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = jupiter, localhost.localdomain, localhost relayhost = mynetworks = 127.0.0.0/8 mailbox_command = mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all inet_protocols = ipv4 Gracias por todo. -- http://vctrsnts.dyndns.org Hay 10 tipos de personas en este mundo. Las que saben binario y las que no. Decinos cuál es la entrada puesta en cron, qué te devuelve el log cuando se ejecuta, y la conf de fetchmail por favor. El drama parece estar con el TLS.. Con qué usuario ejecutás la tarea de cron? Y cuando lo haces manualmente, con vsantos? Saludos. -- Andrés M. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
fetchmail: SMTP error: 450 4.4.3
My fetchmail seems wedged. Usually this is cause by somebody faking a domain and spamming. Does anybody know how to flush this email or get my fetchmail to fetch it? Smail is my MTA (mail transport agent). I recall it is the thing that flag the spam and plugs up fetchmail. Any ideas? ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: fetchmail: SMTP error: 450 4.4.3
On Fri, Oct 27, 2006 at 01:16:33PM -0400, J F wrote: My fetchmail seems wedged. Usually this is cause by somebody faking a domain and spamming. Does anybody know how to flush this email or get my fetchmail to fetch it? Smail is my MTA (mail transport agent). I recall it is the thing that flag the spam and plugs up fetchmail. Any ideas? Hi J F, i used to use pop3browser and list the email message headers and when I found a bad one, deleted it. This usually got fetchmail 'unwedged'. cheers, Kev -- | .''`. == Debian GNU/Linux == | my web site: | | : :' : The Universal | debian.home.pipeline.com | | `. `' Operating System| go to counter.li.org and | | `-http://www.debian.org/ |be counted! #238656 | | my keysever: pgp.mit.edu | my NPO: cfsg.org | signature.asc Description: Digital signature
Re: fetchmail: SMTP error: 450 4.4.3
i used to use pop3browser and list the email message headers and when I found a bad one, deleted it. This usually got fetchmail 'unwedged'. Yeah, that works. Thanks. That is one way. I really want to turn off this reverse DNS checking and solve it forever. $ fetchmail -v ... fetchmail: SMTP MAIL FROM:[EMAIL PROTECTED] SIZE=19039 fetchmail: SMTP 450-4.4.3 defer all mail from '[EMAIL PROTECTED]'. fetchmail: SMTP 450-4.4.3 Sender address target domain 'dd-ceste.si' cannot be verified at this time. fetchmail: SMTP 450-4.4.3 Reason given was: verify_sender(): DNS error: Host name lookup failure: Connection timed out. fetchmail: SMTP 450 4.4.3 Try again later. fetchmail: SMTP error: 450 4.4.3 Try again later. fetchmail: SMTP RSET fetchmail: SMTP 250 2.3.0 Reset state not flushed $ man smail-config Has a lot of useful info, but I need to figure out which parameter to change. man 5 smail is also useful. Time for bed. Thanks for the suggestion. I'll dig more tomorrow. ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Fetchmail configuration: Alias FETCHMAIL-DAEMON
Hi folks, ich habe auf meinem Server eine fetchmail exim4 Mailkonfiguration und Debian 3.1 am laufen. Nun habe ich einen netten Spammer, der unbekannte usernamen bei meiner Domain anfängt zu beschmeißen, woraufhin mein fetchmail mit der Absenderadresse [EMAIL PROTECTED] als Absendername das DIng zurückbounced. Dies aber wiederum nimmt der SMTP server meines ISPs zum Anlass, dass Ding wg unbekannter Absenderadresse abzulehnen - und wir sind mitten im Nirwana! Frage: Wie kann ich fetchmail so konfigurieren, dass ich eine Art alias des FETCHMAIL-DAEMON users zu einem gültigen E-Mailaccount auf meiner Domain abbilden kann Weiss da jemand Rat? Freue mich auf Feedback BR Clemens
Re: Fetchmail configuration: Alias FETCHMAIL-DAEMON
* Dr. Clemens Hardewig wrote: ich habe auf meinem Server eine fetchmail exim4 Mailkonfiguration und Debian 3.1 am laufen. Nun habe ich einen netten Spammer, der unbekannte usernamen bei meiner Domain anfängt zu beschmeißen, woraufhin mein fetchmail mit der Absenderadresse [EMAIL PROTECTED] als Absendername das DIng zurückbounced. Es ist keine gute Idde, SPAM bouncen zu lassen, da die Absender meist gefälscht sind. Dies aber wiederum nimmt der SMTP server meines ISPs zum Anlass, dass Ding wg unbekannter Absenderadresse abzulehnen - und wir sind mitten im Nirwana! Frage: Wie kann ich fetchmail so konfigurieren, dass ich eine Art alias des FETCHMAIL-DAEMON users zu einem gültigen E-Mailaccount auf meiner Domain abbilden kann set postmaster = $GUELTIGER_USER set nobouncemail ... in der fetchmailrc, dann bekommt der gueltige User die Mail. Ciao, Christian -- (o_ Christian Hoeller (aka zy3) (o _o) (o_ //\ (/)_ (/)_ (/)_ V_/_ http://www.linux-drivers.org -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Fetchmail + Procmail + qpopper Mails holen
Hallo Liste, Ich betreibe hie einen Debian-exim Mailserver in Kombination mit User eigenen .procmailrc Dateien. Am Ende befinden sich die Mails in /var/spool/mail/username Darauf greift qpopper zu und liefert die Mails per pop aus. Jetzt wollte ich von einem entfernten POP-Account zusätzlich mal Mails mit fetchmail holen. Funktioniert auch: .fetchmailrc # server pop.anbieter.tld proto pop3 user [EMAIL PROTECTED] pass geheim to sb mda /usr/bin/procmail Er holt die Mails und gibt sie an procmail weiter: .procmailrc :0fw: | /usr/bin/spamc :0: * ^X-Spam-Status: Yes /var/spool/bayes/username-spam Die Mail landet auch in /var/spool/mail/sb Leider weigert sich nun mein Qpopper, wenn ich Mails abholen will: -snip- Unable to process From lines (envelopes), change recognition modes or check for corrupted mail drop -snap- Eigentlich nachvollziehbar aber wie umgehe ich die fehlende From Zeile? bzw. wie erhalte ich diese bei der Abholung mit fetchmail? Der Teil aus der /var/spool/mail/sb was ihm nicht gefällt ist: -snip- Return-Path: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-26) on sekretariat X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=no version=3.1.4 Delivered-To: [EMAIL PROTECTED] Received: from pop.anbieter.tld [12.34.56.78] by localhost with POP3 (fetchmail-6.2.5) for [EMAIL PROTECTED] (single-drop); Mon, 09 Oct 2006 15:16:03 +0200 (CEST) Received: (qmail 3089 invoked from network); 9 Oct 2006 15:15:44 +0200 Received: from unknown (HELO sekretariat) (213.239.213.208) by 0 with AES256-SHA encrypted SMTP; 9 Oct 2006 15:15:44 +0200 Received: from ip-80-226-180-44.vodafone-net.de ([80.226.180.44]:3487 helo=[192.168.0.15]) by sekretariat with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1GWuyz-0005sh-9W for [EMAIL PROTECTED]; Mon, 09 Oct 2006 15:15:49 +0200 Message-ID: [EMAIL PROTECTED] Date: Mon, 09 Oct 2006 15:15:17 +0200 From: Stefan Bauer [EMAIL PROTECTED] User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: [EMAIL PROTECTED] Subject: testmail X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit -snap- Danke im Voraus. -- * Stefan Bauer * * Bavaria / Germany / Chiemsee * * [EMAIL PROTECTED] . [EMAIL PROTECTED] * * * * Confucius Say... * * Don't eat the snow where the huskies go! * * * -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Fetchmail + Procmail + qpopper Mails holen
Hallo Stefan, Stefan Bauer, 09.10.2006 (d.m.y): Ich betreibe hie einen Debian-exim Mailserver in Kombination mit User eigenen .procmailrc Dateien. Am Ende befinden sich die Mails in /var/spool/mail/username Darauf greift qpopper zu und liefert die Mails per pop aus. Jetzt wollte ich von einem entfernten POP-Account zusätzlich mal Mails mit fetchmail holen. Funktioniert auch: Er holt die Mails und gibt sie an procmail weiter: .procmailrc :0fw: | /usr/bin/spamc exim kann auch selbst mit dem spamd reden... [..] Leider weigert sich nun mein Qpopper, wenn ich Mails abholen will: -snip- Unable to process From lines (envelopes), change recognition modes or check for corrupted mail drop -snap- Eigentlich nachvollziehbar aber wie umgehe ich die fehlende From Zeile? bzw. wie erhalte ich diese bei der Abholung mit fetchmail? Der Teil aus der /var/spool/mail/sb was ihm nicht gefällt ist: -snip- Return-Path: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-26) on sekretariat IMO fehlt da die einleitende From-Zeile, die AFAIR bei mbox-Dateien den Beginn einer neuen Mail signalisiert. Hier sieht es bspw. so aus: From [EMAIL PROTECTED] Sun Oct 1 16:00:27 2006 Return-path: [EMAIL PROTECTED] Envelope-to: [EMAIL PROTECTED] Delivery-date: Sun, 01 Oct 2006 16:00:27 +0200 Gruss/Regards, Christian Schmidt -- Meine Manieren sind nur eine Art von Nervosität, mir die Leute vom Hals zu schaffen. -- Hugo von Hoffmannsthal signature.asc Description: Digital signature
Re: Fetchmail + Procmail + qpopper Mails holen
Christian Schmidt schrieb: exim kann auch selbst mit dem spamd reden... ja aber das zieht eine menge unnötiger dinge mit sich. so läuft das schön transparent und unabhängig. IMO fehlt da die einleitende From-Zeile, die AFAIR bei mbox-Dateien den Beginn einer neuen Mail signalisiert. Hier sieht es bspw. so aus: ja, wie biege ich das hin, dass er die zeile anhängt? Ich könnte die Mail durch irgend ein Script jagen, aber gibt es da nichts out-of-the-box? -- * Stefan Bauer * * Bavaria / Germany / Chiemsee * * [EMAIL PROTECTED] . [EMAIL PROTECTED] * * * * Confucius Say... * * Don't eat the snow where the huskies go! * * * -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Fetchmail + Procmail + qpopper Mails holen
Hallo Stefan, Stefan Bauer, 09.10.2006 (d.m.y): Christian Schmidt schrieb: exim kann auch selbst mit dem spamd reden... ja aber das zieht eine menge unnötiger dinge mit sich. so läuft das schön transparent und unabhängig. IMO fehlt da die einleitende From-Zeile, die AFAIR bei mbox-Dateien den Beginn einer neuen Mail signalisiert. Hier sieht es bspw. so aus: ja, wie biege ich das hin, dass er die zeile anhängt? Die sollte eigentlich vorhanden sein; also sorgt irgendetwas bei Dir dafuer, dass das nicht der Fall ist. Ich könnte die Mail durch irgend ein Script jagen, aber gibt es da nichts out-of-the-box? $EDITOR /pfad/zur/mailbox. ;-) Gruss/Regards, Christian Schmidt -- Aus Murphy's Gesetze: Bei jedem Ereignis kommen die Zuschauer, deren Plätze am weitesten vom Durchgang entfernt sind, zuletzt. signature.asc Description: Digital signature
Re: Fetchmail + Procmail + qpopper Mails holen
* Stefan Bauer [EMAIL PROTECTED] wrote: Christian Schmidt schrieb: IMO fehlt da die einleitende From-Zeile, die AFAIR bei mbox-Dateien den Beginn einer neuen Mail signalisiert. Hier sieht es bspw. so aus: ja, wie biege ich das hin, dass er die zeile anhängt? Ich könnte die Mail durch irgend ein Script jagen, aber gibt es da nichts out-of-the-box? Schreib dir diese Zeile an den Anfang deiner .procmailrc. , | # Regenerate From lines to make sure they are valid | :0 fhw | | /usr/bin/formail -I From -a From ` Gruß Jens
Re: Fetchmail + Procmail + qpopper Mails holen
Jens Schüßler schrieb: , | # Regenerate From lines to make sure they are valid | :0 fhw | | /usr/bin/formail -I From -a From ` Herr Schüßler hat sich soeben ein Bier verdient, da dies des Rätsels Lösung war. Danke! -- * Stefan Bauer * * Bavaria / Germany / Chiemsee * * [EMAIL PROTECTED] . [EMAIL PROTECTED] * * * * Confucius Say... * * Don't eat the snow where the huskies go! * * * -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Fetchmail + Procmail + qpopper Mails holen
* Stefan Bauer [EMAIL PROTECTED] wrote: Herr Schüßler hat sich soeben ein Bier verdient, da dies des Rätsels Lösung war. Danke! Wenn ich mal am Chiemsee vorbeikomme meld ich mich ;-)
Fetchmail und maximale Anzahl an Mails pro Session?
Hallo aus Hamburg, ich hätte da mal ein Problem ... Es existiert ein ziemlich schwachbrüstiger IMAP-Server in meinem Umfeld, der eine lausige Anbindung hat, aber für mich sehr wichtig ist. Es macht von daher nicht immer Freude diesen Server anzuzapfen, da ab und an auch Mails jenseits der 1MB drinne sind. Zur Info: Es handelt sich dabei um einen DSL-Account, dessen Upload mit 128kbit mein Download ist. Nun möchte ich die Arbeit auf einen Rechner verschieben, wo ich /root bin. Das sieht momentan so aus: IMAP - fetchmail - sendmail - procmail - avmilter - spamassassin - local user - POP3 - mein Rechner Nun liegen so in ca. 1500 Nachrichten im IMAP-Account und wenn ich fetchmail manuell starte (später dann via cron), so zieht er sich ein paar Mails und spätestens so nach 40 Nachrichten ist die Last auf dem Rechner so hoch (20+), daß sendmail nix mehr akzeptieren mag. Bis sendmail sich dann beruhigt hat, vergehen dann so ca. 10 Minuten. Ich habe die sendmail.mc bereits ein wenig angepasst, so daß sendmail erst bei einer Last 30+ aussteigt (sprich keine Mails mehr annimmt). Im IMAP-Account habe ich alle Nachrichten auf gelesen gesetzt und markiere nun für jeden manuellen Durchlauf von fetchmail 40 Nachrichten auf ungelesen. Die Verarbeitung von 40 Mails dauert aber trotzdem jeweils 15 Minuten, da ich immer warten muß, bis die Rechnerlast sich wieder bei 0.5 normalisiert hat. Gibt es eigentlich eine Lösung dafür, daß fetchmail jeweils immer nur 10 ungelesene Nachrichten zieht? Entweder bin ich blind oder ich habe in der Manpage nix gefunden. Wenn das ginge, dann könnte ich sendmail wieder per sendmail.mc auf normales Maß zurücksetzen (Ablehnung von Mails ab Last 15+), damit die anderen Dienste des Servers nicht aussteiegen. Wenn dadurch der Komplettimport des IMAP-Accounts auch mehrere Tage dauern würde, wäre mir das echt wurscht. Freundliche Grüße / kind regards Martin Mewes Microsoft Certified Systems Engineer - Messaging (MCSE +M 2003) -- http://www.mamemu.de/ - mamemu - edv-dienstleistungen
Re: Fetchmail und maximale Anzahl an Mails pro Session?
Martin Mewes [EMAIL PROTECTED] writes: Nun liegen so in ca. 1500 Nachrichten im IMAP-Account und wenn ich fetchmail manuell starte (später dann via cron), so zieht er sich ein paar Mails und spätestens so nach 40 Nachrichten ist die Last auf dem Rechner so hoch (20+), daß sendmail nix mehr akzeptieren mag. Bis sendmail sich dann beruhigt hat, vergehen dann so ca. 10 Minuten. define(`confMAX_DAEMON_CHILDREN', `4')dnl Gibt es eigentlich eine Lösung dafür, daß fetchmail jeweils immer nur 10 ungelesene Nachrichten zieht? Falsche Baustelle. Nach dem Urlaub hat bei mir fetchmail auch ein paar tausend E-Mails gezogen. Allerdings darf mein Postfix nur eine Handvoll Prozesse starten, so dass all die Mails in der Queue gelandet sind und schön der Reihe nach abgearbeitet wurden. -- Grüße, | http://www.korber.org +++ mailto:[EMAIL PROTECTED] Thomas |Linux User Group Ingolstadt: http://www.lug-in.de PGP-ID: 0x4603A0E3 | A4B3 BA2A DDC8 B771 8084 CD4D BE14 5C3E 4603 A0E3
Re: Fetchmail und maximale Anzahl an Mails pro Session?
Martin Mewes wrote: Gibt es eigentlich eine Lösung dafür, daß fetchmail jeweils immer nur 10 ungelesene Nachrichten zieht? Entweder bin ich blind oder ich habe in der Manpage nix gefunden. Wenn das ginge, dann könnte ich sendmail wieder per sendmail.mc auf normales Maß zurücksetzen (Ablehnung von Mails ab Last 15+), damit die anderen Dienste des Servers nicht aussteiegen. man fetchmail: /fetchlimit HTH und Gruß, Michel -- -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Fetchmail und maximale Anzahl an Mails pro Session?
Hallo, Michelino Caroselli [EMAIL PROTECTED] wrote: man fetchmail: /fetchlimit -B number | --fetchlimit number (Keyword: fetchlimit) Limit the number of messages accepted from a given server in a single poll. By default there is no limit. An explicit --fetchlimit of 0 overrides any limits set in your run control file. This option does not work with ETRN or ODMR. _Das_ ist es ... test test ... das klappt ganz vorzüglich :-) Info: This is fetchmail release 6.3.4+NTLM+SDPS+SSL+NLS Debian GNU/Linux - Etch Danke dafür :-D Freundliche Grüße / kind regards Martin Mewes Microsoft Certified Systems Engineer - Messaging (MCSE +M 2003) -- http://www.mamemu.de/ - mamemu - edv-dienstleistungen
Testing - fetchmail heads up
Hi, all:Maybe it's just me, but after an upgrade this weekend, fetchmail stopped working, and when I tried to start it, I kept getting the message Edit /etc/default/fetchmail to start fetchmail. No editing in there helped, and running dpkg-reconfigure on fetchmail repeated the message twice! It turns out that /etc/init.d/fetchmail, after loading /etc/default/fetchmail, tests for START_DAEMON=yes. But there is no line in there defining START_DAEMON. There _is_, however, a line defining SERVICE true. So I edited /etc/init.d/fetchmail to test for SERVICE=true instead, and now fetchmail works again. I suspect I did something during an earlier upgrade which broke it, but maybe not.Patrick
Re: problema maildrop + fetchmail
On Mon, Sep 11, 2006 at 09:11:07AM -0300, Ricardo Frydman Eureka! wrote: El sáb, 09 de sep de 2006, a las 07:26:50 +0200, Christian Pinedo zamalloa dijo: EMHO, se soluciona dejando de usarlo: alguna razon para hacerlo? Porque así consigo organizar los emails de las diferentes listas de correo en buzones. Además, al enviar de fetchmail directamente los emails al MDA me evito tener un servidor SMTP en el portatil. En primer lugar, recuerda siempre contestar a la lista. No entendiste mi pregunta. Yo hago exactamente lo mismo que tu, pero no uso maildrop. Revisa la conf que te envie y no olvides revisar la documentacion de fetchmail. Mil disculpas por enviarte el email en lugar de a la lista de correo, recientemente he cambiado de MUA y todavía no me he acostumbrado a su interfaz... En cuanto el problema con maildrop he solucionado temporalmente haciendo uso intensivo de la página de manual y he reportado el bug al mantenedor de maildrop que lo ha aceptado. Un saludo y gracias, -- Christian Pinedo Zamalloa -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: problema maildrop + fetchmail
El sáb, 09 de sep de 2006, a las 07:26:50 +0200, Christian Pinedo zamalloa dijo: EMHO, se soluciona dejando de usarlo: alguna razon para hacerlo? Porque así consigo organizar los emails de las diferentes listas de correo en buzones. Además, al enviar de fetchmail directamente los emails al MDA me evito tener un servidor SMTP en el portatil. En primer lugar, recuerda siempre contestar a la lista. No entendiste mi pregunta. Yo hago exactamente lo mismo que tu, pero no uso maildrop. Revisa la conf que te envie y no olvides revisar la documentacion de fetchmail. -- Christian PInedo Zamalloa -- Ricardo A.Frydman Consultor en Tecnología Open Source - Administrador de Sistemas jabber: [EMAIL PROTECTED] - http://www.eureka-linux.com.ar SIP # 1-747-667-9534 signature.asc Description: Digital signature
problema maildrop + fetchmail
hola, tengo configurado mi fetchmail para que descargue los correos de mi cuenta de gmail y los entregue directamente a mi MDA, maildrop, en lugar de tener un servidor de correo escuchando en el puerto 25. # cat .fetchmailrc poll pop.gmail.com port 995 protocol pop3 username password * mda /usr/bin/maildrop -d zako ssl El problema es que hoy se ha actualizado el paquete maildrop en testing con nuevas dependencias entre ellas courier-authlib y ahora al descargar los emails con fetchmail obtengo un error: # fetchmail ERR: authdaemon: s_connect() failed: No such file or directory /usr/bin/maildrop: Temporary authentication failure. fetchmail: error socket recibiendo de [EMAIL PROTECTED] Alguien me puede comentar que puedo mirar. Se me hace muy raro tener que instalar el demonio de autenticación de courier para utilizar sólo maildrop... Saludos, -- Christian Pinedo Zamalloa -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: problema maildrop + fetchmail
El sáb, 09 de sep de 2006, a las 04:42:27 +0200, Christian Pinedo Zamalloa dijo: hola, tengo configurado mi fetchmail para que descargue los correos de mi cuenta de gmail y los entregue directamente a mi MDA, maildrop, en lugar de tener un servidor de correo escuchando en el puerto 25. # cat .fetchmailrc poll pop.gmail.com port 995 protocol pop3 username password * mda /usr/bin/maildrop -d zako ssl yo lo hago asi: poll pop.gmail.com with proto POP3 user '[EMAIL PROTECTED]' there with password quetimporta is ricardo here options keep ssl sslfingerprint '59:xx:61:89:CD:xx:B2:35:94:xx:44:97:A0:39:xx:B4' sslcertck sslcertpath /usr/share/ssl/certs El problema es que hoy se ha actualizado el paquete maildrop en testing con nuevas dependencias entre ellas courier-authlib y ahora al descargar los emails con fetchmail obtengo un error: # fetchmail ERR: authdaemon: s_connect() failed: No such file or directory /usr/bin/maildrop: Temporary authentication failure. fetchmail: error socket recibiendo de [EMAIL PROTECTED] Alguien me puede comentar que puedo mirar. Se me hace muy raro tener que instalar el demonio de autenticación de courier para utilizar sólo maildrop... Saludos, EMHO, se soluciona dejando de usarlo: alguna razon para hacerlo? -- Christian Pinedo Zamalloa -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Ricardo A.Frydman Consultor en Tecnología Open Source - Administrador de Sistemas jabber: [EMAIL PROTECTED] - http://www.eureka-linux.com.ar SIP # 1-747-667-9534 signature.asc Description: Digital signature
Fetchmail UIDL-cache
Bonjour à tous, Le démon fetchmail utilise : /var/lib/fetchmail/.fetchmail-UIDL-cache Pour garder les id des courriels déjà téléchargé. Si en temps qu'utilisateur, je lance fetchmail en ligne de commande pour avoir un mail tout de suite, fetchmail utilise : $HOME/.fetchids Et recommence le téléchargement de tous les courriels qui ne s'y trouvent pas. Je ne peux pas configurer mon $HOME/.fetchmailrc avec l'option : set idfile /var/lib/fetchmail/.fetchmail-UIDL-cache Car le démon remet les droits à « -rw--- fetchmail nogroup » sur « /var/lib/fetchmail/.fetchmail-UIDL-cache » à chaque démarrage. Comment faire pour pouvoir lancer fetchmail en ligne de commande et ne télécharger que les nouveaux courriels? Merci d'avance Benoît.
fetchmail config question
Hi, I want to grab emails for a whole domain (fred.com) from a mailbox - either POP3 or IMAP, either will do - and forward to Postfix on the local domain (insidefirewall.blah) and have the emails distributed to the appropriate local accounts. Postfix is set-up with mostly with virtual accounts - and a few local /Maildir accounts, as you'd expect. I've had a look at getmail and fetchmail, but can't understand the required config to make this work. I've no problem connecting to the mail server with, say: poll mail.fred.com with protocol pop3 user [EMAIL PROTECTED] there with password pa55werd but this, of course, dumps everything into one local email account. I also tried the likes of: poll mail.fred.com with protocol pop3 no envelope localdomains insidefirewall.blah user [EMAIL PROTECTED] there with password pa55werd to * here smtphost localhost but this retains the original domain on emails, so sets up an email loop when Postfix re-relays the emails. I understand that I can do what I want one account at a time, but that simply increases the admin required in the setup by a couple of orders of magnitude. This is not an option. The fetchmail docs are close to impenetrable, which doesn't help. The getmail docs are much, much better, but, as I read them, getmail doesn't write to SMTP:25, only directly to Maildir or mbox. Is there a sane way to do this? -- Best, Marc -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: fetchmail config question
On Saturday 02 September 2006 19:25, marc wrote: Hi, I want to grab emails for a whole domain (fred.com) from a mailbox - either POP3 or IMAP, either will do - and forward to Postfix on the local domain (insidefirewall.blah) and have the emails distributed to the appropriate local accounts. Postfix is set-up with mostly with virtual accounts - and a few local /Maildir accounts, as you'd expect. I've had a look at getmail and fetchmail, but can't understand the required config to make this work. I've no problem connecting to the mail server with, say: poll mail.fred.com with protocol pop3 user [EMAIL PROTECTED] there with password pa55werd but this, of course, dumps everything into one local email account. I also tried the likes of: poll mail.fred.com with protocol pop3 no envelope localdomains insidefirewall.blah user [EMAIL PROTECTED] there with password pa55werd to * here smtphost localhost but this retains the original domain on emails, so sets up an email loop when Postfix re-relays the emails. I understand that I can do what I want one account at a time, but that simply increases the admin required in the setup by a couple of orders of magnitude. This is not an option. The fetchmail docs are close to impenetrable, which doesn't help. The getmail docs are much, much better, but, as I read them, getmail doesn't write to SMTP:25, only directly to Maildir or mbox. Is there a sane way to do this? I am not sure its fetchmail that is your problem. Here is my fetchmailrc (with the password removed). The first account is a catchall and will have mails addressed to anyone in my system - the * is the key here, the other four are specific accounts which I pass on to. Exim is the system that picks up the accounts from there So here is fetchmailrc # $Id: fetchmailrc,v 1.1 2002/11/11 19:16:22 alan Exp $ # Created by AKC 14th July 2000 set daemon 1800 set syslog # poll imap.blueyonder.co.uk no dns proto IMAP tracepolls aka blueyonder.co.uk localdomains chandlerfamily.org.uk libdebate.org user ac003a3222 password x forcecr is * fetchall expunge 8 smtpaddress chandlerfamily.org.uk user ac003a3222_2 password x forcecr is sarah fetchall smtpaddress chandlerfamily.org.uk user ac003a3222_3 password x forcecr is emily fetchall smtpaddress chandlerfamily.org.uk user ac003a3222_4 password x forcecr is carrie fetchall smtpaddress chandlerfamily.org.uk user ac003a3222_5 password x forcecr is alan fetchall smtpaddress chandlerfamily.org.uk Hope you can use it as an example for you -- Alan Chandler http://www.chandlerfamily.org.uk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: [OT] fetchmail-Problema tik - fürchte ich
Am 2006-07-24 14:49:24, schrieb Christoph Haas: Das häppchenweise Abholen ist eigentlich nicht der Standard. Das wäre der Parameter -b (batchlimit), mit dem du das künstlich runterschrauben kannst. Default ist aber, alle Mails abzuholen. Nein, fetchlimit n. Ich bin auch teilweise wochen nicht zuhause und ich habe fetchlimit auf 2000 gesetzt sonst währe er bei meinen 58.000 Messages (plus 180.000 Spams) meiner DEBIAN Mailbox ein paar Tage hängen geblieben Da ich 137 Mailboxen serial fetche, bekomme ich bei jedem Durchlauf eben nur maximal 2000 messages aus der entsprechenden Mailbox. Greetings Michelle Konzack Systemadministrator Tamay Dogan Network Debian GNU/Linux Consultant -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ # Debian GNU/Linux Consultant # Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSM LinuxMichi 0033/6/6192519367100 Strasbourg/France IRC #Debian (irc.icq.com) -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: [OT] fetchmail-Problema tik - fürchte ich
Am 2006-07-24 15:28:27, schrieb Matthias Haegele: a) von mehreren Stellen darauf zugreifen will und b) vor allem wenn man mit einer schwachbrüstigen Internetanbindung (ISDN/analog) ) daherkommt. aa) Wenn man verhinden will, das bei einem linedrop noch mal die ganze mailbox runtergeladen wird und man tausende doppelte mails vermeiden will Kommt halt drauf an ob der OP dies überhaupt beeinflussen kann sprich: ist IMAP überhaupt verfügbar ... Die meisten Webmailer bitten es afaik nur gegen Aufpreis (oder gar nicht) an. An welche Provider denkste dabei? Freenet hat ALLES inclusive. selbst bei der KOSTENLOSEN 20MB Mailbox imaps/imap, pop3s/pop3, asmtp, TLS1, SSL, ... Greetings Michelle Konzack Systemadministrator Tamay Dogan Network Debian GNU/Linux Consultant -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ # Debian GNU/Linux Consultant # Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSM LinuxMichi 0033/6/6192519367100 Strasbourg/France IRC #Debian (irc.icq.com) -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: fetchmail löscht keine Mails?!
Til Schubbe [EMAIL PROTECTED] schrieb: Als workaround hab ich mich mit telnet eingeloggt und die Mail von Hand gelöscht. Funktioniert denn fetchmail --flush nicht? -- MFG, Johannes. http://home.arcor.de/jstarosta -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
fetchmail löscht keine Mails?!
Hallo! Ich benutze schon ewig fetchmail (auf Sarge), allerdings hatte ich heute zum ersten Mal das Problem, dass eine große Mail (ca. 3 MB) auf dem Server meines Providers (11) _nicht_ gelöscht wurde, obwohl sie komplett abgeholt wurde. Dies führte dazu, dass die Mail immer und immer wieder geholt und zugestellt wurde, jedoch nie gelöscht?!?! Woran kann das liegen? Hier ein Ausschnitt aus fetchmail -vvv: ***.**.*.***fetchmail: SMTP. (EOM) fetchmail: Protokollfehler im SMTP-Lauscher nicht geflusht Viel mehr konnte ich bisher nicht finden. Jemand eine Idee? Danke!! Tom -- Zwei Dinge sind unendlich, das Universum und die menschliche Dummheit aber beim Universum bin ich mir noch nicht ganz sicher. -- Albert Einstein -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: fetchmail lösch t keine Mails?!
On 20.08.06 22:46:36, Thorsten Steinbrenner wrote: Ich benutze schon ewig fetchmail (auf Sarge), allerdings hatte ich heute zum ersten Mal das Problem, dass eine große Mail (ca. 3 MB) auf dem Server meines Providers (11) _nicht_ gelöscht wurde, obwohl sie komplett abgeholt wurde. Dies führte dazu, dass die Mail immer und immer wieder geholt und zugestellt wurde, jedoch nie gelöscht?!?! Woran kann das liegen? Hier ein Ausschnitt aus fetchmail -vvv: ***.**.*.***fetchmail: SMTP. (EOM) fetchmail: Protokollfehler im SMTP-Lauscher nicht geflusht Viel mehr konnte ich bisher nicht finden. Jemand eine Idee? Danke!! Kann es sein dass dein lokaler MTA keine so grossen Mails annimmt? Oder das sein spool-Verzeichnis vllt. voll ist? Jedenfalls bricht die Verbindung mit dem MTA (aka SMTP-Lauscher, wer hat diese bescheuerte Uebersetzung geschrieben?) zusammen, bevor fetchmail die Mail komplett abliefern konnte. Andreas -- Go to a movie tonight. Darkness becomes you. -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)