Re: Easy Administration of Postfix SMTP Relay Server
Am 23.09.2011 19:51, schrieb Kaleb Hosie: I’m currently tasked with a project of creating a spam server which will receive email for all of our customers, filter it for spam and relay clean mail onto the final destination. The challenge is that it needs to be manageable by someone who doesn’t know Linux. Is there a way to add additional domains without the need to login through SSH? Here is how postfix is configured: transport_maps = hash:/etc/postfix/transport relay_domains = hash:/etc/postfix/relay_domains /etc/postfix/transport: abc.com:[mail.abc.com] xyz.com:[mail.xyz.com] /etc/postfix/relay_domains: abc.comOK xyz.comOK I’ve tried using Webmin however to my knowledge, it only supports modifying the transport file but won’t add additional relay domains. Am I missing something? Is there an easier way of configuring this? -Kaleb you can use webmin , for adminstration tasks, editing conf files etc the permissions there can be configured to users, and/or you may create your own editors of files or scripts -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria
RE: Easy Administration of Postfix SMTP Relay Server
Hi Kaleb, I just wanted to mention that there is a project that I have been using for years that is build for exactly what you need to do, using Postfix as the MTA. It's ESVA (email security virtual appliance.) I've used it for a number of customers and my own environment. The maintainer of the project seems to of disbanded the project, but, it's based on all actively maintained components: postfix, mailscanner, spam assasian, clamav, razor, pyzor, sqlgrey, etc., etc. I would be happy to provide it to you if that helps. Turnkey Linux has a CORE Linux (and LAMP) distribution that would also be perfect for staring as a base, and the core may or may not (I forget) already include postfix. It's actually been on my radar to build a ESVA-New project, based on TKL Core and Postfix, and supply it either as a patch on TKL or as a separate project altogether. When I get there (not sure when), I will let you know! In meantime, hope those 2 resources can help and let me know if I can help you with any of those Postfix has been a big part of anti-spam tactics and quite successful! Thanks, Postfix! *From:* owner-postfix-us...@postfix.org [mailto: owner-postfix-us...@postfix.org] *On Behalf Of *Kaleb Hosie *Sent:* Friday, September 23, 2011 10:51 AM *To:* postfix-users@postfix.org *Subject:* Easy Administration of Postfix SMTP Relay Server I’m currently tasked with a project of creating a spam server which will receive email for all of our customers, filter it for spam and relay clean mail onto the final destination. The challenge is that it needs to be manageable by someone who doesn’t know Linux. Is there a way to add additional domains without the need to login through SSH? Here is how postfix is configured: transport_maps = hash:/etc/postfix/transport relay_domains = hash:/etc/postfix/relay_domains /etc/postfix/transport: abc.com:[mail.abc.com] xyz.com:[mail.xyz.com] /etc/postfix/relay_domains: abc.comOK xyz.comOK I’ve tried using Webmin however to my knowledge, it only supports modifying the transport file but won’t add additional relay domains. Am I missing something? Is there an easier way of configuring this? -Kaleb
Re: Easy Administration of Postfix SMTP Relay Server
On 9/24/2011 3:02 PM, Ryan Blakeslee wrote: but, it's based on all actively maintained components: postfix, *mailscanner* AIUI, mailscanner directly manipulates the postfix queue files, which is not supported and is extremely frowned upon by the Postfix developer(s), to put it lightly. I'd stay away from any solution stack including mailscanner, or simply disable it, if that's possible in the overall framework of the stack. -- Stan
RE: Easy Administration of Postfix SMTP Relay Server
Stan, I did not know this and I really appreciate the feedback, I apologize for suggesting that without fully understanding the implications on Postfix. -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Stan Hoeppner Sent: Saturday, September 24, 2011 1:37 PM To: postfix-users@postfix.org Subject: Re: Easy Administration of Postfix SMTP Relay Server On 9/24/2011 3:02 PM, Ryan Blakeslee wrote: but, it's based on all actively maintained components: postfix, *mailscanner* AIUI, mailscanner directly manipulates the postfix queue files, which is not supported and is extremely frowned upon by the Postfix developer(s), to put it lightly. I'd stay away from any solution stack including mailscanner, or simply disable it, if that's possible in the overall framework of the stack. -- Stan
Re: Easy Administration of Postfix SMTP Relay Server
On 9/24/2011 3:42 PM, Ryan Blakeslee wrote: Stan, I did not know this and I really appreciate the feedback, I apologize for suggesting that without fully understanding the implications on Postfix. No need to apologize. Here's the direct info: http://www.postfix.org/addon.html mailscanner system, works with Postfix and other MTAs. WARNING: This software uses unsupported methods to manipulate Postfix queue files directly. This will result in corruption or loss of mail. The mailscanner authors have sofar refused to discuss a proper access API or protocol. -- Stan
RE: Easy Administration of Postfix SMTP Relay Server
I'm currently tasked with a project of creating a spam server which will receive \ email for all of our customers, filter it for spam and relay clean mail onto the \ final destination. The challenge is that it needs to be manageable by someone who \ doesn't know Linux. Is there a way to add additional domains without the need to login through SSH? If you like Ubuntu or Debian, I have a doc where you can build a relay server from bare metal in about an hour or so using a recent SVN snapshot (SVN 1575) of Maia Mailguard, which recently added SQL fields to store relay domain and transport info for individual domains. You get a spam quarantine management and a number of other features from Maia Mailguard if desired. http://www200.pair.com/mecham/spam/ubuntu1104-maia-fast.html To use the relay domain and transport fields, here are example settings that appear to work for me when I tried it: contents of /etc/postfix/mysql_relay_domains.cf: hosts = 127.0.0.1 dbname = maia user = maia password = maia_password query = SELECT routing_domain FROM maia_domains WHERE routing_domain='%s' contents of /etc/postfix/mysql_virtual_transport.cf: hosts = 127.0.0.1 dbname = maia user = maia password = maia_password query = SELECT transport FROM maia_domains WHERE routing_domain='%s' In main.cf: transport_maps = mysql:/etc/postfix/mysql_virtual_transport.cf relay_domains = mysql:/etc/postfix/mysql_relay_domains.cf There have been a lot of changes recently to the Maia Mailguard code, so the Maia documentation is not up to date: http://maiamailguard.com/maia/wiki If you wanted to install a version of Maia (SVN 1518) that more closely reflects the current documentation (in other words you would use what would be considered the last 'stable' build), you could find some others here: http://www200.pair.com/mecham/spam/ Gary V
Easy Administration of Postfix SMTP Relay Server
I'm currently tasked with a project of creating a spam server which will receive email for all of our customers, filter it for spam and relay clean mail onto the final destination. The challenge is that it needs to be manageable by someone who doesn't know Linux. Is there a way to add additional domains without the need to login through SSH? Here is how postfix is configured: transport_maps = hash:/etc/postfix/transport relay_domains = hash:/etc/postfix/relay_domains /etc/postfix/transport: abc.com:[mail.abc.com] xyz.com:[mail.xyz.com] /etc/postfix/relay_domains: abc.comOK xyz.comOK I've tried using Webmin however to my knowledge, it only supports modifying the transport file but won't add additional relay domains. Am I missing something? Is there an easier way of configuring this? -Kaleb
Re: Easy Administration of Postfix SMTP Relay Server
On Fri, Sep 23, 2011 at 2:51 PM, Kaleb Hosie kho...@nicanada.com wrote: I’m currently tasked with a project of creating a spam server which will receive email for all of our customers, filter it for spam and relay clean mail onto the final destination. The challenge is that it needs to be manageable by someone who doesn’t know Linux. Is there a way to add additional domains without the need to login through SSH? Probably here you'll find other alternatives to webmin that will let you to do that: http://www.postfix.org/addon.html#config HTH
Re: Easy Administration of Postfix SMTP Relay Server
On 2011-09-23 19:51, Kaleb Hosie wrote: I'm currently tasked with a project of creating a spam server which will receive email for all of our customers, filter it for spam and relay clean mail onto the final destination. The challenge is that it needs to be manageable by someone who doesn't know Linux. Is there a way to add additional domains without the need to login through SSH? Here is how postfix is configured: transport_maps = hash:/etc/postfix/transport relay_domains = hash:/etc/postfix/relay_domains /etc/postfix/transport: abc.com:[mail.abc.com] xyz.com:[mail.xyz.com] /etc/postfix/relay_domains: abc.comOK xyz.comOK I've tried using Webmin however to my knowledge, it only supports modifying the transport file but won't add additional relay domains. Am I missing something? Is there an easier way of configuring this? You could try postfixadmin: www.postfixadmin.org Note that this requires significant alterations to your configuration. In addition, when splitting off spam filtering from delivery this way, you need to either restrict spam handling to this one box, or reject spam in-line during the SMTP conversation, for example using an smtp proxy. Accepting and then not relaying spam is unacceptable and causes backscatter damage. -- J.
Re: Easy Administration of Postfix SMTP Relay Server
Am 23.09.2011 19:51, schrieb Kaleb Hosie: I’m currently tasked with a project of creating a spam server which will receive email for all of our customers, filter it for spam and relay clean mail onto the final destination. The challenge is that it needs to be manageable by someone who doesn’t know Linux. Is there a way to add additional domains without the need to login through SSH? mysql-driven configuration and web-interfaces/forms for the tables, but no idea what public available would this job well since we are writing our backends inhouse exactly for the needed environment and they all are dbmail-cenralized signature.asc Description: OpenPGP digital signature
Re: Easy Administration of Postfix SMTP Relay Server
Have you tried this... It was designed for that with end-user interfaces. Sorry website forgotten; http://www.artica.fr Le vendredi 23 septembre 2011 à 17:51 +, Kaleb Hosie a écrit : I’m currently tasked with a project of creating a spam server which will receive email for all of our customers, filter it for spam and relay clean mail onto the final destination. The challenge is that it needs to be manageable by someone who doesn’t know Linux. Is there a way to add additional domains without the need to login through SSH? Here is how postfix is configured: transport_maps = hash:/etc/postfix/transport relay_domains = hash:/etc/postfix/relay_domains /etc/postfix/transport: abc.com:[mail.abc.com] xyz.com:[mail.xyz.com] /etc/postfix/relay_domains: abc.comOK xyz.comOK I’ve tried using Webmin however to my knowledge, it only supports modifying the transport file but won’t add additional relay domains. Am I missing something? Is there an easier way of configuring this? -Kaleb