Koozali.org formerly Contribs.org

badmailfrom

Offline Gert

  • ****
  • 208
    • http://www.huge.co.za
badmailfrom
« on: January 21, 2007, 06:45:02 PM »
I need to block all email from a specified domain. With SME7 I use /var/qmail/control/badmailfrom, but it is not available in SME6. How can i add it? Or is there an alternative way to block all email from a specified domain?

Offline raem

  • *
  • 3,972
Re: badmailfrom
« Reply #1 on: January 31, 2007, 04:50:57 PM »
Gert

>.... /var/qmail/control/badmailfrom ... is not available in SME6

What makes you say that, it is on a sme 6.0 that I'm still running
...

Offline Gert

  • ****
  • 208
    • http://www.huge.co.za
badmailfrom
« Reply #2 on: January 31, 2007, 09:22:49 PM »
I am running a couple of sme6 servers and on all of them the file badmailfrom does not exist:

[root@netkeeper /]# ls /var/qmail/control/
badrcptto          databytes       helohost           rcpthosts
bouncefrom         defaultdomain   locals             smtproutes
bouncehost         defaulthost     mailrules.default  virtualdomains
concurrencylocal   doublebounceto  me
concurrencyremote  envnoathost     plusdomain
[root@netkeeper /]#

I think it might have something to do with the version of qmail used??

Offline raem

  • *
  • 3,972
badmailfrom
« Reply #3 on: February 01, 2007, 08:22:22 AM »
Gert

> I think it might have something to do with the version of qmail used??

More likely mailfront or e-smith-email

ls /var/qmail/control
badhelo           concurrencyremote  helohost           rcpthosts
badmailfrom       databytes          locals             smtproutes
badrcptto         defaultdomain      mailrules.default  virtualdomains
bouncefrom        defaulthost        me
bouncehost        doublebounceto     patterns.default
concurrencylocal  envnoathost        plusdomain

rpm -qa qmail
qmail-1.03-08

rpm -qa e-smith-email
e-smith-email-4.15.0-07gr07

rpm -qa e-smith-mailfront
e-smith-mailfront-1.5.0-13gr07

rpm -qa mailfront
mailfront-0.91-8es

As a starting point see
http://mirror.contribs.org/smeserver/contribs/rmitchell/smeserver/howto/Virus%20and%20file%20blocking%20HOWTO%20using%20smtpfront-qmail%20for%20sme%20server.htm

also
yum update
/sbin/e-smth/signal-event post-upgrade
/sbin/e-smith/signal-event reboot
...

Offline Gert

  • ****
  • 208
    • http://www.huge.co.za
badmailfrom
« Reply #4 on: February 01, 2007, 09:02:00 AM »
My qmail version were indeed the same as yours but all the others were older. I followed the howto of the link you supplied now they are updated but the same version as yours yet (and still no badmailfrom). I have'nt got yum installed on this server. I will install the packages manually later. Hopfully badmailfrom will then be born.