Koozali.org: home of the SME Server

POPping multiple accounts to different users

Offline mhr

  • **
  • 24
  • +0/-0
POPping multiple accounts to different users
« on: October 22, 2007, 01:04:10 AM »
After having used SME6 for many years I thought it was time to take the step and install 7.2. As I had quite a few non standard extensions I decided to install from scratch, to get rid of that legacy stuff.

Everything went fine so far except for distributing mails fetched from different pop3 accounts to two different local users. In SME6.5 I had added a few of the following lines to /etc/fetchmail:

poll my.host.net
    protocol POP3
    no dns
    timeout 30
    localdomains mydomain.com
       username "user1" password "pw1" to localuser1
           ssl
           smtphost localhost
           fetchall
           forcecr

...with changing users/passwords, and instead of localhost to use 172.0.0.200. This has worked without any problem. But it doesn't any more with 7.2:

- first, mails not directly addressed to the user just disappeared (eg. mailing lists, or from accounts which didn't match the local domain). I then found out that they were bounced ("relaying not allowed") and delivered to a non existing admin account.

- after I changed the admin messages to be sent to user1, he got all his mail.

- user2 still doesn't get his mails, as these are all sent to user1

What am I doing wrong? What would the recommended procedure be to achieve this? Is the existing solution expected to no longer work?

Kind regards,

Michael
...

Offline p-jones

  • *
  • 594
  • +0/-0
Re: POPping multiple accounts to different users
« Reply #1 on: October 22, 2007, 05:29:49 AM »
Use the fetchmail contrib. Can be found in the Wiki
...

Offline mhr

  • **
  • 24
  • +0/-0
Re: POPping multiple accounts to different users
« Reply #2 on: October 25, 2007, 09:54:13 AM »
Thanks for the reply - and sorry for the delay. I finally restarted the installation from scratch, updating to a larger disk. That contrib indeed seems to solve my issue. Thanks for the pointer!

Michael
...