First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 55705
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Net-Mail Packages <net-mail@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Duncan Hill <gentoo-bugs@nacnud.force9.co.uk>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
postfix.confd /etc/conf.d/postfix file text/plain Duncan Hill 2004-06-30 11:51 0000 216 bytes Details
postfix_with_postgrey_or_amavisd.diff Patch to support conf.d/postfix patch Duncan Hill 2004-06-30 11:52 0000 401 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 55705 depends on: Show dependency tree
Show dependency graph
Bug 55705 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-06-30 11:50 0000
If Postfix is configured to use a policy server and the policy server is not
running, 450 Server misconfigured will be used to reject every e-mail.  Similar
problems exist when a content_filter is used.

Reproducible: Always
Steps to Reproduce:
1. Install postfix
2. Install postgrey/amavisd
3. Forget to hack the postfix rc script to ensure postgrey/amavisd are booted.

Actual Results:

------- Comment #1 From Duncan Hill 2004-06-30 11:51:09 0000 -------
Created an attachment (id=34508) [edit]
/etc/conf.d/postfix file

Contains the configuration variables used by the patched rc script.

------- Comment #2 From Duncan Hill 2004-06-30 11:52:24 0000 -------
Created an attachment (id=34509) [edit]
Patch to support conf.d/postfix

Patches the rc script to support the /etc/conf.d/postfix file, and modify the
need line on the fly.

------- Comment #3 From Duncan Hill 2004-06-30 11:54:06 0000 -------
Rationale for this bug:
I'd like to introduce a new package for postgrey - a greylist policy server for postfix 2.1.x.  However, without these patches, if postfix is configured to use the policy server and the server isn't running, mail will be rejected (temp fail, but still rejected).

------- Comment #4 From Duncan Hill 2004-07-25 03:06:18 0000 -------
*ping* ?

No response for close on 4 weeks now - shall I just close this request?

------- Comment #5 From Tuan Van (RETIRED) 2004-08-08 21:32:01 0000 -------
`rc-update add postgrey/amavisd default` should work. If someone using mysql as
their database backend forgot to add mysql to default run level, same thing
will happen. IMO, it's up to the user to add the needed services to default run
level. Although, We could add these services to /etc/init.d/postfix

depend() {
        need net
        use mysql postgrey amavisd clamd foo bar
}

------- Comment #6 From Duncan Hill 2004-08-18 12:19:03 0000 -------
Well, I'm aiming for a belt/suspenders method here.  If not in its current
form, perhaps a simple conf.d of 
POSTFIX_NEED_OPTS="amavisd mysql foo bar"

and mod the rc appropriately to use that as a safety check?  Admins forget
things, users forget things.  Belt & suspenders doesn't hurt.

------- Comment #7 From Andrej Kacian (RETIRED) 2005-06-18 16:20:22 0000 -------
As there are two graylisting engines in portage now (gld and postgrey), and
another one (sqlgrey) waiting in pipe, I've added a more general
"postfix_graylist" facility to 'use' in postfix initscript depend(). Both
engines' initscripts provide this facility.

NOTE: I've added this to postfix-2.2.3, which is masked for now, to prevent
adding new features to existing versions. Just a safety precaution.

As for amavisd, that has been in postfix' initscript for quite some time already
now.

Thanks for reporting!

First Last Prev Next    No search results available      Search page      Enter new bug