Try uninstalling qmail-toaster beforehand: # rpm -e --nodeps qmail-toaster Note, I'm not absolutely positive that this will not cause any problem. I would not do this on a production server.
Toni Wijaya wrote: > Hi, > > After cek my smtpd log, i can't find any policy (not policy aware), then > i do rebuild qmail-toaster, but when i try install, there is error occured > # rpm -Uhv /usr/src/redhat/RPMS/i386/qmail-toaster-1.03-1.3.6.i386.rpm > > package qmail-toaster-1.03-1.3.6 is already installed > file /var/qmail/bin/qmail-smtpd from install of qmail-toaster-1.03-1.3.6 > conflicts with file from package qmail-toaster-1.03-1.3.6 > file /var/qmail/control/servercert.pem from install of > qmail-toaster-1.03-1.3.6 conflicts with file from package > qmail-toaster-1.03-1.3.6 > > >> >> Citando Toni Wijaya <[EMAIL PROTECTED]>: >> >>> I already test my EMPF, but when I try send message to eksternal from my >>> test account (tonz:re) nothing happen and the message can reach >>> eksternal >>> account. >> >> Great! >>> >>> on my /var/qmail/control/policy : >>> >>> mydomain.com:LREI,tonz:re, >>> >>> note: this policy file is own by root:qmail >>> >> >> all the above is correct. it should block outgoing mail >> >>> how can i check if EMPF already working or not? >> >> check the smtpd log >> >> you should have something like >> >> policy_check: policy allows transmission >> >> policy_check: policy forbids transmission >> >> or >> >> policy_check: policy_load failed >> >> >> if you don't then your qmail-smtpd in /var/qmail/bin is not policy aware >> >> >> did you rebuild the toaster package and installed it after applying >> the patch? >> >> retry the build. >> >> rpm -i qmail-toaster-1.03-1.3.6.scr.rpm >> >> cp qmail-toaster.spec to /usr/src/.../SPECS >> >> cp qmail-empf.patch.bz2 to /usr/src/../SOURCES >> >> rpmbuild -bs /usr/src/.../SPECS/qmail-toaster.spec >> >> BACKUP /var/qmail/ >> >> stop qmail >> >> rpm -Uhv /usr/src/.../RPM/i686/qmail-toaster-1.03-1.3.6.rpm >> >> start qmail >> >> and it should be done >> >>> >>> toni >>> >>> >>> ----- Original Message ----- >>> From: <[EMAIL PROTECTED]> >>> To: <qmailtoaster-list@qmailtoaster.com> >>> Sent: Monday, October 30, 2006 5:41 PM >>> Subject: Re: [qmailtoaster] EMPF Mail Policying >>> >>> >>> > Hi >>> > >>> > I've made a path to the current toaster >>> > >>> > just "rpm -i qmail-toaster-1.03-1.3.6.scr.rpm" >>> > >>> > go to /usr/src/packages/SPECS and copy or patch the qmail-toaster.spec >>> > from the tarball >>> > >>> > then copy the qmail-empf.patch.bz2 to /usr/src/packages/SOURCES and >>> > rebuild the source with "rpmbuild -bs >>> > usr/src/packages/SPECS/qmail-toaster.spec" >>> > >>> > this will make a empf ready qmailtoaster package. >>> > >>> > then do has usual rpmbuil --rebuild --with 'distro-name' >>> > >>> > PS: Erik do you think that it maybe possible to had a option >>> realeasing > a >>> > empf ready package? >>> > >>> > >>> > >>> > -- >>> > Zsoft >>> > >>> > >>> > >>> > Citando Toni Wijaya <[EMAIL PROTECTED]>: >>> > >>> >> >>> >> Hi Zsoft, >>> >> >>> >> Could you guide me how to install EMPF on qmailtoaster >>> >> >>> >> Thanks in Advance >>> >> >>> >> toni >>> >> >>> >> >>> >> > Hi, >>> >> > >>> >> > I've been using EMPF for some time and works fine... as long as YOU >>> >> > don't >>> >> > mess it up. >>> >> > >>> >> > It currently handles about 20 domains with arround 30 to 40 >>> policies >>> >> > each. >>> >> > It's quite fast doing it too. >>> >> > >>> >> > I've patched the current qmailtoaster release (1.3.6). >>> >> > >>> >> > I, for one would like it for be part of the toaster and it wont >>> >> > interfere >>> >> > with others who don't want to use it because if the policy file is >>> >> > blank >>> >> > (eg touch /var/qmail/control/policy) it wont do anything... >>> >> > >>> >> > >>> >> > -- >>> >> > Zsoft >>> >> > >>> >> > >>> >> > >>> >> > Citando [EMAIL PROTECTED]: >>> >> > >>> >> >> >>> >> >> Ok, i read someone on this list (sorry i don't remember who nor >>> the >>> >> >> exact >>> >> >> thread) attempting to policying two domains (i think he was >>> trying >> >> to >>> >> >> configure one without the posibility of sending mails outside the >>> >> >> domain >>> >> >> or something like that) >>> >> >> >>> >> >> Inter7 guys have something called EMPF for policying this kind of >>> >> >> things >>> >> >> >>> >> >> http://inter7.com/?page=empf >>> >> >> >>> >> >> See http://www.qmailwiki.org/EMPF for more information about EMPF >>> >> >> >>> >> >> For developers: >>> >> >> >>> >> >> http://inter7.com/?page=empf-install have nice instructions to >>> >> >> enable >>> >> >> this >>> >> >> on qmail. >>> >> >> >>> >> >> I think this is a nice feature. Do you think is worth it the >>> time >> >> to >>> >> >> integrate? >>> >> >> >>> >> >> >>> >> >> -- -Eric 'shubes' --------------------------------------------------------------------- QmailToaster hosted by: VR Hosted <http://www.vr.org> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]