Re: toaster or do-it-myself?

2009-08-11 Thread Gregory T Helton
On Tue, Aug 11, 2009 at 01:37:50AM -0400, Identry wrote:
> Frack... qmail is impossible. I've been hacking at this for 14 hours
> and it's just not working. I must be stupid.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscr...@freebsd.org"

If you're willing to look away from Qmail, I used the following guide
as a basis when I moved my postfix mail server from Debian to FreeBSD.
Postfix supports Maildir, and that's how the guide sets it up.

I had some prior experience with postfix, having spent about 10-12
hours figuring it out from the official docs the first time I did it on
Debian... but the guide will have you a working setup in <4 hours even
without any prior experience. I think I had my FreeBSD mail server
working in under 2.

http://www.purplehat.org/?page_id=4

If you don't need all the stuff it lists, then only the
mysql+postfix+dovecot will give you a working server. Postfixadmin may
be needed aswell but I used a different SQL schema for my application
so I'm not sure.

--Greg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: toaster or do-it-myself?

2009-08-11 Thread Al Plant

Tim Judd wrote:

On 8/10/09, Identry  wrote:

Frack... qmail is impossible. I've been hacking at this for 14 hours
and it's just not working. I must be stupid.



If you're open to suggestions, there are two typical camps on this.
first one being a majority.  I've done both, and don't know which one
to favor


1) A mix-n match bag of software daemons that make it all work:
postfix MTA, dovecot POP3/IMAP, your choice of virtual user database,
squirrelmail (or another webmail) product.  That gives basic
functions.  Add anti-spam (spamassassin is common), and anti-virus
(clamav).

2) Install Courier suite, in which the same developers have a MTA,
POP3/IMAP, webmail suite.  Add Anti-Spam and Anti-Virus and your kit
is complete.


For the first time, I was able to install an email subsystem that
eliminates all spam without an anti-spam software app.  Based on the
blacklists for known spammers, and a blacklist for accidental
spammers, we're curbing most if not all other spam mails from being
accepted by the MTA.  The first blacklist are blocked by the firewall,
second blacklist is checked at each incoming connection and the MTA
will send notice to the remote connection (in the event it's a real
person sending mail from a spamming host), on how to clear themselves.

There isn't any AV suite to speak of, but if we're killing all
susceptable spams, the viruses are from the same bunch so we're
killing two birds with one stone.


Soon, I'll revisit Courier and see if my same mail setup is able to
accomplish the same goal, and I know the first blacklist will happen,
it's the 2nd I'm not so sure about.



Getting a toaster-application is nice, speedy setup.  but you work
with it's limitations or drawbacks.  Building your own gives more
flexibility, and depending on setup, it'll be no more than a
toaster-application -- or a whole lot more.


Ask us questions, there's lots of posts online.
For a quick setup, i always
- Install FreeBSD
- Run freebsd-update fetch install && reboot
- Install binary packages, and update them using your choice port
upgrade utility, if any

That's the quickest way to get a server live and operational...
because a non-modified port options = same binary that's offered as a
package.


Identry, send me a mail offlist if you want clarification on this post.

Good luck.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Aloha,

After trying qmail and a couple other email systems I like Tim installed 
 The postfix dovecot combo from FreeBSD ports.


I have had it working on two separate servers for about 4 years I think. 
Recently I had to rebuild a server due to a hardware failure and was 
pleased to see that the maintainers had set the defaults to what I 
happen to use so all it took was checking the settings against my old 
install and up she went on the new machine.


I second the #1 choice Tim made. Works for me here.


~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
  < email: n...@hdk5.net >
"All that's really worth doing is what we do for others."- Lewis Carrol

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: toaster or do-it-myself?

2009-08-11 Thread Paul Schmehl
--On Tuesday, August 11, 2009 00:37:50 -0500 Identry  
wrote:




Frack... qmail is impossible. I've been hacking at this for 14 hours
and it's just not working. I must be stupid.


I can't speak to that, because I've never used qmail.  However, I can tell you 
that Postfix can do Maildir format, so you're not limited to qmail.


--
Paul Schmehl (pa...@utdallas.edu)
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: toaster or do-it-myself?

2009-08-11 Thread Identry
> there is a great guide for installing qmail:
>        http://www.lifewithqmail.org/
> Of course, it just explains the technical steps for installing qmail,
> not mailserver setups in general (nevertheless there are some links
> about relaying etc.)

That's one of the docs that I was working from yesterday. I also have
the O'Reilly Qmail book.

Actually, I got qmail running fairly quickly using the procedures in
the O'Reilly book. Unfortunately, it died and I then spent about 10
hours trying to figure out what the problem was.

Well, I never did figure it out and I'm not ashamed to say that I've
given up trying. Life's too short. I'm outsourcing the problem to a
email service provider. I realized that running an email server
properly is a full time job, and I already have 14 full time jobs.
Eventually, you just have to say "Enough!" and let someone else handle
some of the work.

I've been hoping to have something useful to contribute to this forum.
That's a lesson well worth passing on, I think!

-- John
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: toaster or do-it-myself?

2009-08-10 Thread Matthias Luft
Hi,

Identry wrote:
> I need to use qmail because that's what was used on the old
> mailserver, and all my backups are in Maildir format. I don't have
> time to mess around converting all that mail to another format, so
> that's my one fixed requirement.

there is a great guide for installing qmail:
http://www.lifewithqmail.org/
Of course, it just explains the technical steps for installing qmail,
not mailserver setups in general (nevertheless there are some links
about relaying etc.)

Btw., do most reasonable MTAs support Maildirs, so you are not
restricted to qmail.

cheers,
Matthias


smime.p7s
Description: S/MIME Cryptographic Signature


Re: toaster or do-it-myself?

2009-08-10 Thread Tim Judd
On 8/10/09, Identry  wrote:
> Frack... qmail is impossible. I've been hacking at this for 14 hours
> and it's just not working. I must be stupid.


If you're open to suggestions, there are two typical camps on this.
first one being a majority.  I've done both, and don't know which one
to favor


1) A mix-n match bag of software daemons that make it all work:
postfix MTA, dovecot POP3/IMAP, your choice of virtual user database,
squirrelmail (or another webmail) product.  That gives basic
functions.  Add anti-spam (spamassassin is common), and anti-virus
(clamav).

2) Install Courier suite, in which the same developers have a MTA,
POP3/IMAP, webmail suite.  Add Anti-Spam and Anti-Virus and your kit
is complete.


For the first time, I was able to install an email subsystem that
eliminates all spam without an anti-spam software app.  Based on the
blacklists for known spammers, and a blacklist for accidental
spammers, we're curbing most if not all other spam mails from being
accepted by the MTA.  The first blacklist are blocked by the firewall,
second blacklist is checked at each incoming connection and the MTA
will send notice to the remote connection (in the event it's a real
person sending mail from a spamming host), on how to clear themselves.

There isn't any AV suite to speak of, but if we're killing all
susceptable spams, the viruses are from the same bunch so we're
killing two birds with one stone.


Soon, I'll revisit Courier and see if my same mail setup is able to
accomplish the same goal, and I know the first blacklist will happen,
it's the 2nd I'm not so sure about.



Getting a toaster-application is nice, speedy setup.  but you work
with it's limitations or drawbacks.  Building your own gives more
flexibility, and depending on setup, it'll be no more than a
toaster-application -- or a whole lot more.


Ask us questions, there's lots of posts online.
For a quick setup, i always
- Install FreeBSD
- Run freebsd-update fetch install && reboot
- Install binary packages, and update them using your choice port
upgrade utility, if any

That's the quickest way to get a server live and operational...
because a non-modified port options = same binary that's offered as a
package.


Identry, send me a mail offlist if you want clarification on this post.

Good luck.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: toaster or do-it-myself?

2009-08-10 Thread Identry
Frack... qmail is impossible. I've been hacking at this for 14 hours
and it's just not working. I must be stupid.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: toaster or do-it-myself?

2009-08-10 Thread Brent Bloxam

Roland Smith wrote:

There are several webmail apps available in ports. E.g. mail/squirrelmail,
which has a lot of plugins available. 


Squirrelmail's webserver was recently hacked, and plugins were compromised:
http://secunia.com/advisories/36087/
http://sourceforge.net/mailarchive/message.php?msg_name=4A727634.3080008%40squirrelmail.org

Just a friendly FYI
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: toaster or do-it-myself?

2009-08-10 Thread Roland Smith
On Mon, Aug 10, 2009 at 11:38:54AM -0400, Identry wrote:
> As part of my server recovery operation, I want to split off my mail
> server onto it's own server. I've never built a mail server before, so
> I'm debating how to go about it.
> 
> The old mail server was built with a toaster, and frankly, I knew how
> to use it, but never understood how it worked. I'm in a hurry to get
> it up, so I'm tempted to use a toaster again, but I'm worried that
> I'll spend a lot of time on it, and it won't work because I don't
> understand what it has installed, etc.

What exactly do you mean with a toaster? I thought toasters only ran NetBSD: 
[http://www.embeddedarm.com/software/arm-netbsd-toaster.php]
;-)

Or perhaps you mean Mail::Toaster (which is based on FreeBSD and uses qmail)?
[http://www.tnpi.net/wiki/Mail_Toaster]
The people who wrote Mail::Toaster can also provide assistance for a fee:
[http://www.tnpi.net/cart/index.php?crn=207]

> I need to use qmail because that's what was used on the old
> mailserver, and all my backups are in Maildir format. I don't have
> time to mess around converting all that mail to another format, so
> that's my one fixed requirement.

A lot of mail servers can handle maildir format. Postfix can use maildir
natively. Sendmail+procmail can also handle it.

On my own machine I use Postfix (with procmail for mail delivery and
bogofilter for spam filtering) because it is so easy to set up. Qmail has a
reputation of being quirky.

But if you need qmail, it is in ports. Have a look which ports are installed
on your current machine. If you install all those ports on the new machine,
copy the configuration files and mail data from the old machine and you are
ready to go. _Assuming_ that all software on the old machine was installed
from ports!

> My first goal is to just get mail working, but ultimately, I'll want
> spam filtering, a web interface, etc.
> 
> So, my question: should I use a toaster? And if so, which one?

Whatever you buy should have enough oomph to handle whatever you want to add
to it later. Especially if you want to run a webserver with php  for webmail.

There are several webmail apps available in ports. E.g. mail/squirrelmail,
which has a lot of plugins available. 

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgp3GpVMuAdKz.pgp
Description: PGP signature


toaster or do-it-myself?

2009-08-10 Thread Identry
As part of my server recovery operation, I want to split off my mail
server onto it's own server. I've never built a mail server before, so
I'm debating how to go about it.

The old mail server was built with a toaster, and frankly, I knew how
to use it, but never understood how it worked. I'm in a hurry to get
it up, so I'm tempted to use a toaster again, but I'm worried that
I'll spend a lot of time on it, and it won't work because I don't
understand what it has installed, etc.

I need to use qmail because that's what was used on the old
mailserver, and all my backups are in Maildir format. I don't have
time to mess around converting all that mail to another format, so
that's my one fixed requirement.

My first goal is to just get mail working, but ultimately, I'll want
spam filtering, a web interface, etc.

So, my question: should I use a toaster? And if so, which one?

The machine that it will run on will only have two apps on it: mail
server and secondary dns (tinydns).

Any advice, much appreciate.

Thanks: John
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"