DaemonForums  

Go Back   DaemonForums > Miscellaneous > General software and network

General software and network General OS-independent software and network questions, X11, MTA, routing, etc.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 26th May 2008
cajunman4life cajunman4life is offline
Real Name: Aaron Graves
Package Pilot
 
Join Date: May 2008
Location: Coolidge, Arizona
Posts: 203
Thanked 16 Times in 14 Posts
Default MTA thoughts

Well just as soon as Cox Business gets around to my place, I'll be setting up an MTA for use on my FreeBSD server. It'll serve email for my small business as well as home/family.

I want to get a feel for what the community is using in terms of MTA's and get your thoughts on them. I've heard good things about postfix. Also note, I haven't had much time to research this yet, so be gentle
__________________
I just saved a bunch of money on my car insurance by fleeing the scene of the accident!
Reply With Quote
  #2   (View Single Post)  
Old 26th May 2008
corey_james corey_james is offline
Uber Geek
 
Join Date: Apr 2008
Location: Brisbane, Australia
Posts: 238
Thanked 4 Times in 10 Posts
Default

definitely recommend postfix ... but that's only coz i think it's easy to learn and it's all i've bothered to learn as everyone i've worked for uses it
__________________
"No, that's wrong, Cartman. But don't worry, there are no stupid answers, just stupid people." -- Mr. Garrison

Forum Netiquette
Reply With Quote
  #3   (View Single Post)  
Old 26th May 2008
mtx's Avatar
mtx mtx is offline
Real Name: Valentin Bud
Fdisk Soldier
 
Join Date: May 2008
Location: RO/TM
Posts: 79
Thanked 5 Times in 3 Posts
Default

i am using postfix as an MTA from the first time i had to setup an email server.
things i have noticed:
* syntax is very easy and understandable
* documentation is very complete and accurate
* easy to setup with a database backend (currently using mysql to store the domains/accounts)
* there is postfix admin a web GUI which is pretty easy to setup and use for administration of you email server
and here is a very good and self explanatory tutorial.
keep in mind that postfix is the only MTA i have ever used so i can't make a comparison to another one. others are more than welcomed to comment upon this.

/v
__________________
Stop! think! ... the problem is somewhere between the monitor and chair...
"First they ignore you, then they laugh at you, then they fight you, then you win." Gandhi
links: spreadbsd syk
Reply With Quote
  #4   (View Single Post)  
Old 26th May 2008
mtx's Avatar
mtx mtx is offline
Real Name: Valentin Bud
Fdisk Soldier
 
Join Date: May 2008
Location: RO/TM
Posts: 79
Thanked 5 Times in 3 Posts
Default

Quote:
Originally Posted by mtx View Post
* there is postfix admin a web GUI ...
/v
i found this web interface pretty good and simple to manage/use.

there's even a port /usr/ports/mail/postfixadmin

/v
__________________
Stop! think! ... the problem is somewhere between the monitor and chair...
"First they ignore you, then they laugh at you, then they fight you, then you win." Gandhi
links: spreadbsd syk

Last edited by mtx; 26th May 2008 at 08:30 PM. Reason: text add
Reply With Quote
  #5   (View Single Post)  
Old 26th May 2008
corey_james corey_james is offline
Uber Geek
 
Join Date: Apr 2008
Location: Brisbane, Australia
Posts: 238
Thanked 4 Times in 10 Posts
Default

don't pump the use of web interfaces for applications ... sheesh!! :P
__________________
"No, that's wrong, Cartman. But don't worry, there are no stupid answers, just stupid people." -- Mr. Garrison

Forum Netiquette
Reply With Quote
  #6   (View Single Post)  
Old 26th May 2008
mtx's Avatar
mtx mtx is offline
Real Name: Valentin Bud
Fdisk Soldier
 
Join Date: May 2008
Location: RO/TM
Posts: 79
Thanked 5 Times in 3 Posts
Default

I'm not trying to pump the use of web interfaces for applications or advertise such a software.
As i see it, when you are talking about a mail server where you have a lot of domains and each domain is maintained by another person this kind of web interfaces come in handy.
As I have noticed from the OP that's not his case, but i think that the existence of a web interface to manage your domain/accounts database it's a plus for any kind of mail server.

my 2 cents
/v
__________________
Stop! think! ... the problem is somewhere between the monitor and chair...
"First they ignore you, then they laugh at you, then they fight you, then you win." Gandhi
links: spreadbsd syk
Reply With Quote
  #7   (View Single Post)  
Old 26th May 2008
gkontos's Avatar
gkontos gkontos is offline
Real Name: George
Port Guard
 
Join Date: May 2008
Location: Greece
Posts: 41
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by corey_james View Post
don't pump the use of web interfaces for applications ... sheesh!! :P
When you manage 300 domains you need an interface.

George
__________________
...when you have excluded the impossible, whatever remains, however improbable, must be the truth.
Reply With Quote
  #8   (View Single Post)  
Old 26th May 2008
cerulean's Avatar
cerulean cerulean is offline
Port Guard
 
Join Date: May 2008
Location: Arizona
Posts: 18
Thanked 0 Times in 0 Posts
Default

I settled with Postfix as well. I've used sendmail and qmail in the past but for the past few years it has been Postfix 100% .. very straight forward and easy to understand.

For home/small business, ASSP seems to be a nice compliment for spam filtering.
Reply With Quote
  #9   (View Single Post)  
Old 26th May 2008
scottro's Avatar
scottro scottro is offline
Real Name: Scott Robbins
Spam Deminer
 
Join Date: Apr 2008
Location: NYC
Posts: 307
Thanked 31 Times in 25 Posts
Default

Re spam and postfix, there's a nice little article on the CentOS wiki about some simple spam filtering, with links to more detailed articles.
Reply With Quote
Old 26th May 2008
gkontos's Avatar
gkontos gkontos is offline
Real Name: George
Port Guard
 
Join Date: May 2008
Location: Greece
Posts: 41
Thanked 2 Times in 2 Posts
Default

We use assp for antispam and we filter 30000 messages a day.

Pros: Very effective and it doesn't interfere with the MTA
Cons: High CPU usage, bad port maintainer.

George
__________________
...when you have excluded the impossible, whatever remains, however improbable, must be the truth.
Reply With Quote
Old 26th May 2008
cajunman4life cajunman4life is offline
Real Name: Aaron Graves
Package Pilot
 
Join Date: May 2008
Location: Coolidge, Arizona
Posts: 203
Thanked 16 Times in 14 Posts
Default

Well, postfix it is then.

The web interface: Can you run that from another server (like you can phpMyAdmin and connect to a remote database)? I'd prefer not to have apache on my mail server if possible.

If not, I can NFS export the necessary filesystems from the MX to the WWW server.
__________________
I just saved a bunch of money on my car insurance by fleeing the scene of the accident!
Reply With Quote
Old 26th May 2008
gkontos's Avatar
gkontos gkontos is offline
Real Name: George
Port Guard
 
Join Date: May 2008
Location: Greece
Posts: 41
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by cajunman4life View Post
Well, postfix it is then.

The web interface: Can you run that from another server (like you can phpMyAdmin and connect to a remote database)? I'd prefer not to have apache on my mail server if possible.

If not, I can NFS export the necessary filesystems from the MX to the WWW server.
No you can't. Like you said you may run phpMyadmin on a different database but the host must use apache. In any case I think that postfix is your best choice. If you want to handle a lot of domains then you will need a web based tool. Otherwise you can do it by hand.
Also consider the DNS issues that might arise from a small SOHO mail server.

Regards,
George
__________________
...when you have excluded the impossible, whatever remains, however improbable, must be the truth.
Reply With Quote
Old 26th May 2008
cajunman4life cajunman4life is offline
Real Name: Aaron Graves
Package Pilot
 
Join Date: May 2008
Location: Coolidge, Arizona
Posts: 203
Thanked 16 Times in 14 Posts
Default

Quote:
Originally Posted by gkontos View Post
No you can't. Like you said you may run phpMyadmin on a different database but the host must use apache. In any case I think that postfix is your best choice. If you want to handle a lot of domains then you will need a web based tool. Otherwise you can do it by hand.
Also consider the DNS issues that might arise from a small SOHO mail server.

Regards,
George
So I won't then be able to run the web interface from my main web server. That's alright, I can install apache and setup firewall rules to allow connections from the local subnet only. BUT - That's if I determine I need the web interface. By the way, what is the web interface called? I'll start checking it out.

Also - What DNS issues might arise from a SOHO mail server?
__________________
I just saved a bunch of money on my car insurance by fleeing the scene of the accident!
Reply With Quote
Old 29th May 2008
hamba hamba is offline
Fdisk Soldier
 
Join Date: Apr 2008
Posts: 71
Thanked 5 Times in 4 Posts
Default

Quote:
Originally Posted by gkontos View Post
No you can't. Like you said you may run phpMyadmin on a different database but the host must use apache.
Hi, this is not correct, I'm running postfix admin on my webserver and my mail server is another system. You can set the conf file to connect to the remote mysql database, just make sure that you have network enabled for mysql on your mail server.

from the postfixadmin config file
Code:
$CONF['database_type'] = 'mysqli';
$CONF['database_host'] = 'ip-address of remote server';
$CONF['database_user'] = 'username';
$CONF['database_password'] = 'passwd';
$CONF['database_name'] = 'postfix';
$CONF['database_prefix'] = '';
Cheers
hamba
Reply With Quote
Old 29th May 2008
cajunman4life cajunman4life is offline
Real Name: Aaron Graves
Package Pilot
 
Join Date: May 2008
Location: Coolidge, Arizona
Posts: 203
Thanked 16 Times in 14 Posts
Default

Quote:
Originally Posted by hamba View Post
You can set the conf file to connect to the remote mysql database, just make sure that you have network enabled for mysql on your mail server.
So then I'll need MySQL installed on the mail server?
__________________
I just saved a bunch of money on my car insurance by fleeing the scene of the accident!
Reply With Quote
Old 8th June 2008
mtx's Avatar
mtx mtx is offline
Real Name: Valentin Bud
Fdisk Soldier
 
Join Date: May 2008
Location: RO/TM
Posts: 79
Thanked 5 Times in 3 Posts
Default

Quote:
Originally Posted by cajunman4life View Post
So then I'll need MySQL installed on the mail server?
no you don't. when you configure the
Code:
virtual_*
directives from postfix main.cf you'll have to write in a file the mysql params like
Code:
# cat main.cf
...
virtual_mailbox_domains = proxy:mysql:/usr/local/etc/postfix/mysql_virtual_domains_maps.cf
...
# cat mysql_virtual_domains_maps.cf
user = u
password = p
hosts = ip add or name of the host which the mysql db resides on
dbname = 
query =
so your web interface (i don't say GUI anymore thanks to windependence ) and mysql db can reside on a different machine.
this way you don't have to overload or open new security threats on your mail machine.

/v
__________________
Stop! think! ... the problem is somewhere between the monitor and chair...
"First they ignore you, then they laugh at you, then they fight you, then you win." Gandhi
links: spreadbsd syk
Reply With Quote
Old 26th May 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

I would probably use postfix or qmail
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
Old 27th May 2008
cajunman4life cajunman4life is offline
Real Name: Aaron Graves
Package Pilot
 
Join Date: May 2008
Location: Coolidge, Arizona
Posts: 203
Thanked 16 Times in 14 Posts
Default

Doh! Thanks, I'll check it out.
__________________
I just saved a bunch of money on my car insurance by fleeing the scene of the accident!
Reply With Quote
Old 27th May 2008
jleal jleal is offline
Real Name: Chuy
Port Guard
 
Join Date: May 2008
Location: Boca del Rio
Posts: 11
Thanked 1 Time in 1 Post
Default Polemic Sendmail

I have been using sendmail for many years , it have had security issues , but not anymore (since 3 years ago) it is fast , easy to configure , lots of documentation , auth modules , ldap modules and it has many interesting features , supports also a big amount of traffic .

I have heard PostFix is great also , secure and very good i have NOT tried but i think is very good!!!

please let us know what you decided and why!!!!!
Reply With Quote
Old 27th May 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 699
Thanked 90 Times in 81 Posts
Default

Quote:
Originally Posted by jleal View Post
I have been using sendmail for many years , it have had security issues , but not anymore (since 3 years ago) it is fast , easy to configure
Only someone who has used sendmail for many many years, has memorised all the 2-letter codes, and spent hours poring over the m4 manuals would ever think to say that sendmail is "easy to configure".

That's like saying "vi is easy to use", or "flying a jumbo jet is easy", or "editing the Windows registry is easy to do".
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Thoughts on NetBSD 5.0 Meta_Ridley NetBSD General 16 25th May 2009 06:34 PM
ZFS thoughts and questions mtx FreeBSD General 3 28th November 2008 07:27 AM
NFS your thoughts rex FreeBSD General 4 24th September 2008 03:32 AM
FreeBSD as a desktop - Thoughts.. harisman FreeBSD General 62 6th September 2008 01:27 AM
Your Thoughts on WINE (Codeweaver products incl.) ninjatux General software and network 5 21st July 2008 11:56 PM


All times are GMT. The time now is 07:42 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick