Author Topic: fetchmail in a multidrop environment  (Read 772 times)

segelfreak

  • Zen Monk
  • **
  • Posts: 80
  • Karma: +9/-0
    • View Profile
fetchmail in a multidrop environment
« on: March 02, 2016, 11:23:31 pm »
Hello,

due to some restrictive domain setting, all mail for a domain ist sent to only one single mailbox (catch all).

I would now like to retrieve the email and forward them to each dedicated user on the server.
The problem is that the emails do not have any x-envelope header, so this make things even worse as it would drop all email sent to more than one recipient in the domain.

Now I saw this example in the manual from fetch mail:

poll pop.provider.net:
     user maildrop with pass secret1 to golux ’hurkle’=’happy’ snark here

This means, within one poll, I could catch all email and still send them to dedicated recipients.

Looking at the fetch mail.rc.mas file, I see that it's basically using a foreach instruction. so I thought of using this to make one poll with the "to" instruction and then it should add all local accounts, so it can parse each email in the mailbox.

Would this be possible and if yes, how would the .mas file would look like?

Or am I missing something?

Zentyal 6.1

segelfreak

  • Zen Monk
  • **
  • Posts: 80
  • Karma: +9/-0
    • View Profile
Re: fetchmail in a multidrop environment
« Reply #1 on: March 12, 2016, 05:51:28 pm »
bounce
Zentyal 6.1