Koozali.org: home of the SME Server

Combining smeserver-fetchmail & dungog-mailblocking

egerards

Combining smeserver-fetchmail & dungog-mailblocking
« on: February 24, 2005, 11:21:11 AM »
This week I experienced that the contribs smeserver-fetchmail (retrieve mail from pop3 accounts) and dungog-mailblocking (restrict mails to a user to certain domains) do not work together. If installed both , mails fetched from a pop3 account are rejected. As I was very eager to use both the contribs I did some debugging and testing.

I found out that a mail fetched by fetchmail is offered to the local smtp server and addressed to accountname@mail.yourdomain.com . The mail rules created by dungog-mailblocking do not permit mail addressed to accountname@mail.yourdomain.com, but do permit mails addressed to accountname@yourdomain.com i.e. without 'mail.' prefixed to the domain.

The solution for this is very simple: just create for each account that has fetchmail enabled an accept rule on the 'E-mail blocking' page. Accept from *@* to accountname@mail.domain.com and you're done!

All rpm's involved:

dungog-mailblocking-1.0-4.noarch.rpm
perl-CGI-FormMagick-0.89-08.noarch.rpm
smeserver-fetchmail-1.3.4-02.noarch.rpm

schirrms

Combining smeserver-fetchmail & dungog-mailblocking
« Reply #1 on: May 16, 2005, 10:20:55 PM »
Hi,

Nice tip :-)

Just for information :

We release a minor update to smeserver-fetchmail :
one of the change should permit (not fully tested yet) to work together with dundog-mailblocking.
the new version of smeserver-fetchmail is
smeserver-fetchmail-1.3.4-04

Thanks,
Pascal

Offline nate

  • ***
  • 55
  • +0/-0
    • http://www.solardepot.com
Combining smeserver-fetchmail & dungog-mailblocking
« Reply #2 on: February 15, 2006, 08:13:44 PM »
Quote
schirrms     


We release a minor update to smeserver-fetchmail :
one of the change should permit (not fully tested yet) to work together with dundog-mailblocking.
the new version of smeserver-fetchmail is
smeserver-fetchmail-1.3.4-04

 

So if I # rpm -Uvh smeserver-fetchmail-1.3.4-04.noarch.rpm

and

# rpm -ivh dungog-mailblocking-1.0-4.noarch.rpm
 
Both fetchmail and mailblocking will work and I'm happy without any other action???
....Making the Jump to 7.x   8-)

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Combining smeserver-fetchmail & dungog-mailblocking
« Reply #3 on: March 11, 2006, 12:03:39 AM »
Quote from: "egerards"
This week I experienced that the contribs smeserver-fetchmail (retrieve mail from pop3 accounts) and dungog-mailblocking (restrict mails to a user to certain domains) do not work together.


Please open a bug in the Contribs section of the Bug Tracker.