Hacker News new | past | comments | ask | show | jobs | submit login

I don't know what you're doing then, because I run postfix+procmail+mutt and nothing else and it is zero maintenance and hardly any config. I don't use DKIM or SPF or SpamAssassin. All I have is a RBL client restriction and recipient/helo restrictions. I get possibly one spam a week and I can deal with that manually and I post to a lot of lists.

I've also built a couple of very large mail clusters (full 42U rack sized, 20+ machines) for ISPs before running courier, sendmail and procmail and it's really not that much management or effort to get it off the ground. The real bugger is getting a management front end on it all (postfixadmin doesn't cut it on that scale so it's LDAP time which isn't much fun).

I've rather horribly dealt with Exchange (2000, 2003) and that's just a whole pile of pain. My noble Exchange battling colleagues inform me that it still stinks.




If it's so easy, I am sure you have your own article detailing how you did it, right?

Also, you spam statistic sounds way off for a setup that doesn't explicitly deal with spam.


Yeah here you go on Debian. I just pasted this from my notes and added some formatting...

   == set up mutt ==
   $ sudo apt-get install mutt
   $ echo "export EMAIL=user@domain.com" >> ~/.profile
   $ source ~/.profile
   
   == postfix ==
   $ sudo apt-get install postfix
     .. answer system mail name as your host name
     .. add your domain to domains to accept email for
   .. Follow instructions here WRT SPAM:
      https://wiki.debian.org/Postfix#anti-spam:_smtp_restrictions
      .. basically add two lines to /etc/postfix/main.cf
   $ sudo service postfix restart
   $ ufw allow 25 # allow smtp in firewall. I use ufw.
   .. add your hostname as the MX for your domain (I use 123-reg)
   .. Visit mxtoolbox.com and check the machine isn't an open relay and is functioning correctly

   == procmail ==
   $ sudo apt-get install procmail
   .. add following to /etc/postfix/main.cf
      mailbox_command = /usr/bin/procmail -f- -a "$USER" 
   $ sudo service postfix reload

   == root alias ==
   $ echo "root: youruseraccount" >> /etc/aliases
   $ sudo newaliases
Done.

I genuinely get virtually no SPAM. RBLs and postfix sender validation above seems to work pretty well on its own.

I've done the same on OpenBSD with OpenSMTPd and spamd with even less effort.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: