Re: [SLE] duplicate e-mails
![](https://seccdn.libravatar.org/avatar/98e1a329ca6e6ee4480bee3c2ef7eb4f.jpg?s=120&d=mm&r=g)
Thank you for all the replies. I'll reply to all of them together, to make it a little easier: On SuSE 8.2 Pro I use fetchmail to pick up the mail from the POP3 servers. The line in .fetchmailrc looks like this: poll "pop.ananzi.co.za" protocol POP3 : user "user" there with password "password" is "hans" here ; Then Sendmail (I assume) puts in my /var/mail/hans directory, and I have a feeling this is where things screw up. I didn't do anything to sendmail, just selected it when I installed, and let it go about it's business. I might try postfix to see if it changes it. So far I run fetchmail from commandline by simply invoking "fetchmail" so that I can see when it's finished and I can hang up. Then I fire up Evolution to grab the mails from my /var/mail/hans directory. I have used both the mail command and gkrellm to see how many mails are in the my local mailbox. Fetchmail's output shows there is say 7 mails, downloads and flushes them, and then a few moments later gkrellm would show me theres 10 mails. Sure enough, a few of them would be duplicated. The idea is to get spamassassin running eventually, but I would first like to get the mail fetching and local delivery smoothed out. Fwiw, I don't leave any mails on the server or in my local box. Just download them and delete immediately. Thanks Hans
![](https://seccdn.libravatar.org/avatar/aa4bffe8bf2851056af6b781bb89e61f.jpg?s=120&d=mm&r=g)
On Sun, Jun 22, 2003 at 07:07:31PM +0200 or thereabouts, H du Plooy wrote: <snip>
The idea is to get spamassassin running eventually, but I would first like to get the mail fetching and local delivery smoothed out.
<snip> You might want to try getmail as a replacement for fetchmail. You will not have duplicate email problems, or potential security issues, as in the past with fetchmail.. It can be found here: http://www.qcc.ca/~charlesc/software/getmail-3.0/ -- Gary
![](https://seccdn.libravatar.org/avatar/98e1a329ca6e6ee4480bee3c2ef7eb4f.jpg?s=120&d=mm&r=g)
Ok, problem was my own stupidity. I set up fetchmail with Yast, then used the /etc/fetchmailrc file as a guide to write my own .fetchmailrc. It seems fetchmail was already running in the background checking sporadically, while I invoked it as user by hand, so when the two checked at the same time, one found mails that the other hasn't deleted yet. I thought once that it told me there were so many e-mails and I ended up getting a lot more, but I thought it was my imagination. Now it makes sense. Thanks for your patience Hans
![](https://seccdn.libravatar.org/avatar/861b5545c111d2257fa12e533e723110.jpg?s=120&d=mm&r=g)
The 03.06.22 at 22:09, H du Plooy wrote:
Ok, problem was my own stupidity. I set up fetchmail with Yast, then used the /etc/fetchmailrc file as a guide to write my own .fetchmailrc. It seems fetchmail was already running in the background checking sporadically, while I invoked it as user by hand, so when the two checked at the same time, one found mails that the other hasn't deleted yet.
Ah! I forgot about that one. It is the script "/etc/ppp/poll.tcpip" that does it. Teoretically, if you set "RUN_POLL_TCPIP='no'" in "/etc/sysconfig/network/ifcfg-ppp0" it will not run, but it doesn't work (suse 8.1). It keeps running, and appears to provoke an error in "/sbin/conf.d/SuSEconfig.hostname". I had to edit "/etc/ppp/poll.tcpip" and insert an "exit" :-( I use my own "/etc/ppp/ip-up.local", which is more optimised than suse's poll.tcpip, IMHO.
I thought once that it told me there were so many e-mails and I ended up getting a lot more, but I thought it was my imagination. Now it makes sense.
No, it doesn't: because it means that your server, "pop.ananzi.co.za", is accepting two simultaneous connections! It must be broken. Check the mail log file (debug info, perhaps) and try to find out the type of server it is, I'm curious. -- Cheers, Carlos Robinson
participants (3)
-
Carlos E. R.
-
gary
-
H du Plooy