Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: MSmith on September 04, 2008, 05:12:19 AM

Title: SME to use fetchmail to copy contents of POP3 mailbox BUT not empty it ...
Post by: MSmith on September 04, 2008, 05:12:19 AM
Is there any way to set the SME Server's fetchmail to just take a copy of what's in the online "catchall" mailbox?

Situation:  small office uses one general email address.  Currently there's one authoritative "email station" that downloads everything but does not empty the POP3 mailbox at the ISP.  Many other stations also check the same email address occasionally, meaning the same emails are downloaded repeatedly (many with large attachments). 

I'd like to put an SME Server in to download these emails, then use IMAP so that all workstations can work off the same email "live."  However, I don't want to empty the online POP3 mailbox just in case this doesn't work out as I hope. 

Title: Re: SME to use fetchmail to copy contents of POP3 mailbox BUT not empty it ...
Post by: zatnikatel on September 04, 2008, 02:51:27 PM
when you setup fetchmail use imap instread of pop3
Title: Re: SME to use fetchmail to copy contents of POP3 mailbox BUT not empty it ...
Post by: CharlieBrady on September 04, 2008, 04:10:13 PM
when you setup fetchmail use imap instread of pop3

That won't prevent fetchmail from deleting messages. What MSmith wants, I think, is to add a --keep to the fetchmail command invocation on the SME server. What he will find, however, is that there will then be a message buildup on the upstream server, and he (I think he) will also see duplicate delivery of messages on the SME server. IMO he should instead trust that SME server won't lose the email. But his choice.
Title: Re: SME to use fetchmail to copy contents of POP3 mailbox BUT not empty it ...
Post by: MSmith on September 05, 2008, 05:21:37 AM
Not a question of trusting that SME won't lose the emails ... and I suppose that it wouldn't matter much if the online mailbox were emptied, as long as I can put everything back the way it was.  The "upstream" copies would no longer exist but that wouldn't matter as long as the relevant workstations had their copies.  So I take it that SME can't be configured to do this out of the box, and there's not a contrib or a "config setprop" that can make it work this way.  Correct, devs?  And thanks for your kind attention.  (And, BTW, I am a "he.")
Title: Re: SME to use fetchmail to copy contents of POP3 mailbox BUT not empty it ...
Post by: Stefano on September 05, 2008, 10:32:38 AM
hi

install smeserver-fetchmail via:
Code: [Select]
yum --enablerepo=smecontribs smeserver-fetchmail

all options are there..

HTH
Ciao
Stefano
Title: Re: SME to use fetchmail to copy contents of POP3 mailbox BUT not empty it ...
Post by: zatnikatel on September 05, 2008, 10:14:22 PM
poll pop.mail.yahoo.com.au
   proto pop3
   user "user"
   pass "user1"
   is whoever there
   keep      add this
   smtphost localhost