Hello All,
I have recently setup a new email server running postfix, dovecot, etc... One of the issues I have is stopping my clients from sending a rediculous amount of mail as they tend to use my server from sending there spam. I was hoping to use a policy daemon to stop users from sending more than 100 emails per day and adjust the limit depending on the user/client. Unforunately I cannot find a policy daemon for postfix that runs properly on my distro.
Does anyone have any ideas ? Is there an up to date policy daemon out there for postfix or an alternative solution to restrict my users.
Michael Sierks
What distro & what version of it?
What version of postfix?
Why doesn’t policyd “run properly”? Do you get any error messages?
There’s really only one mainstream solution, and that’s to use policyd ( http://www.policyd.org www.policyd.org). There are other, less well-supported policy daemons… see http://www.postfix.org/addon.html#policy http://www.postfix.org/addon.html#policy for a list.
-Adam Thompson
athompso@athompso.net
From: roundtable-bounces@muug.mb.ca [mailto:roundtable-bounces@muug.mb.ca] On Behalf Of Michael SIerks Sent: Tuesday, December 11, 2012 2:12 PM To: Continuation of Round Table discussion Subject: [RndTbl] Postfix Policy Daemon
Hello All,
I have recently setup a new email server running postfix, dovecot, etc... One of the issues I have is stopping my clients from sending a rediculous amount of mail as they tend to use my server from sending there spam. I was hoping to use a policy daemon to stop users from sending more than 100 emails per day and adjust the limit depending on the user/client. Unforunately I cannot find a policy daemon for postfix that runs properly on my distro.
Does anyone have any ideas ? Is there an up to date policy daemon out there for postfix or an alternative solution to restrict my users.
Michael Sierks
I am running.
Arch Linux Postfix 2.9.4 Postfwd 1.3.2
Unfortunately Postfwd was the policy daemon that was not working. I kept getting annoying array/list errors that I had to manually fix. It seems the syntax for arrays in perl changed with the version I am running which is 5.16.2.
Anyways, as I could not find a package for Policyd v2 so I am in the process of creating one. And will drop postfwd in favor of policyd.
Weird how there is no official package for policyd on arch though.
Michael Sierks
On 12/11/12 14:36, Adam Thompson wrote:
What distro & what version of it?
What version of postfix?
Why doesn't policyd "run properly"? Do you get any error messages?
There's really only one mainstream solution, and that's to use policyd (www.policyd.org http://www.policyd.org). There are other, less well-supported policy daemons... see http://www.postfix.org/addon.html#policyfor a list.
-Adam Thompson
athompso@athompso.net
*From:*roundtable-bounces@muug.mb.ca [mailto:roundtable-bounces@muug.mb.ca] *On Behalf Of *Michael SIerks *Sent:* Tuesday, December 11, 2012 2:12 PM *To:* Continuation of Round Table discussion *Subject:* [RndTbl] Postfix Policy Daemon
Hello All,
I have recently setup a new email server running postfix, dovecot, etc... One of the issues I have is stopping my clients from sending a rediculous amount of mail as they tend to use my server from sending there spam. I was hoping to use a policy daemon to stop users from sending more than 100 emails per day and adjust the limit depending on the user/client. Unforunately I cannot find a policy daemon for postfix that runs properly on my distro.
Does anyone have any ideas ? Is there an up to date policy daemon out there for postfix or an alternative solution to restrict my users.
Michael Sierks
Roundtable mailing list Roundtable@muug.mb.ca http://www.muug.mb.ca/mailman/listinfo/roundtable
Why should there be an official package? I don’t know of a single person or site running policyd right now, it’s obviously not a common use case. Official packages (for any distro, not just Arch) depend on either the package being VERY popular, or someone on the dev team willing to put in the time and effort to keep the package up to date.
FWIW, it doesn’t look like there are any official packages for policyd (from policyd.org) for any distro. It’s somewhat confusing, as there are at least four projects all producing software called “policyd”… and they’re all policy daemons for postfix, but they do vastly different things.
-Adam
From: roundtable-bounces@muug.mb.ca [mailto:roundtable-bounces@muug.mb.ca] On Behalf Of Michael SIerks Sent: Wednesday, December 12, 2012 3:59 PM To: Continuation of Round Table discussion Subject: Re: [RndTbl] Postfix Policy Daemon
I am running.
Arch Linux Postfix 2.9.4 Postfwd 1.3.2
Unfortunately Postfwd was the policy daemon that was not working. I kept getting annoying array/list errors that I had to manually fix. It seems the syntax for arrays in perl changed with the version I am running which is 5.16.2.
Anyways, as I could not find a package for Policyd v2 so I am in the process of creating one. And will drop postfwd in favor of policyd.
Weird how there is no official package for policyd on arch though.
Michael Sierks
Oh, I was under the impression that this would be commonly used. More so than the other policy daemons that are already packaged for my distro which seemed old and not well maintained anymore.
Anyways, thanks for the info.
Michael Sierks
On 12/13/12 06:05, Adam Thompson wrote:
Why should there be an official package? I don't know of a single person or site running policyd right now, it's obviously not a common use case. Official packages (for any distro, not just Arch) depend on either the package being VERY popular, or someone on the dev team willing to put in the time and effort to keep the package up to date.
FWIW, it doesn't look like there are any official packages for policyd (from policyd.org) for any distro. It's somewhat confusing, as there are at least four projects all producing software called "policyd"... and they're all policy daemons for postfix, but they do vastly different things.
-Adam
*From:*roundtable-bounces@muug.mb.ca [mailto:roundtable-bounces@muug.mb.ca] *On Behalf Of *Michael SIerks *Sent:* Wednesday, December 12, 2012 3:59 PM *To:* Continuation of Round Table discussion *Subject:* Re: [RndTbl] Postfix Policy Daemon
I am running.
Arch Linux Postfix 2.9.4 Postfwd 1.3.2
Unfortunately Postfwd was the policy daemon that was not working. I kept getting annoying array/list errors that I had to manually fix. It seems the syntax for arrays in perl changed with the version I am running which is 5.16.2.
Anyways, as I could not find a package for Policyd v2 so I am in the process of creating one. And will drop postfwd in favor of policyd.
Weird how there is no official package for policyd on arch though.
Michael Sierks
Roundtable mailing list Roundtable@muug.mb.ca http://www.muug.mb.ca/mailman/listinfo/roundtable