Koozali.org: home of the SME Server

disable all e-mail

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
disable all e-mail
« on: October 31, 2008, 12:47:51 PM »
Hi

I´ve a server just used for Samba and would like to disable all e-mail functions.
It runs on a IPAQ LEGACY with 256MB and 20GB HDD (just for 3 laywers store those files!)... so resources mathers!

So I search all enabled services I could find and change his status for disable (config setprop [smtpd|qsmtpd|qmail|smtp-front\...] status disabled).
(I also disable a lot of others services (apple, printing, ...) not in use by them.

That fixed... his server is lighter... but I cannot receive ANY e-mail from him! :(
I´ve choose to forward e-mail messages for a generic account I use to receive servers messages ... and this do not work anymore.

EDIT: I choose to forward all ADMIN/ROOT e-mail for an external account... and this do not work.
I´d like just that forward of admin/root messages works.

So I´d like to enable minimal services to allow that. Can someone help me ?

Thanks

Jáder
« Last Edit: November 01, 2008, 07:16:44 PM by jader »
...

Offline gzartman

  • *
  • 306
  • +0/-0
    • LEI Engineering & Surveying
Re: disable all e-mail
« Reply #1 on: October 31, 2008, 10:54:46 PM »
Maybe I missed something here, but if you disabled the SME email services, then how would you expect to receive email?

If all you are wanting is a light samba file server, why not install a minimal Centos 5.2 install and setup a couple samba shares for storing files?    My guess is that you'll spend alot less time doing this than you would trying to cripple SME.

Greg
----
Greg J. Zartman
LEI Engineering & Surveying

SME user and community member since 2000.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: disable all e-mail
« Reply #2 on: November 01, 2008, 01:16:44 AM »
jader

To get email working again, enable those disabled services

"So I search all enabled services I could find and change his status for disable (config setprop [smtpd|qsmtpd|qmail|smtp-front\...] status disabled)."

ie change status to enabled and then reboot

Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline gzartman

  • *
  • 306
  • +0/-0
    • LEI Engineering & Surveying
Re: disable all e-mail
« Reply #3 on: November 01, 2008, 01:49:27 AM »
Ok, I'm following now.  In addition to what Mary suggests, do a signal-event post-upgrade prior to rebooting.
----
Greg J. Zartman
LEI Engineering & Surveying

SME user and community member since 2000.

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: disable all e-mail
« Reply #4 on: November 01, 2008, 07:19:36 PM »
Hi Mary/Greg

Sorry... I was not clear... edit original post!

Of course I could re enable all mail services... but that isn´t I was looking for.

I´m searching for discover a way to disable as many SME7 services as possible to "disable e-mail" on server BUT still retain ability to forward adminstrative messages to other server.

cron task generate e-mail... could those be forwarded to  external account using something like sendmail binary ?

Thanks

Jáder
...

Offline pfloor

  • *****
  • 889
  • +1/-0
Re: disable all e-mail
« Reply #5 on: November 02, 2008, 12:54:51 AM »
Have you tried using the server-manager panels and disabling what you don't need?  Just go to the "Email" and "Proxy" panels and set everything (including virus and spam) to "Disabled", this should shut down all the unwanted services and still allow your server to send you admin emails.
In life, you must either "Push, Pull or Get out of the way!"

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: disable all e-mail
« Reply #6 on: November 02, 2008, 01:43:02 AM »
I´m searching for discover a way to disable as many SME7 services as possible to "disable e-mail" on server BUT still retain ability to forward adminstrative messages to other server.

cron task generate e-mail... could those be forwarded to  external account using something like sendmail binary ?

Disable qpsmtpd and sqpsmtpd, and enable qmail. Only internally generated emails will be sent.

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: disable all e-mail
« Reply #7 on: November 03, 2008, 02:09:48 PM »
Hi CharlieBrady

Just enable qmail appear to fix the problem... I have lots of new messages arriving.
Thanks

Jáder
...