Koozali.org: home of the SME Server

Multipop rather then Multidrop

Adam Rykala

Multipop rather then Multidrop
« on: September 27, 2001, 06:25:29 PM »
I'm looking to implement multipop in e-smith 5 - using fetchmail to drop multiple POP3 acct emails into two users mailboxes...

Does anyone know of a contrib rpm that works with V5 or is it better I hack it together myself by editing /etc/fetchmail?

Adam

Robert Heaton

Re: Multipop rather then Multidrop
« Reply #1 on: September 27, 2001, 06:50:52 PM »
If you get multipop working by editing /etc/fetchmail or by RPM please let me know, I could do with that feature to!

Kind Regards,
Rob.

Adam Rykala

Re: Multipop rather then Multidrop
« Reply #2 on: September 27, 2001, 06:56:28 PM »
Im going to have a look tonight at /etc/fetchmail and /etc/crontab. If I get any success I'll post it here but I would prefer an e-smith rpm that works because

1) It'll tie into the theme

2) I haven't got to worry about the config software overwriting changes....

I've already had to write a few scripts to correct a ppp bug I've found that writes an incorrect modem script.....

Adam

Adam Rykala

Re: Multipop rather then Multidrop
« Reply #3 on: September 27, 2001, 07:03:48 PM »
well /etc/fetchmailrc has a syntax like


   default proto pop3
   poll pop.server.tld
      user "abc123" there with pass "password" is "jon" here
with "jon" being the login on your system.

Run "fetchmail" to let fetchmail retrieve the mails. Or you can run
"fetchmail -d 600" to have fetchmail retrieve your mails every 10 minutes.

Apparently there is a bug in /etc/services in v5 that lists pop3 as pop-3 so you may need to add port 110 to the lines

I don't know how savvy you are in fetchmail but the file is simple. I'll let you know

Adam

Scott Smith

Re: Multipop rather then Multidrop
« Reply #4 on: September 27, 2001, 08:02:29 PM »
Search the contrib RPMs. There was a multipop contrib for fetchmail posted a while back. Probably not updated for 5.0 yet, but you could either update or use as a starting point.

Scott

Adam Rykala

Re: Multipop rather then Multidrop
« Reply #5 on: September 27, 2001, 11:12:18 PM »
Multipop in the Contrib RPM's here works LIKE A CHARM on 5.0!

Adam Rykala

Re: one warning
« Reply #6 on: September 27, 2001, 11:20:48 PM »
edit /etc/e-smith/templates/etc/services/template-begin

edit the line for pop-3 to pop3

do the same to /etc/services!

Adam Rykala

Re: one warning
« Reply #7 on: September 27, 2001, 11:42:04 PM »
oh

and xinetd.conf too

Adam Rykala

finally.............
« Reply #8 on: September 28, 2001, 12:53:38 AM »
edit /etc/startmail and its template in /etc/e-smith/template/etc/startmail/S20body

change the bit

' su qmailr -s /bin/bash -c /etc/fetchmail'

to just

/etc/fetchmail

Rich Lafferty

Re: finally.............
« Reply #9 on: September 29, 2001, 12:37:40 AM »
This problem and other critical mail issues have been discovered and fixed in SMEServer-5.0_Update2, which Mitel strongly recommends all users of SME Server 5.0 apply immediately.

Details are available at

  http://www.e-smith.org/release/5.0/status/

--Rich