mail server from Windows to FreeBSD

Roland Smith rsmith at
Mon Mar 10 18:33:33 UTC 2008

On Mon, Mar 10, 2008 at 12:22:39PM +0200, Ivailo Bonev wrote:
> I have a Windows machine that get all e-mails, from few accounts, from 
> different Internet providers. I want to setup FreeBSD machine that get all 
> mails from accounts and remote and local users get their mails from that 
> FreeBSD mail storage server. I don't own a domain or MX records.


> I read many docs in Intrernet, and now I have installed FreeBSD 7.0 
> RELEASE, with installed fetchmail port (to get mail from various accounts), 

Fetchmail is the right tool for the job.

> sendmail-sasl port, and dovecot for IMAP server. But now I'm lost, from 
> where to start configuring FreeBSD mail server?

IMHO postfix is easier to set up than sendmail, but the principles are
the same.

I would make users on the FreeBSD machine for everyone that needs to
download mail from the machine. Use a non-existent home-directory and
/usr/bin/nologin as the shell for these accounts.

Use the virtual hosts feature to deliver mail for different addresses to
local users. See e.g.

I haven't used dovecot, so I can't help you much with that. If your
FreeBSD server and the windows clients are on a trusted private subnet,
I would probably just use plain text authentication.

> And one last thing, how can deliver all mail messages from Outlook Express 
> client from Windows machine to FreeBSD mail server machine?

You can set the FreeBSD machine as the outgoing mail server in
Outlook. But this might not work, depending on your set-up. If you relay
the mail to your ISP's mailserver, it probably won't handle incoming
mail from addresses outside his domain.

[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list