Re: mail server

2012-06-12 Thread Jerry McAllister
On Wed, Jun 13, 2012 at 12:55:08AM +0400, Boris Samorodov wrote:

> 11.06.2012 16:33, Bahaa Babekir ??:
> 
> > I want to sent me configuration to build mail server step by step
> 
> I'd suggest to begin with:
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail.html

Yes, read the handbook first and then ask specific questions.
You need to do your homework.
This shotgun style of question will not get much useful response.

But, making a mail server with FreeBSD is so easy.   Unless you
want to do something weird or exotic, then FreeBSD already comes
with a good mail server all installed.   All you have to do it
enable it.Put  sendmail_enable="yes"  in /etc/rc.conf and
the next time you reboot you have the most common mail server running.
It will receive and send Email just fine.   Then you might want to
install mutt from /usr/ports/mail/mutt  or some other Email client
to help you read your Email.  Of course, you could just use the 
already installed 'mail' utility.   

If you must have a web-based Email reader, try installing squirrelmail.

jerry   

> 
> -- 
> WBR, Boris Samorodov (bsam)
> FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
> ___
> 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"
> 
___
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: mail server

2012-06-12 Thread Boris Samorodov
11.06.2012 16:33, Bahaa Babekir пишет:

> I want to sent me configuration to build mail server step by step

I'd suggest to begin with:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail.html

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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"


mail server

2012-06-11 Thread Bahaa Babekir
I want to sent me configuration to build mail server step by step
-- 
bahaa
___
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: mail server config

2012-02-02 Thread Walt Elam
> I'm getting ready to install a new mail server.  I want to configure
> sendmail+clamav+spamassassin+**mimedefang.


I believe postfix is considered to be much more secure and better then
sendmail overall. I have a mail server and find that postfix was pretty
easy to setup and configure. In addition, it is easy to manage with qshape,
which installs along with Postfix.

The Postfix website has great documentation if you are interested in going
this route: http://www.postfix.org/documentation.html

-Walt
___
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"


mail server config

2012-02-02 Thread AN
I'm getting ready to install a new mail server.  I want to configure 
sendmail+clamav+spamassassin+mimedefang.  Does anyone have some pointers 
or  howto docs to share?  I read somewhere that spamassassin-milter has 
security issues.  Is mime-defang a better option or should I consider 
something else.  Any help is appreciated.


TIA
___
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: My mail server flagged spam!

2010-10-24 Thread Byung-Hee HWANG
Marwan Sultan  writes:

> Hello list..
>  
>   Well! im kinda lost here..
>   I have like 8 domains hosted in my server. FreeBSD 7.2R, (...)
>   I have few customers complaining that thier emails (...)
>   Anyhints please?

Well, i think you should move to Google Apps. It's very safe,
reliable. And several big guns use it. An example is below:

https://mail.google.com/a/berkeley.edu>

Sincerely,

-- 
소여물 황병희(黃炳熙) | .. 출항 15분전..

"Consult the best lawyers on criminal law."
-- Vito Corleone, "Chapter 20", page 296


pgphcuOcb8fXK.pgp
Description: PGP signature


RE: My mail server flagged spam!

2010-10-24 Thread Robert Bonomi
> From owner-freebsd-questi...@freebsd.org  Sat Oct 23 17:45:25 2010
> From: Marwan Sultan 
> To: 
> Date: Sat, 23 Oct 2010 22:46:40 +
> Cc: FreeBSD Questions 
> Subject: RE: My mail server flagged spam!
>
>
> Dear Dr. Matthew.=2C
> =20
>When my client or any clients uses the web mail that i have configured=
> =2C=20
>then everything works fine NO spam problems and email will be
>received by hotmail=2C gmail and vise versa.
> =20
>I found out that this particular client complaining because they use
>outlook express NOT the web mail.
> =20
>they configure their outlook express to use SMTP user/password
>with mail.clinet_domain.com as incoming/outgoing.
> =20
>   even if they send from x...@client_domain to ad...@mydomain.com
>   both are in same server=2C I will still receive it as SPAM.
>   (They are sending from outlook.)
> =20
>   looking at spam log=2C and why its scored as spam.. here is a copy.
> =20
> pts rule name  description=20
>  -- ---=
> ---=20
> 0.9 RCVD_IN_PBLRBL: Received via a relay in Spamhaus PBL=20
>[95.66.68.100 listed in zen.spamhaus.org]=20
> 0.0 HTML_MESSAGE   BODY: HTML included in message=20
> 0.0 BAYES_50   BODY: Bayesian spam probability is 40 to 60%=20
>[score: 0.5019]=20
> 2.2 TVD_SPACE_RATIOBODY: TVD_SPACE_RATIO=20
> 0.1 RDNS_NONE  Delivered to trusted network by a host with no r=
> DNS=20
> 2.8 DOS_OE_TO_MX   Delivered direct to MX with OE headers=20
> =20
> =20
> As you see 2.8 for DOS_OE_TO_MX
> and 2.2 for TVD_SPACE_RATIO
> =20
>  I have looked for DOS_OE_TO_MX
>  and it says because client is sending "directly" to MX records?
>  well! i asked them to use "mail.server_name.com" for income/outgoing
>  for outlook express..but still the same error and email is scored as spam.
> =20
>  Any help is highly appreciate it.


lots of stuff is mis-configured.

If you have people outside your network addresses trying to send mail 
through your server, you need to be running a 'mail submission agent'
on port 587, as well as the MTA on port 25.  If you're not doing this
already, you'll have to set it up.  Since this access is password
protected, and available only to your 'trusted' users, it does -not-
need spam-filtering on it. (usually, that is -- you know your customers
better than we do :)

*AND* the client using Outlook Express needs to configure _it_ to use your
server *on*port*587* as the 'outgoing mail server'.

This will require entering 'authentication' information (username and
password) into Outlook Express.


___
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: My mail server flagged spam!

2010-10-24 Thread Chuck Swiger
On Oct 24, 2010, at 3:28 PM, Marwan Sultan wrote:
[ ... ] 
>  Now to avoid the 2.8 DOS_OE_TO_MXDelivered direct to MX with OE headers 
> error..
>  shall i add my domains MX records to local.cf as
>  trusted_networks mail.domain.com
>  or as
>  internal_networks mail.domain.com ?

Please see:

http://spamassassin.apache.org/full/3.3.x/doc/Mail_SpamAssassin_Conf.html#network_test_options
http://wiki.apache.org/spamassassin/TrustPath

"Why should trusted_networks and internal_networks ever be different?

A mail relay that you want to trust in trusted_networks may itself trust its 
own internal dynamic IP networks. You may trust them not to be a spam source 
but putting them into your internal_networks list would create a false positive 
because then those dynamic IPs would be searched for in the DUL lists. This is 
an example where the two lists need to be different."

If need be, also consider whitelist_from_rcvd (or maybe whitelist_auth if you 
implement SPF or DKIM).  I'm also told that something like:

  meta AUTHD_RELAY !__LAST_UNTRUSTED_RELAY_NO_AUTH 
  describe AUTHD_RELAY Message submission was via an authenticated user 
  score AUTHD_RELAY -10 

I believe there is even an optional patch in the spamass-milter port:

  
http://www.freebsd.org/cgi/cvsweb.cgi/ports/mail/spamass-milter/files/extra-patch-addauth?rev=1.2

...but it is probably better to just tweak the scoring a bit.  Or switch to 
using amavisd-new, which could allow greater flexibility also

Regards,
-- 
-Chuck

___
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: My mail server flagged spam!

2010-10-24 Thread Marwan Sultan

Dear Chuk,
 
 Im almost there..
 Im trying to tweak local.cf (the spamassassin configuration file) to trust 
SMTP logins..
 and Im kinda lost.
 
 I donot use postfix. I use sendmail + spamassassin. FBSD 7.2
 
 Now to avoid the 2.8 DOS_OE_TO_MXDelivered direct to MX with OE headers 
 error..
 shall i add my domains MX records to local.cf as
 trusted_networks mail.domain.com
 or as
 internal_networks mail.domain.com ?
 
 Or its something else!
 
I would appreciate your help.
 
 - Marwan
 
> 
> On Oct 23, 2010, at 3:46 PM, Marwan Sultan wrote:
> > they configure their outlook express to use SMTP user/password
> > with mail.clinet_domain.com as incoming/outgoing.
> > 
> > even if they send from x...@client_domain to ad...@mydomain.com
> > both are in same server, I will still receive it as SPAM.
> > (They are sending from outlook.)
> 
> When someone is an authorized user of email, ie, they login to your SMTP 
> server via a good username+password, then you should configure your spam 
> filtering to treat them as trusted. For example, in postfix you could have:
> 
> smtpd_recipient_restrictions = permit_mynetworks,
> permit_sasl_authenticated,
> [ ...before checks like... ]
> check_policy_service inet:127.0.0.1:12525,
> check_policy_service inet:127.0.0.1:10023,
> 
> Regards,
> -- 
> -Chuck
> 
> ___
> 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"
  
___
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: My mail server flagged spam!

2010-10-23 Thread Chuck Swiger
On Oct 23, 2010, at 3:46 PM, Marwan Sultan wrote:
>  they configure their outlook express to use SMTP user/password
>  with mail.clinet_domain.com as incoming/outgoing.
> 
>  even if they send from x...@client_domain to ad...@mydomain.com
>  both are in same server, I will still receive it as SPAM.
>  (They are sending from outlook.)

When someone is an authorized user of email, ie, they login to your SMTP server 
via a good username+password, then you should configure your spam filtering to 
treat them as trusted.  For example, in postfix you could have:

smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated,
[ ...before checks like... ]
check_policy_service inet:127.0.0.1:12525,
check_policy_service inet:127.0.0.1:10023,

Regards,
-- 
-Chuck

___
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: My mail server flagged spam!

2010-10-23 Thread Marwan Sultan

Dear Dr. Matthew.,
 
   When my client or any clients uses the web mail that i have configured, 
   then everything works fine NO spam problems and email will be
   received by hotmail, gmail and vise versa.
 
   I found out that this particular client complaining because they use
   outlook express NOT the web mail.
 
   they configure their outlook express to use SMTP user/password
   with mail.clinet_domain.com as incoming/outgoing.
 
  even if they send from x...@client_domain to ad...@mydomain.com
  both are in same server, I will still receive it as SPAM.
  (They are sending from outlook.)
 
  looking at spam log, and why its scored as spam.. here is a copy.
 
pts rule name  description 
 -- -- 
0.9 RCVD_IN_PBLRBL: Received via a relay in Spamhaus PBL 
   [95.66.68.100 listed in zen.spamhaus.org] 
0.0 HTML_MESSAGE   BODY: HTML included in message 
0.0 BAYES_50   BODY: Bayesian spam probability is 40 to 60% 
   [score: 0.5019] 
2.2 TVD_SPACE_RATIOBODY: TVD_SPACE_RATIO 
0.1 RDNS_NONE  Delivered to trusted network by a host with no rDNS 
2.8 DOS_OE_TO_MX   Delivered direct to MX with OE headers 
 
 
As you see 2.8 for DOS_OE_TO_MX
and 2.2 for TVD_SPACE_RATIO
 
 I have looked for DOS_OE_TO_MX
 and it says because client is sending "directly" to MX records?
 well! i asked them to use "mail.server_name.com" for income/outgoing
 for outlook express..but still the same error and email is scored as spam.
 
 Any help is highly appreciate it.
 
- Marwan
 
> Date: Thu, 21 Oct 2010 06:42:06 +0100
> From: m.sea...@infracaninophile.co.uk
> To: dead_l...@hotmail.com
> CC: freebsd-questions@freebsd.org
> Subject: Re: My mail server flagged spam!
> 
> On 21/10/2010 01:10, Marwan Sultan wrote:
> > if I check that domain in mxtoolbox.com
> > it complains "Warning - Reverse DNS does not match SMTP Banner"
> > could it be the SMTP banner flagging the mail as spam?
> 
> This is certainly possible. It would add spam points on my servers.
> 
> The address in question is the one presented by your mail server during
> the SMTP dialogue -- the first line it sends in fact. Something like this:
> 
> EHLO smtp.example.com
> 
> By default it will use the hostname of your server, but you can override
> that.
> 
> It is this address that you have to be really strict about: the address
> should resolve to the IP that the server connects via (not necessarily
> the IP of the server if there are NAT gateways involved), and a reverse
> lookup of that IP should return the name again.
> 
> This name used in the EHLO banner doesn't have to be anything to do with
> the addresses on the e-mail, except in as far as either side is using
> SPF and you have chosen to add that information to the SPF selector(s).
> SPF seems to be going out of favour now, and sensible mail admins
> didn't make accept/deny decisions entirely on pass/fail of SPF tests,
> but still, for best results with a mail system, you should take care to
> get that right.
> 
> Cheers,
> 
> Matthew
> 
> -- 
> Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
> Flat 3
> PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
> JID: matt...@infracaninophile.co.uk Kent, CT11 9PW
> 
  
___
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: My mail server flagged spam!

2010-10-20 Thread Matthew Seaman
On 21/10/2010 01:10, Marwan Sultan wrote:
>   if I check that domain in mxtoolbox.com
>   it complains "Warning - Reverse DNS does not match SMTP Banner"
>   could it be the SMTP banner flagging the mail as spam?

This is certainly possible.  It would add spam points on my servers.

The address in question is the one presented by your mail server during
the SMTP dialogue -- the first line it sends in fact.  Something like this:

   EHLO smtp.example.com

By default it will use the hostname of your server, but you can override
that.

It is this address that you have to be really strict about: the address
should resolve to the IP that the server connects via (not necessarily
the IP of the server if there are NAT gateways involved), and a reverse
lookup of that IP should return the name again.

This name used in the EHLO banner doesn't have to be anything to do with
the addresses on the e-mail, except in as far as either side is using
SPF and you have chosen to add that information to the SPF selector(s).
 SPF seems to be going out of favour now, and sensible mail admins
didn't make accept/deny decisions entirely on pass/fail of SPF tests,
but still, for best results with a mail system, you should take care to
get that right.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: My mail server flagged spam!

2010-10-20 Thread Chuck Swiger
On Oct 20, 2010, at 5:10 PM, Marwan Sultan wrote:
> Hello list..
> 
>  Well! im kinda lost here..
>  I have like 8 domains hosted in my server. FreeBSD 7.2R, sendmail, 
> openwebmail, spamassassin, milter all installed.
> 
>  I have few customers complaining that thier emails (the domain they send 
> from) to hotmail/yahoo..etc..
>  flagged as spam! i have googled and found most of problems about forward, 
> reverse DNS.
>  for me PTR, reverse DNS matchs the domain name. all the 8 domains matchs 
> reverse, PTR.

Since you didn't provide an example DSN or even anonymized logs of a bounce, we 
can't guess-- in general you'd discuss a specific bounce message with the 
postmaster of site which bounced it.  As for hotmail.com, they can't even be 
bothered to make postmaster@ work:

  http://www.rfc-ignorant.org/tools/lookup.php?domain=hotmail.com

...which means they're sufficiently broken that you should expect mail failures.

Regards,
-- 
-Chuck

___
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"


My mail server flagged spam!

2010-10-20 Thread Marwan Sultan

Hello list..
 
  Well! im kinda lost here..
  I have like 8 domains hosted in my server. FreeBSD 7.2R, sendmail, 
openwebmail, spamassassin, milter all installed.
 
  I have few customers complaining that thier emails (the domain they send 
from) to hotmail/yahoo..etc..
  flagged as spam! i have googled and found most of problems about forward, 
reverse DNS.
  for me PTR, reverse DNS matchs the domain name. all the 8 domains matchs 
reverse, PTR.
 
  if I check that domain in mxtoolbox.com
  it complains "Warning - Reverse DNS does not match SMTP Banner"
  could it be the SMTP banner flagging the mail as spam?
 
  ofcourse the SMTP banner matchs 1 domain out of the 8. which is my server 
main domain.
  SO if anyone sends any email from my server the SMTP banner will show my 
sever name.
  this one should not be a problem isnt?
 
  Now the case become worse! the same customers who are using that domain
  complaining that even if they send to the same domain name x...@domain1.com 
to y...@domain1.com
  same domain to same server.. its flagged as spam too.
 
  No, none of my domains in any black list.
 
  Anyhints please?
 
  Thank you
- Marwan Sultan   
___
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: Help with setting up a mail server

2010-07-23 Thread krad
On 23 July 2010 10:12, Odhiambo Washington  wrote:

> On Thu, Jul 22, 2010 at 8:28 PM, Jerry  wrote:
>
> > On Thu, 22 Jul 2010 17:28:00 +0300
> > Odhiambo Washington  articulated:
> >
> > > On Thu, Jul 22, 2010 at 4:52 PM, Jerry 
> > wrote:
> > >
> > > > On Thu, 22 Jul 2010 13:32:36 +0100
> > > > krad  articulated:
> > > >
> > > >
> > > > > yep I know exim is sendmail cli compatible, but the output from
> > sendmail
> > > > is
> > > > > not the same on exim (interactive prompt). You can probably get
> > similar
> > > > > output from sendmail, but with most things sendmail it is archaic
> and
> > > > > obfuscated.
> > > >
> > > > With Postfix installed, using "sendmail -bv" works quite well.
> > > >
> > >
> > > With Postfix installed and configured or just installed? I just
> > installed.
> > >
> > > [w...@mail ~]$ ls -al /usr/local/sbin/sendmail
> > > -rwxr-xr-x  1 root  wheel  202361 Jul 22 17:23 /usr/local/sbin/sendmail
> > > [w...@mail ~]$ /usr/local/sbin/sendmail -bv odhia...@gmail.com
> > > postdrop: warning: unable to look up public/pickup: No such file or
> > > directory
> > > Mail Delivery Status Report will be mailed to .
> > >
> > > [w...@mail ~]$ /usr/local/sbin/sendmail -d -bv odhia...@gmail.com
> > > sendmail: illegal option -- d
> > > sendmail: illegal option -- d
> > > sendmail: fatal: usage: sendmail [options]
> > >
> > > [w...@mail ~]$ exim -bt odhia...@gmail.com
> > > odhia...@gmail.com
> > >   router = dnslookup, transport = remote_smtp
> > >   host gmail-smtp-in.l.google.com  [209.85.227.27] MX=5
> > >   host alt1.gmail-smtp-in.l.google.com [74.125.39.27]  MX=10
> > >   host alt2.gmail-smtp-in.l.google.com [74.125.53.27]  MX=20
> > >   host alt3.gmail-smtp-in.l.google.com [74.125.95.27]  MX=30
> > >   host alt4.gmail-smtp-in.l.google.com [74.125.65.27]  MX=40
> > >
> > > I cannot post the output that comes with -d here, it's so much that
> > trying
> > > to feed the trawl will get it chocked:-)
> > >
> > >
> >
> >
> > For starters, you are using the wrong sendmail. You need to use the
> > Postfix 'sendmail' version.
> >
> > $ which sendmail
> > /usr/sbin/sendmail
> >
> > I have Postfix installed and running. Sorry, I thought that was obvious.
> >
> > Typing: "man sendmail" should show this at the top of the page:
> >
> > "NAME   sendmail - Postfix to Sendmail compatibility interface"
> >
> > If not, then something is configured incorrectly. By the way, in order
> > to run Postfix, you have to completely shutdown the base system's
> > 'sendmail'
> >
> > cat /etc/rc.conf
> >
> > # Shutdown sendmail
> > sendmail_enable="NO"
> > sendmail_msp_queue_enable="NO"
> > sendmail_outbound_enable="NO"
> > sendmail_submit_enable="NO"
> >
> > #Start Postfix
> > postfix_enable="YES"
> >
> >
> Looks like you are trying to coax me into running Postfix! I am an Exim-er
> by blood :-)
>
> --
> Best regards,
> Odhiambo WASHINGTON,
> Nairobi,KE
> +254733744121/+254722743223
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> "If you have nothing good to say about someone, just shut up!."
>   -- Lucky Dube
> ___
> 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"
>


don't do it!!!
___
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: Help with setting up a mail server

2010-07-23 Thread Odhiambo Washington
On Thu, Jul 22, 2010 at 8:28 PM, Jerry  wrote:

> On Thu, 22 Jul 2010 17:28:00 +0300
> Odhiambo Washington  articulated:
>
> > On Thu, Jul 22, 2010 at 4:52 PM, Jerry 
> wrote:
> >
> > > On Thu, 22 Jul 2010 13:32:36 +0100
> > > krad  articulated:
> > >
> > >
> > > > yep I know exim is sendmail cli compatible, but the output from
> sendmail
> > > is
> > > > not the same on exim (interactive prompt). You can probably get
> similar
> > > > output from sendmail, but with most things sendmail it is archaic and
> > > > obfuscated.
> > >
> > > With Postfix installed, using "sendmail -bv" works quite well.
> > >
> >
> > With Postfix installed and configured or just installed? I just
> installed.
> >
> > [w...@mail ~]$ ls -al /usr/local/sbin/sendmail
> > -rwxr-xr-x  1 root  wheel  202361 Jul 22 17:23 /usr/local/sbin/sendmail
> > [w...@mail ~]$ /usr/local/sbin/sendmail -bv odhia...@gmail.com
> > postdrop: warning: unable to look up public/pickup: No such file or
> > directory
> > Mail Delivery Status Report will be mailed to .
> >
> > [w...@mail ~]$ /usr/local/sbin/sendmail -d -bv odhia...@gmail.com
> > sendmail: illegal option -- d
> > sendmail: illegal option -- d
> > sendmail: fatal: usage: sendmail [options]
> >
> > [w...@mail ~]$ exim -bt odhia...@gmail.com
> > odhia...@gmail.com
> >   router = dnslookup, transport = remote_smtp
> >   host gmail-smtp-in.l.google.com  [209.85.227.27] MX=5
> >   host alt1.gmail-smtp-in.l.google.com [74.125.39.27]  MX=10
> >   host alt2.gmail-smtp-in.l.google.com [74.125.53.27]  MX=20
> >   host alt3.gmail-smtp-in.l.google.com [74.125.95.27]  MX=30
> >   host alt4.gmail-smtp-in.l.google.com [74.125.65.27]  MX=40
> >
> > I cannot post the output that comes with -d here, it's so much that
> trying
> > to feed the trawl will get it chocked:-)
> >
> >
>
>
> For starters, you are using the wrong sendmail. You need to use the
> Postfix 'sendmail' version.
>
> $ which sendmail
> /usr/sbin/sendmail
>
> I have Postfix installed and running. Sorry, I thought that was obvious.
>
> Typing: "man sendmail" should show this at the top of the page:
>
> "NAME   sendmail - Postfix to Sendmail compatibility interface"
>
> If not, then something is configured incorrectly. By the way, in order
> to run Postfix, you have to completely shutdown the base system's
> 'sendmail'
>
> cat /etc/rc.conf
>
> # Shutdown sendmail
> sendmail_enable="NO"
> sendmail_msp_queue_enable="NO"
> sendmail_outbound_enable="NO"
> sendmail_submit_enable="NO"
>
> #Start Postfix
> postfix_enable="YES"
>
>
Looks like you are trying to coax me into running Postfix! I am an Exim-er
by blood :-)

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"If you have nothing good to say about someone, just shut up!."
   -- Lucky Dube
___
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: Help with setting up a mail server

2010-07-23 Thread Ruben de Groot
On Thu, Jul 22, 2010 at 09:52:53AM -0400, Jerry typed:
> On Thu, 22 Jul 2010 13:32:36 +0100
> krad  articulated:
> 
> 
> > yep I know exim is sendmail cli compatible, but the output from sendmail is
> > not the same on exim (interactive prompt). You can probably get similar
> > output from sendmail, but with most things sendmail it is archaic and
> > obfuscated.
> 
> With Postfix installed, using "sendmail -bv" works quite well.

Unneeded. Same works with base sendmail.

___
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: Help with setting up a mail server

2010-07-22 Thread RW
On Thu, 22 Jul 2010 13:28:54 -0400
Jerry  wrote:


> For starters, you are using the wrong sendmail. You need to use the
> Postfix 'sendmail' version.
> 
> $ which sendmail
> /usr/sbin/sendmail
> 
> I have Postfix installed and running. Sorry, I thought that was
> obvious.
> 
> Typing: "man sendmail" should show this at the top of the page:
> 
> "NAME   sendmail - Postfix to Sendmail compatibility interface"

On FreeBSD /usr/sbin/sendmail is a link to mailwrapper(8), which is a
part of the base system.
___
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: Help with setting up a mail server

2010-07-22 Thread Jerry
On Thu, 22 Jul 2010 17:28:00 +0300
Odhiambo Washington  articulated:

> On Thu, Jul 22, 2010 at 4:52 PM, Jerry  wrote:
> 
> > On Thu, 22 Jul 2010 13:32:36 +0100
> > krad  articulated:
> >
> >
> > > yep I know exim is sendmail cli compatible, but the output from sendmail
> > is
> > > not the same on exim (interactive prompt). You can probably get similar
> > > output from sendmail, but with most things sendmail it is archaic and
> > > obfuscated.
> >
> > With Postfix installed, using "sendmail -bv" works quite well.
> >
> 
> With Postfix installed and configured or just installed? I just installed.
> 
> [w...@mail ~]$ ls -al /usr/local/sbin/sendmail
> -rwxr-xr-x  1 root  wheel  202361 Jul 22 17:23 /usr/local/sbin/sendmail
> [w...@mail ~]$ /usr/local/sbin/sendmail -bv odhia...@gmail.com
> postdrop: warning: unable to look up public/pickup: No such file or
> directory
> Mail Delivery Status Report will be mailed to .
> 
> [w...@mail ~]$ /usr/local/sbin/sendmail -d -bv odhia...@gmail.com
> sendmail: illegal option -- d
> sendmail: illegal option -- d
> sendmail: fatal: usage: sendmail [options]
> 
> [w...@mail ~]$ exim -bt odhia...@gmail.com
> odhia...@gmail.com
>   router = dnslookup, transport = remote_smtp
>   host gmail-smtp-in.l.google.com  [209.85.227.27] MX=5
>   host alt1.gmail-smtp-in.l.google.com [74.125.39.27]  MX=10
>   host alt2.gmail-smtp-in.l.google.com [74.125.53.27]  MX=20
>   host alt3.gmail-smtp-in.l.google.com [74.125.95.27]  MX=30
>   host alt4.gmail-smtp-in.l.google.com [74.125.65.27]  MX=40
> 
> I cannot post the output that comes with -d here, it's so much that trying
> to feed the trawl will get it chocked:-)
> 
> 


For starters, you are using the wrong sendmail. You need to use the
Postfix 'sendmail' version.

$ which sendmail
/usr/sbin/sendmail

I have Postfix installed and running. Sorry, I thought that was obvious.

Typing: "man sendmail" should show this at the top of the page:

"NAME   sendmail - Postfix to Sendmail compatibility interface"

If not, then something is configured incorrectly. By the way, in order
to run Postfix, you have to completely shutdown the base system's
'sendmail'

cat /etc/rc.conf

# Shutdown sendmail
sendmail_enable="NO"
sendmail_msp_queue_enable="NO"
sendmail_outbound_enable="NO"
sendmail_submit_enable="NO"

#Start Postfix
postfix_enable="YES"

-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
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: Help with setting up a mail server

2010-07-22 Thread Odhiambo Washington
On Thu, Jul 22, 2010 at 4:52 PM, Jerry  wrote:

> On Thu, 22 Jul 2010 13:32:36 +0100
> krad  articulated:
>
>
> > yep I know exim is sendmail cli compatible, but the output from sendmail
> is
> > not the same on exim (interactive prompt). You can probably get similar
> > output from sendmail, but with most things sendmail it is archaic and
> > obfuscated.
>
> With Postfix installed, using "sendmail -bv" works quite well.
>

With Postfix installed and configured or just installed? I just installed.

[w...@mail ~]$ ls -al /usr/local/sbin/sendmail
-rwxr-xr-x  1 root  wheel  202361 Jul 22 17:23 /usr/local/sbin/sendmail
[w...@mail ~]$ /usr/local/sbin/sendmail -bv odhia...@gmail.com
postdrop: warning: unable to look up public/pickup: No such file or
directory
Mail Delivery Status Report will be mailed to .

[w...@mail ~]$ /usr/local/sbin/sendmail -d -bv odhia...@gmail.com
sendmail: illegal option -- d
sendmail: illegal option -- d
sendmail: fatal: usage: sendmail [options]

[w...@mail ~]$ exim -bt odhia...@gmail.com
odhia...@gmail.com
  router = dnslookup, transport = remote_smtp
  host gmail-smtp-in.l.google.com  [209.85.227.27] MX=5
  host alt1.gmail-smtp-in.l.google.com [74.125.39.27]  MX=10
  host alt2.gmail-smtp-in.l.google.com [74.125.53.27]  MX=20
  host alt3.gmail-smtp-in.l.google.com [74.125.95.27]  MX=30
  host alt4.gmail-smtp-in.l.google.com [74.125.65.27]  MX=40

I cannot post the output that comes with -d here, it's so much that trying
to feed the trawl will get it chocked:-)


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"If you have nothing good to say about someone, just shut up!."
   -- Lucky Dube
___
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: Help with setting up a mail server

2010-07-22 Thread Jerry
On Thu, 22 Jul 2010 13:32:36 +0100
krad  articulated:


> yep I know exim is sendmail cli compatible, but the output from sendmail is
> not the same on exim (interactive prompt). You can probably get similar
> output from sendmail, but with most things sendmail it is archaic and
> obfuscated.

With Postfix installed, using "sendmail -bv" works quite well.

-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
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: Help with setting up a mail server

2010-07-22 Thread krad
On 22 July 2010 12:26, Ruben de Groot  wrote:

> On Wed, Jul 21, 2010 at 07:35:48PM +0100, krad typed:
> >
> > while we are on the topic of debugging I would recomend exim as an MTA. I
> > manage a few large enterprise mail systems with 10M + active accounts. A
> lot
> > of them are legacy systems that we gained through acquisitions. I
> generally
> > have to support them until we can get the accounts migrated onto the main
> > platform. They are a mixture of exim, postfix, qmail, and sendmail, and
> > quite often are in a poor state when we first get our hands on them. I
> have
> > to say when you are getting mail routing issues exim is by the far the
> > easiest to debug mainly due to the -bt option. When you combine it with
> the
> > debug flag it produced a very detailed output on the mail routing. I have
> > never found such a feature in all the other MTA's above.
>
> Actually, the -bt option comes from sendmail originally ;)
>
>
yep I know exim is sendmail cli compatible, but the output from sendmail is
not the same on exim (interactive prompt). You can probably get similar
output from sendmail, but with most things sendmail it is archaic and
obfuscated.
___
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: Help with setting up a mail server

2010-07-22 Thread Ruben de Groot
On Wed, Jul 21, 2010 at 07:35:48PM +0100, krad typed:
> 
> while we are on the topic of debugging I would recomend exim as an MTA. I
> manage a few large enterprise mail systems with 10M + active accounts. A lot
> of them are legacy systems that we gained through acquisitions. I generally
> have to support them until we can get the accounts migrated onto the main
> platform. They are a mixture of exim, postfix, qmail, and sendmail, and
> quite often are in a poor state when we first get our hands on them. I have
> to say when you are getting mail routing issues exim is by the far the
> easiest to debug mainly due to the -bt option. When you combine it with the
> debug flag it produced a very detailed output on the mail routing. I have
> never found such a feature in all the other MTA's above.

Actually, the -bt option comes from sendmail originally ;)

___
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: Help with setting up a mail server

2010-07-21 Thread krad
On 21 July 2010 16:24, Cristiano Deana  wrote:

> On Tue, Jul 20, 2010 at 3:26 PM, Aryeh M. Friedman
>  wrote:
>
> > I am a consultant and was retained by my client to setup qmail or exim
> > on a VPS running 8.0-STABLE (i386). After setting up the DNS (A record
> > and MX record) we have been unable to send or receive mail.
>
> steps:
>
> a) check if your dns are correct:
> # dig yourdomain.com mx
> (eg:)
> mail.yourdomain.com
> # telnet mail.yourdomain.com 25
>
> does it reply or not?
>
> a) reply
>  check if your mta is cofigured correctly:
>  telnet mail.yourdomain.com 25 # write:
>  ehlo gmail.com
>  mail from: aryeh.fried...@gmail.com
>  rcpt to: example_u...@yourdomain.com
>  data
>  Subject: Test
>  .
>
>  does it reply with a
>  2XX code? with a 4XX code? 5XX code?
>
> b) doesn't reply
>  does mail.yourdomain.com resolve to your mailserver's IP?
>  is your daemon runnig?
>
> p.s
> if you give us more REAL information (domain, ip, etc) we can hel you more.
>
>
>
> --
> Cris, member of G.U.F.I
> Italian FreeBSD User Group
> http://www.gufi.org/
> ___
> 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"
>


while we are on the topic of debugging I would recomend exim as an MTA. I
manage a few large enterprise mail systems with 10M + active accounts. A lot
of them are legacy systems that we gained through acquisitions. I generally
have to support them until we can get the accounts migrated onto the main
platform. They are a mixture of exim, postfix, qmail, and sendmail, and
quite often are in a poor state when we first get our hands on them. I have
to say when you are getting mail routing issues exim is by the far the
easiest to debug mainly due to the -bt option. When you combine it with the
debug flag it produced a very detailed output on the mail routing. I have
never found such a feature in all the other MTA's above.

The configs are also very readable unlike sendmail.
___
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: Help with setting up a mail server

2010-07-21 Thread Cristiano Deana
On Tue, Jul 20, 2010 at 3:26 PM, Aryeh M. Friedman
 wrote:

> I am a consultant and was retained by my client to setup qmail or exim
> on a VPS running 8.0-STABLE (i386). After setting up the DNS (A record
> and MX record) we have been unable to send or receive mail.

steps:

a) check if your dns are correct:
# dig yourdomain.com mx
(eg:)
mail.yourdomain.com
# telnet mail.yourdomain.com 25

does it reply or not?

a) reply
 check if your mta is cofigured correctly:
 telnet mail.yourdomain.com 25 # write:
  ehlo gmail.com
  mail from: aryeh.fried...@gmail.com
  rcpt to: example_u...@yourdomain.com
  data
  Subject: Test
  .

 does it reply with a
 2XX code? with a 4XX code? 5XX code?

b) doesn't reply
 does mail.yourdomain.com resolve to your mailserver's IP?
 is your daemon runnig?

p.s
if you give us more REAL information (domain, ip, etc) we can hel you more.



-- 
Cris, member of G.U.F.I
Italian FreeBSD User Group
http://www.gufi.org/
___
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: Help with setting up a mail server

2010-07-21 Thread Jerry
On Wed, 21 Jul 2010 08:54:44 +0300
Odhiambo Washington  articulated:

> I doubt anyone makes a choice on an MTA (or any other software) based
> on it's RFC-compliance.
> In my experience, it's normally boils down to:
> 
> 1. It has the features that I want
> 2. I can swim with it in times of toruble

Microsoft has been claiming for years that adherence to standards is
not a requirement. While they are certainly entitled to their opinion,
I would definitely disagree. A quick perusal of http://slashdot.org/
would tend to discredit your remark that, "doubt anyone makes a choice
on an MTA (or any other software) based on it's RFC-compliance" statement.

As always, selection of tools and their suitability to the task is left
up to the end user.

-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

One man's constant is another man's variable.

Alan J. Perlis
___
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: Help with setting up a mail server

2010-07-20 Thread Tim Judd
On 7/20/10, Odhiambo Washington  wrote:
> On Tue, Jul 20, 2010 at 11:50 PM, Jerry  wrote:
>> On Tue, 20 Jul 2010 21:03:55 +0300
>> Odhiambo Washington  articulated:
>>
>>
>>> On Tue, Jul 20, 2010 at 4:46 PM, Aryeh M. Friedman
>>>  wrote:
>>> > On Tue, 20 Jul 2010 09:33:28 -0400
>>> > Jerry  wrote:
>>> >
>>> >> On Tue, 20 Jul 2010 09:26:44 -0400
>>> >> Aryeh M. Friedman  articulated:
>>> >>
>>> >> > I am a consultant and was retained by my client to setup qmail or
>>> >> > exim on a VPS running 8.0-STABLE (i386). After setting up the DNS
>>> >> > (A record and MX record) we have been unable to send or receive
>>> >> > mail. The client has/had a working script for installing qmail on
>>> >> > 7.1-STABLE but it seems to not work on 8.0-STABLE. They are using
>>> >> > the same VPS provider who this 7.1-STABLE install script worked
>>> >> > under. I have tried everything I can think of to make it work
>>> >> > including asking obvious questions on -questi...@.
>>> >> >
>>> >> > I informed the client that the task is likely beyond me capabilities
>>> >> > but I would help recruit someone who would be able to do it at a
>>> >> > reasonable fee paid to them (I am acting as a no cost middle man on
>>> >> > this [I am helping the client for free since I was unable to get it
>>> >> > done]).
>>> >> >
>>> >> > Please send any ideas and/or offers to do the job
>>> >>
>>> >> I would seriously suggest that you consider installing Postfix. It is
>>> >> in the ports tree, is well maintained and works out of the box. The
>>> >> Postfix forum will be glad to give you any advice you need for setting
>>> >> up and securing your mail server. Qmail is no longer supported by its
>>> >> author and can be a nightmare to maintain.
>>> >>
>>> >
>>> > We had also tried sendmail and couldn't get that working either so I
>>> > suspect it is a general config issue not a MTA one.  (I have set
>>> > sendmail up about 30 times in the past so I know a little bit about it)
>>>
>>> Exim is a very good choice. Forget the Postfix suggestions. It's
>>> Sendmail's brother:-)
>>
>> At least Postfix is fully RFC compliant, as opposed to Exim.
>>
>> SEE: RFC 2034 (SMTP enhanced status codes), RFC 3461-4 (delivery status
>> notifications), RFC 1652 (8-bit MIME including 8->7bit conversion)
>> among others.
>
> I doubt anyone makes a choice on an MTA (or any other software) based
> on it's RFC-compliance.
> In my experience, it's normally boils down to:
>
> 1. It has the features that I want
> 2. I can swim with it in times of toruble

I for one like to know that it is RFC compliant.  it's a reason RFCs
are made, so there can be standardization...  So yes, I do choose
based on compliance.  (anyone use Firefox over IE at work because
Firefox "works better"?)

"Did you get my email?"  "no, but i get everyone elses, let's check
the logs and find out why"
___
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: Help with setting up a mail server

2010-07-20 Thread Odhiambo Washington
On Tue, Jul 20, 2010 at 11:50 PM, Jerry  wrote:
> On Tue, 20 Jul 2010 21:03:55 +0300
> Odhiambo Washington  articulated:
>
>
>> On Tue, Jul 20, 2010 at 4:46 PM, Aryeh M. Friedman
>>  wrote:
>> > On Tue, 20 Jul 2010 09:33:28 -0400
>> > Jerry  wrote:
>> >
>> >> On Tue, 20 Jul 2010 09:26:44 -0400
>> >> Aryeh M. Friedman  articulated:
>> >>
>> >> > I am a consultant and was retained by my client to setup qmail or
>> >> > exim on a VPS running 8.0-STABLE (i386). After setting up the DNS
>> >> > (A record and MX record) we have been unable to send or receive
>> >> > mail. The client has/had a working script for installing qmail on
>> >> > 7.1-STABLE but it seems to not work on 8.0-STABLE. They are using
>> >> > the same VPS provider who this 7.1-STABLE install script worked
>> >> > under. I have tried everything I can think of to make it work
>> >> > including asking obvious questions on -questi...@.
>> >> >
>> >> > I informed the client that the task is likely beyond me capabilities
>> >> > but I would help recruit someone who would be able to do it at a
>> >> > reasonable fee paid to them (I am acting as a no cost middle man on
>> >> > this [I am helping the client for free since I was unable to get it
>> >> > done]).
>> >> >
>> >> > Please send any ideas and/or offers to do the job
>> >>
>> >> I would seriously suggest that you consider installing Postfix. It is
>> >> in the ports tree, is well maintained and works out of the box. The
>> >> Postfix forum will be glad to give you any advice you need for setting
>> >> up and securing your mail server. Qmail is no longer supported by its
>> >> author and can be a nightmare to maintain.
>> >>
>> >
>> > We had also tried sendmail and couldn't get that working either so I
>> > suspect it is a general config issue not a MTA one.  (I have set
>> > sendmail up about 30 times in the past so I know a little bit about it)
>>
>> Exim is a very good choice. Forget the Postfix suggestions. It's
>> Sendmail's brother:-)
>
> At least Postfix is fully RFC compliant, as opposed to Exim.
>
> SEE: RFC 2034 (SMTP enhanced status codes), RFC 3461-4 (delivery status
> notifications), RFC 1652 (8-bit MIME including 8->7bit conversion)
> among others.

I doubt anyone makes a choice on an MTA (or any other software) based
on it's RFC-compliance.
In my experience, it's normally boils down to:

1. It has the features that I want
2. I can swim with it in times of toruble

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"If you have nothing good to say about someone, just shut up!."
               -- Lucky Dube
___
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: Help with setting up a mail server

2010-07-20 Thread Jerry
On Tue, 20 Jul 2010 21:03:55 +0300
Odhiambo Washington  articulated:


> On Tue, Jul 20, 2010 at 4:46 PM, Aryeh M. Friedman
>  wrote:
> > On Tue, 20 Jul 2010 09:33:28 -0400
> > Jerry  wrote:
> >
> >> On Tue, 20 Jul 2010 09:26:44 -0400
> >> Aryeh M. Friedman  articulated:
> >>
> >> > I am a consultant and was retained by my client to setup qmail or
> >> > exim on a VPS running 8.0-STABLE (i386). After setting up the DNS
> >> > (A record and MX record) we have been unable to send or receive
> >> > mail. The client has/had a working script for installing qmail on
> >> > 7.1-STABLE but it seems to not work on 8.0-STABLE. They are using
> >> > the same VPS provider who this 7.1-STABLE install script worked
> >> > under. I have tried everything I can think of to make it work
> >> > including asking obvious questions on -questi...@.
> >> >
> >> > I informed the client that the task is likely beyond me capabilities
> >> > but I would help recruit someone who would be able to do it at a
> >> > reasonable fee paid to them (I am acting as a no cost middle man on
> >> > this [I am helping the client for free since I was unable to get it
> >> > done]).
> >> >
> >> > Please send any ideas and/or offers to do the job
> >>
> >> I would seriously suggest that you consider installing Postfix. It is
> >> in the ports tree, is well maintained and works out of the box. The
> >> Postfix forum will be glad to give you any advice you need for setting
> >> up and securing your mail server. Qmail is no longer supported by its
> >> author and can be a nightmare to maintain.
> >>
> >
> > We had also tried sendmail and couldn't get that working either so I
> > suspect it is a general config issue not a MTA one.  (I have set
> > sendmail up about 30 times in the past so I know a little bit about it)
> 
> Exim is a very good choice. Forget the Postfix suggestions. It's
> Sendmail's brother:-)

At least Postfix is fully RFC compliant, as opposed to Exim.

SEE: RFC 2034 (SMTP enhanced status codes), RFC 3461-4 (delivery status
notifications), RFC 1652 (8-bit MIME including 8->7bit conversion)
among others.

-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

The wise shepherd never trusts his flock to a smiling wolf.
___
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: Help with setting up a mail server

2010-07-20 Thread Bill Tillman
Message: 24
Date: Tue, 20 Jul 2010 14:05:13 -0400
From: Jerry McAllister 
Subject: Re: Help with setting up a mail server
To: Odhiambo Washington 
Cc: "Aryeh M. Friedman" ,
    freebsd-questions@freebsd.org
Message-ID: <20100720180513.gb46...@gizmo.acns.msu.edu>
Content-Type: text/plain; charset=iso-8859-1

On Tue, Jul 20, 2010 at 09:03:55PM +0300, Odhiambo Washington wrote:

> On Tue, Jul 20, 2010 at 4:46 PM, Aryeh M. Friedman
>  wrote:
> > On Tue, 20 Jul 2010 09:33:28 -0400
> > Jerry  wrote:
> >
> >> On Tue, 20 Jul 2010 09:26:44 -0400
> >> Aryeh M. Friedman  articulated:
> >>
> >> > I am a consultant and was retained by my client to setup qmail or
> >> > exim on a VPS running 8.0-STABLE (i386). After setting up the DNS
> >> > (A record and MX record) we have been unable to send or receive
> >> > mail. The client has/had a working script for installing qmail on
> >> > 7.1-STABLE but it seems to not work on 8.0-STABLE. They are using
> >> > the same VPS provider who this 7.1-STABLE install script worked
> >> > under. I have tried everything I can think of to make it work
> >> > including asking obvious questions on -questi...@.
> >> >
> >> > I informed the client that the task is likely beyond me capabilities
> >> > but I would help recruit someone who would be able to do it at a
> >> > reasonable fee paid to them (I am acting as a no cost middle man on
> >> > this [I am helping the client for free since I was unable to get it
> >> > done]).
> >> >
> >> > Please send any ideas and/or offers to do the job
> >>
> >> I would seriously suggest that you consider installing Postfix. It is
> >> in the ports tree, is well maintained and works out of the box. The
> >> Postfix forum will be glad to give you any advice you need for setting
> >> up and securing your mail server. Qmail is no longer supported by its
> >> author and can be a nightmare to maintain.
> >>
> >
> > We had also tried sendmail and couldn't get that working either so I
> > suspect it is a general config issue not a MTA one.  (I have set
> > sendmail up about 30 times in the past so I know a little bit about it)
> 
> Exim is a very good choice. Forget the Postfix suggestions. It's
> Sendmail's brother:-)

Sendmail comes from a good family.

jerry

> 
> 
> -- 
> Best regards,
> Odhiambo WASHINGTON,
> Nairobi,KE
> +254733744121/+254722743223
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> "If you have nothing good to say about someone, just shut up!."
>                -- Lucky Dube
 
At the risk of starting a flame war, I think sendmail gets a bad rap. It's not 
been the most widely used MTA for the last few decades because it sucks. It's 
about personal preference.
 
Now I know this may be redundant advice but I used to run an MTA and enjoyed 
having the use of it and freedom to have my own mailserver at home. But alas, 
the spammers have ruined that for all of us and almost every ISP out there will 
block port 25 by default. Even if they don't block port 25 it will only be a 
matter of time before they detect your outgoing mail traffic and then block you 
so that you're forced to purchase an add-on service to run your own MTA. They 
will use lame excuses that you've been blacklisted because of spam. It's simply 
their way of making you cough up extra dough for your service. This is one of 
the parts of the Internet that I really hate and long for the good old days.




___
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: Help with setting up a mail server

2010-07-20 Thread Jerry McAllister
On Tue, Jul 20, 2010 at 09:03:55PM +0300, Odhiambo Washington wrote:

> On Tue, Jul 20, 2010 at 4:46 PM, Aryeh M. Friedman
>  wrote:
> > On Tue, 20 Jul 2010 09:33:28 -0400
> > Jerry  wrote:
> >
> >> On Tue, 20 Jul 2010 09:26:44 -0400
> >> Aryeh M. Friedman  articulated:
> >>
> >> > I am a consultant and was retained by my client to setup qmail or
> >> > exim on a VPS running 8.0-STABLE (i386). After setting up the DNS
> >> > (A record and MX record) we have been unable to send or receive
> >> > mail. The client has/had a working script for installing qmail on
> >> > 7.1-STABLE but it seems to not work on 8.0-STABLE. They are using
> >> > the same VPS provider who this 7.1-STABLE install script worked
> >> > under. I have tried everything I can think of to make it work
> >> > including asking obvious questions on -questi...@.
> >> >
> >> > I informed the client that the task is likely beyond me capabilities
> >> > but I would help recruit someone who would be able to do it at a
> >> > reasonable fee paid to them (I am acting as a no cost middle man on
> >> > this [I am helping the client for free since I was unable to get it
> >> > done]).
> >> >
> >> > Please send any ideas and/or offers to do the job
> >>
> >> I would seriously suggest that you consider installing Postfix. It is
> >> in the ports tree, is well maintained and works out of the box. The
> >> Postfix forum will be glad to give you any advice you need for setting
> >> up and securing your mail server. Qmail is no longer supported by its
> >> author and can be a nightmare to maintain.
> >>
> >
> > We had also tried sendmail and couldn't get that working either so I
> > suspect it is a general config issue not a MTA one.  (I have set
> > sendmail up about 30 times in the past so I know a little bit about it)
> 
> Exim is a very good choice. Forget the Postfix suggestions. It's
> Sendmail's brother:-)

Sendmail comes from a good family.

jerry

> 
> 
> -- 
> Best regards,
> Odhiambo WASHINGTON,
> Nairobi,KE
> +254733744121/+254722743223
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> "If you have nothing good to say about someone, just shut up!."
>                -- Lucky Dube
> ___
> 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"
> 
___
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: Help with setting up a mail server

2010-07-20 Thread Odhiambo Washington
On Tue, Jul 20, 2010 at 4:46 PM, Aryeh M. Friedman
 wrote:
> On Tue, 20 Jul 2010 09:33:28 -0400
> Jerry  wrote:
>
>> On Tue, 20 Jul 2010 09:26:44 -0400
>> Aryeh M. Friedman  articulated:
>>
>> > I am a consultant and was retained by my client to setup qmail or
>> > exim on a VPS running 8.0-STABLE (i386). After setting up the DNS
>> > (A record and MX record) we have been unable to send or receive
>> > mail. The client has/had a working script for installing qmail on
>> > 7.1-STABLE but it seems to not work on 8.0-STABLE. They are using
>> > the same VPS provider who this 7.1-STABLE install script worked
>> > under. I have tried everything I can think of to make it work
>> > including asking obvious questions on -questi...@.
>> >
>> > I informed the client that the task is likely beyond me capabilities
>> > but I would help recruit someone who would be able to do it at a
>> > reasonable fee paid to them (I am acting as a no cost middle man on
>> > this [I am helping the client for free since I was unable to get it
>> > done]).
>> >
>> > Please send any ideas and/or offers to do the job
>>
>> I would seriously suggest that you consider installing Postfix. It is
>> in the ports tree, is well maintained and works out of the box. The
>> Postfix forum will be glad to give you any advice you need for setting
>> up and securing your mail server. Qmail is no longer supported by its
>> author and can be a nightmare to maintain.
>>
>
> We had also tried sendmail and couldn't get that working either so I
> suspect it is a general config issue not a MTA one.  (I have set
> sendmail up about 30 times in the past so I know a little bit about it)

Exim is a very good choice. Forget the Postfix suggestions. It's
Sendmail's brother:-)


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"If you have nothing good to say about someone, just shut up!."
               -- Lucky Dube
___
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: Help with setting up a mail server

2010-07-20 Thread Erik Norgaard

On 20/07/10 15.26, Aryeh M. Friedman wrote:


I am a consultant and was retained by my client to setup qmail or exim
on a VPS running 8.0-STABLE (i386). After setting up the DNS (A record
and MX record) we have been unable to send or receive mail. The client
has/had a working script for installing qmail on 7.1-STABLE but it
seems to not work on 8.0-STABLE. They are using the same VPS provider
who this 7.1-STABLE install script worked under. I have tried
everything I can think of to make it work including asking obvious
questions on -questi...@.


First, as everybody else: If you are not satisfied with the default 
sendmail the most popular alternative seems to be postfix, it will 
probably be much easier for you to get help with postfix should the 
problem turn out to be the mail configuration.


When you modify your DNS it may take a while before the changes 
propagate, depending on the TTL setting in your zone configuration.


You can check if the mail server is running and can deliver mail locally 
by, on the mail server, do


  $ telnet localhost 25

You can then type in manually the smtp commands, see rfc 2821. If you 
can, then it may be a dns problem.


Next, can you send out? You may well be able to send out while you can't 
receive mail from external servers for local delivery. If this is the 
case, either your DNS is wrong or the changes has not yet propagated.


If you can't, check the error messages, if there is some dns related 
error look in /etc/resolv.conf to see if you use the right dns server, 
do some dns queries to check that it works. If you use your own dns 
server, check the named.conf and verify any forwarders entries.


If you can't receive mail from external servers for local delivery, but 
local delivery works - locally. Try from a different host to telnet to 
your mail server using the ip address,


  $ telnet mail-server-ip 25

If this works, maybe your dns changes has not yet propagated.

If more time than the TTL has passed and your dns does not resolve 
correctly, check that you updated the serial number in the zone file, it 
must be incremented every time you make a modification or the changes 
won't propagate to dns slaves.


If you can't connect, maybe you have a firewall issue.

This I think should get you started trouble shooting.


I informed the client that the task is likely beyond me capabilities
but I would help recruit someone who would be able to do it at a
reasonable fee paid to them


If you found my advice useful, please donate a reasonable fee to the 
FreeBSD project, I am still endepted for the great effort of all the 
people involved in the project.


BR, Erik
___
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: Help with setting up a mail server

2010-07-20 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Aryeh M. Friedman wrote:
> I am a consultant and was retained by my client to setup qmail or exim
> on a VPS running 8.0-STABLE (i386). After setting up the DNS (A record
> and MX record) we have been unable to send or receive mail. The client
> has/had a working script for installing qmail on 7.1-STABLE but it
> seems to not work on 8.0-STABLE. They are using the same VPS provider
> who this 7.1-STABLE install script worked under. I have tried
> everything I can think of to make it work including asking obvious
> questions on -questi...@.
> 
> I informed the client that the task is likely beyond me capabilities
> but I would help recruit someone who would be able to do it at a
> reasonable fee paid to them (I am acting as a no cost middle man on
> this [I am helping the client for free since I was unable to get it
> done]).
> 
> Please send any ideas and/or offers to do the job

Hi Aryeh,

Here are some things that I do to troubleshoot problems like this:

- - Check if there are any firewalls (client-side or server-side) that
block the ports, tcp 25/587 and tcp 110/143 in this case.  If you're
using POP3 or IMAP over SSL, check tcp 993 and tcp 995, too.

- - Check if the listening ports are ready to accept connections with the
command "netstat -an | grep LISTEN".  Do you see the ports you expect?

- - Dumb question - are the mail server processes running?

- - Assuming the processes are running and the ports are listening, what
happens when you telnet to them from within the machine, e.g.:

telnet localhost 25
telnet localhost 110
telnet localhost 143

- - Can you ping the mail server hostname?

- - Use "dig" to do lookups on your A and MX records.  Did you bump the
DNS serial number and reload the DNS server after you added the records?

- - If that works, now try telnetting to the same ports from an outside
network using the DNS hostnames, e.g.:

telnet my.mail.server.com 25
...

- - Please send me your hostname privately, if you like, and I can check
DNS and ports from here.

Hope that helps,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMRa/E0sRouByUApARAsZwAJwIB6hXWwi2x2Wys94WyjHUJfF4fgCglmiR
RYfOIA1ePOLwXcWj1xRrdFk=
=j2tU
-END PGP SIGNATURE-

___
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: Help with setting up a mail server

2010-07-20 Thread Jerry
On Tue, 20 Jul 2010 09:46:09 -0400
Aryeh M. Friedman  articulated:


> On Tue, 20 Jul 2010 09:33:28 -0400
> Jerry  wrote:
> 
> > On Tue, 20 Jul 2010 09:26:44 -0400
> > Aryeh M. Friedman  articulated:
> > 
> > > I am a consultant and was retained by my client to setup qmail or
> > > exim on a VPS running 8.0-STABLE (i386). After setting up the DNS
> > > (A record and MX record) we have been unable to send or receive
> > > mail. The client has/had a working script for installing qmail on
> > > 7.1-STABLE but it seems to not work on 8.0-STABLE. They are using
> > > the same VPS provider who this 7.1-STABLE install script worked
> > > under. I have tried everything I can think of to make it work
> > > including asking obvious questions on -questi...@.
> > > 
> > > I informed the client that the task is likely beyond me capabilities
> > > but I would help recruit someone who would be able to do it at a
> > > reasonable fee paid to them (I am acting as a no cost middle man on
> > > this [I am helping the client for free since I was unable to get it
> > > done]).
> > > 
> > > Please send any ideas and/or offers to do the job
> > 
> > I would seriously suggest that you consider installing Postfix. It is
> > in the ports tree, is well maintained and works out of the box. The
> > Postfix forum will be glad to give you any advice you need for setting
> > up and securing your mail server. Qmail is no longer supported by its
> > author and can be a nightmare to maintain.
> > 
> 
> We had also tried sendmail and couldn't get that working either so I
> suspect it is a general config issue not a MTA one.  (I have set
> sendmail up about 30 times in the past so I know a little bit about it)

Might I suggest that you supply some log entries that support your
claims. It is hard to help you without actual facts. By the way, did
you also try Postfix?

-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

They spell it "da Vinci" and pronounce it "da Vinchy".  Foreigners
always spell better than they pronounce.

Mark Twain
___
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: Help with setting up a mail server

2010-07-20 Thread Aryeh M. Friedman
On Tue, 20 Jul 2010 09:33:28 -0400
Jerry  wrote:

> On Tue, 20 Jul 2010 09:26:44 -0400
> Aryeh M. Friedman  articulated:
> 
> > I am a consultant and was retained by my client to setup qmail or
> > exim on a VPS running 8.0-STABLE (i386). After setting up the DNS
> > (A record and MX record) we have been unable to send or receive
> > mail. The client has/had a working script for installing qmail on
> > 7.1-STABLE but it seems to not work on 8.0-STABLE. They are using
> > the same VPS provider who this 7.1-STABLE install script worked
> > under. I have tried everything I can think of to make it work
> > including asking obvious questions on -questi...@.
> > 
> > I informed the client that the task is likely beyond me capabilities
> > but I would help recruit someone who would be able to do it at a
> > reasonable fee paid to them (I am acting as a no cost middle man on
> > this [I am helping the client for free since I was unable to get it
> > done]).
> > 
> > Please send any ideas and/or offers to do the job
> 
> I would seriously suggest that you consider installing Postfix. It is
> in the ports tree, is well maintained and works out of the box. The
> Postfix forum will be glad to give you any advice you need for setting
> up and securing your mail server. Qmail is no longer supported by its
> author and can be a nightmare to maintain.
> 

We had also tried sendmail and couldn't get that working either so I
suspect it is a general config issue not a MTA one.  (I have set
sendmail up about 30 times in the past so I know a little bit about it)
___
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: Help with setting up a mail server

2010-07-20 Thread Jerry
On Tue, 20 Jul 2010 09:26:44 -0400
Aryeh M. Friedman  articulated:

> I am a consultant and was retained by my client to setup qmail or exim
> on a VPS running 8.0-STABLE (i386). After setting up the DNS (A record
> and MX record) we have been unable to send or receive mail. The client
> has/had a working script for installing qmail on 7.1-STABLE but it
> seems to not work on 8.0-STABLE. They are using the same VPS provider
> who this 7.1-STABLE install script worked under. I have tried
> everything I can think of to make it work including asking obvious
> questions on -questi...@.
> 
> I informed the client that the task is likely beyond me capabilities
> but I would help recruit someone who would be able to do it at a
> reasonable fee paid to them (I am acting as a no cost middle man on
> this [I am helping the client for free since I was unable to get it
> done]).
> 
> Please send any ideas and/or offers to do the job

I would seriously suggest that you consider installing Postfix. It is
in the ports tree, is well maintained and works out of the box. The
Postfix forum will be glad to give you any advice you need for setting
up and securing your mail server. Qmail is no longer supported by its
author and can be a nightmare to maintain.

-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

"I kind of want to slay the dragon. Let's go to work."

Angel's final words. 
___
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"


Help with setting up a mail server

2010-07-20 Thread Aryeh M. Friedman

I am a consultant and was retained by my client to setup qmail or exim
on a VPS running 8.0-STABLE (i386). After setting up the DNS (A record
and MX record) we have been unable to send or receive mail. The client
has/had a working script for installing qmail on 7.1-STABLE but it
seems to not work on 8.0-STABLE. They are using the same VPS provider
who this 7.1-STABLE install script worked under. I have tried
everything I can think of to make it work including asking obvious
questions on -questi...@.

I informed the client that the task is likely beyond me capabilities
but I would help recruit someone who would be able to do it at a
reasonable fee paid to them (I am acting as a no cost middle man on
this [I am helping the client for free since I was unable to get it
done]).

Please send any ideas and/or offers to do the job
___
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: how to set locale to French language on mail server ?

2009-12-18 Thread Pieter de Goeje
On Friday 18 December 2009 10:13:53 Frank Bonnet wrote:
> Hello
> 
> I am a bit confuse on how to set "locale" to French language on our mail
> server , all our users user French keymap and actually the server
> is NOT well configured
> 
> mail# locale
> LANG=
> LC_CTYPE="C"
> LC_COLLATE="C"
> LC_TIME="C"
> LC_NUMERIC="C"
> LC_MONETARY="C"
> LC_MESSAGES="C"
> LC_ALL=
> 
> I want to configure at server level for all users which file do I have
> to setup FR as locale ?
> 
> I've the doc but it is a bit unclear to me ...
> 
> Thanks a lot.
See login.conf(5). There are some examples in /etc/login.conf.

Regards,
Pieter de Goeje
___
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"


how to set locale to French language on mail server ?

2009-12-18 Thread Frank Bonnet

Hello

I am a bit confuse on how to set "locale" to French language on our mail 
server , all our users user French keymap and actually the server

is NOT well configured

mail# locale
LANG=
LC_CTYPE="C"
LC_COLLATE="C"
LC_TIME="C"
LC_NUMERIC="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=

I want to configure at server level for all users which file do I have
to setup FR as locale ?

I've the doc but it is a bit unclear to me ...

Thanks a lot.

___
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: Daily report cannot be emailed to a jailed mail server

2009-10-07 Thread Steve Bertrand
David N wrote:
> 2009/10/8 Steve Bertrand :
>> David N wrote:

[ big snips ]

>>> When i try to send an email i get

>>> Oct  8 08:47:07 server sm-mta[95130]: n97Ll7VV095129: SYSERR(root): MX
>>> list for anotherdomain.com.au. points back to server.net

>> Nonetheless, you can force Sendmail to push email to a different server
>> directly (overriding the DNS MX entries) with a 'mailertable' file in
>> /etc/mail. Here's one on a secondary MX:
>>
>> %cat /etc/mail/mailertable
>> ibctech.ca  smtp:[smtp.ibctech.ca]
>> ipv6canada.com  smtp:[smtp.ipv6canada.com]
>> ...
>>
>> After the file is created, a simple 'make' in /etc/mail will build the
>> mailertable.db file for you and take effect immediately (much like
>> 'newaliases').

> Thank you so much, it worked =)
> 
> My MX records are correct, i could get mail from the outside, but just
> couldn't get the daily reports to deliver it.

I'm glad it worked. Believe me, if that simple change made it work for
you, then it was worth my headache to have spent the time to learn it
for myself ;)

For the last few years, I've only used Sendmail (or sendmail) to act as
a backup MX, or to directly deliver mail from the box I am on...hence,
it's been a while...

There may be other ramifications to using `mailertable' in your
particular environment.

I don't know how your system will react, given a default setup and a
mailertable entry.

It's possible (but untested) that if the server that is specified in the
mailertable is down, your reports might not make it to you ( whether
that's bad or good is up for interpretation... I've always known no news
as good news ;)

Perhaps Giorgos or someone else may be able to provide a better
understanding.

Steve
___
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: Daily report cannot be emailed to a jailed mail server

2009-10-07 Thread George Davidovich
On Thu, Oct 08, 2009 at 09:02:50AM +1100, David N wrote:
> FreeBSD 7.2-R box with 10 jails.
> 
> The mail server (actually its a mail filter) is hosted on the same
> server inside a jail.
> 
> I can't seem to get the main server reports to be sent to the mail
> filter inside the jail inside the same box.
> 
> so.. r...@localhost tries to send an email to
> some...@anotherdomain.com.au
> 
> The MX entry for anotherdomain.com.au points to the mailfilter on the
> server (jailed).
>
> I've changed my /etc/mail/aliases to have
> root: some...@anotherdomain.com.au
> and ran newaliases.

It's been already pointed out that you aren't providing much information
to go on, so here's my WAG of what is happening.

Changing the root alias root could work, but consider the case of mail
from the jailhost being rejected by the jailed mailserver.  The bounce
message will be addressed to POSTMASTER on the jailhost, which points to
root on the jailhost, which points back to the jailed mailserver trying
to send the bounce, which points to ...

You can examine the scenario for yourself either by listening to a
married couple on the verge of divorce argue with one another, or more
specifically, by running

  [r...@jailhost] sendmail -bv root
  [r...@jail] sendmail -bv postmas...@jailhost.server.net

> When i try to send an email i get
> in /var/log/messages
> sm-mta[94682]: n97LeeOw094682: Losing ./qfn97LeeOw094682: savemail panic
> Oct  8 08:40:40 server sm-mta[94682]: n97LeeOw094682: SYSERR(root):
> savemail: cannot save rejected email anywhere
> Oct  8 08:42:30 server sm-mta[94713]: n97LgTYg094713: Losing
> ./qfn97LgTYg094713: savemail panic
> Oct  8 08:42:30 server sm-mta[94713]: n97LgTYg094713: SYSERR(root):
> savemail: cannot save rejected email anywhere
> Oct  8 08:47:07 server sm-mta[95130]: n97Ll7VV095129: SYSERR(root): MX
> list for anotherdomain.com.au. points back to server.net

The jailed mailserver is rejecting the mail and is then trying to send a
bounce and can't because it's caught in a loop that ends when Sendmail
says "Look this isn't an argument ... it's just contradiction!" and
bails out.  

Why the jailed mailserver is rejecting the mail is a separate issue. 

> In /var/log/maillog
> n97Ll7VV095129: to=some...@anotherdomain.com.au,
> ctladdr= (0/0), delay=00:00:00, xdelay=00:00:00,
> mailer=esmtp, pri=30715, relay=anotherdomain.com.au., dsn=5.3.5,
> stat=Local configuration error
> Oct  8 08:47:07 server sm-mta[95130]: n97Ll7VV095129: n97Ll7VV095130:
> DSN: Local configuration error

That's from the maillog on the jailhost.  More relevant to why the
jailed mailserver has rejected the mail would be the jail's maillog
entries (or whatever logging was done by the "filter" installed there). 

Either way, for the interim I'd suggest undoing your changes, rebuilding
your aliases and consider implementing an alternate approach.  For
anyone to figure out conclusively what's happening, you'll have to
provide more information.

-- 
George
___
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: Daily report cannot be emailed to a jailed mail server

2009-10-07 Thread David N
2009/10/8 Steve Bertrand :
> David N wrote:
>> Hi,
>>
>> FreeBSD 7.2-R box with 10 jails.
>>
>> The mail server (actually its a mail filter) is hosted on the same
>> server inside a jail.
>>
>> I can't seem to get the main server reports to be sent to the mail
>> filter inside the jail inside the same box.
>>
>> so.. r...@localhost tries to send an email to some...@anotherdomain.com.au
>>
>> The MX entry for anotherdomain.com.au points to the mailfilter on the
>> server (jailed).
>>
>>
>> I've changed my /etc/mail/aliases to have
>> root: some...@anotherdomain.com.au
>> and ran newaliases.
>>
>> When i try to send an email i get
>> in /var/log/messages
>> sm-mta[94682]: n97LeeOw094682: Losing ./qfn97LeeOw094682: savemail panic
>> Oct  8 08:40:40 server sm-mta[94682]: n97LeeOw094682: SYSERR(root):
>> savemail: cannot save rejected email anywhere
>> Oct  8 08:42:30 server sm-mta[94713]: n97LgTYg094713: Losing
>> ./qfn97LgTYg094713: savemail panic
>> Oct  8 08:42:30 server sm-mta[94713]: n97LgTYg094713: SYSERR(root):
>> savemail: cannot save rejected email anywhere
>> Oct  8 08:47:07 server sm-mta[95130]: n97Ll7VV095129: SYSERR(root): MX
>> list for anotherdomain.com.au. points back to server.net
>>
>> In /var/log/maillog
>> n97Ll7VV095129: to=some...@anotherdomain.com.au,
>> ctladdr= (0/0), delay=00:00:00, xdelay=00:00:00,
>> mailer=esmtp, pri=30715, relay=anotherdomain.com.au., dsn=5.3.5,
>> stat=Local configuration error
>> Oct  8 08:47:07 server sm-mta[95130]: n97Ll7VV095129: n97Ll7VV095130:
>> DSN: Local configuration error
>>
>> Anyone have any ideas on how to fix this?
>
> If you hadn't of sanitized the domain names, it would have been easier
> to troubleshoot...
>
> Nonetheless, you can force Sendmail to push email to a different server
> directly (overriding the DNS MX entries) with a 'mailertable' file in
> /etc/mail. Here's one on a secondary MX:
>
> %cat /etc/mail/mailertable
> ibctech.ca      smtp:[smtp.ibctech.ca]
> ipv6canada.com  smtp:[smtp.ipv6canada.com]
> ...
>
> After the file is created, a simple 'make' in /etc/mail will build the
> mailertable.db file for you and take effect immediately (much like
> 'newaliases').
>
> However, it's hard to tell if this recommendation will solve your
> problem though. Without knowing the real domain, we can't perform DNS
> tests against it to get a better understanding of the situation.
>
> Cheers,
>
> Steve
>
>


Thank you so much, it worked =)

My MX records are correct, i could get mail from the outside, but just
couldn't get the daily reports to deliver it.
___
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: Daily report cannot be emailed to a jailed mail server

2009-10-07 Thread Steve Bertrand
David N wrote:
> Hi,
> 
> FreeBSD 7.2-R box with 10 jails.
> 
> The mail server (actually its a mail filter) is hosted on the same
> server inside a jail.
> 
> I can't seem to get the main server reports to be sent to the mail
> filter inside the jail inside the same box.
> 
> so.. r...@localhost tries to send an email to some...@anotherdomain.com.au
> 
> The MX entry for anotherdomain.com.au points to the mailfilter on the
> server (jailed).
> 
> 
> I've changed my /etc/mail/aliases to have
> root: some...@anotherdomain.com.au
> and ran newaliases.
> 
> When i try to send an email i get
> in /var/log/messages
> sm-mta[94682]: n97LeeOw094682: Losing ./qfn97LeeOw094682: savemail panic
> Oct  8 08:40:40 server sm-mta[94682]: n97LeeOw094682: SYSERR(root):
> savemail: cannot save rejected email anywhere
> Oct  8 08:42:30 server sm-mta[94713]: n97LgTYg094713: Losing
> ./qfn97LgTYg094713: savemail panic
> Oct  8 08:42:30 server sm-mta[94713]: n97LgTYg094713: SYSERR(root):
> savemail: cannot save rejected email anywhere
> Oct  8 08:47:07 server sm-mta[95130]: n97Ll7VV095129: SYSERR(root): MX
> list for anotherdomain.com.au. points back to server.net
> 
> In /var/log/maillog
> n97Ll7VV095129: to=some...@anotherdomain.com.au,
> ctladdr= (0/0), delay=00:00:00, xdelay=00:00:00,
> mailer=esmtp, pri=30715, relay=anotherdomain.com.au., dsn=5.3.5,
> stat=Local configuration error
> Oct  8 08:47:07 server sm-mta[95130]: n97Ll7VV095129: n97Ll7VV095130:
> DSN: Local configuration error
> 
> Anyone have any ideas on how to fix this?

If you hadn't of sanitized the domain names, it would have been easier
to troubleshoot...

Nonetheless, you can force Sendmail to push email to a different server
directly (overriding the DNS MX entries) with a 'mailertable' file in
/etc/mail. Here's one on a secondary MX:

%cat /etc/mail/mailertable
ibctech.ca  smtp:[smtp.ibctech.ca]
ipv6canada.com  smtp:[smtp.ipv6canada.com]
...

After the file is created, a simple 'make' in /etc/mail will build the
mailertable.db file for you and take effect immediately (much like
'newaliases').

However, it's hard to tell if this recommendation will solve your
problem though. Without knowing the real domain, we can't perform DNS
tests against it to get a better understanding of the situation.

Cheers,

Steve

___
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"


Daily report cannot be emailed to a jailed mail server

2009-10-07 Thread David N
Hi,

FreeBSD 7.2-R box with 10 jails.

The mail server (actually its a mail filter) is hosted on the same
server inside a jail.

I can't seem to get the main server reports to be sent to the mail
filter inside the jail inside the same box.

so.. r...@localhost tries to send an email to some...@anotherdomain.com.au

The MX entry for anotherdomain.com.au points to the mailfilter on the
server (jailed).


I've changed my /etc/mail/aliases to have
root: some...@anotherdomain.com.au
and ran newaliases.

When i try to send an email i get
in /var/log/messages
sm-mta[94682]: n97LeeOw094682: Losing ./qfn97LeeOw094682: savemail panic
Oct  8 08:40:40 server sm-mta[94682]: n97LeeOw094682: SYSERR(root):
savemail: cannot save rejected email anywhere
Oct  8 08:42:30 server sm-mta[94713]: n97LgTYg094713: Losing
./qfn97LgTYg094713: savemail panic
Oct  8 08:42:30 server sm-mta[94713]: n97LgTYg094713: SYSERR(root):
savemail: cannot save rejected email anywhere
Oct  8 08:47:07 server sm-mta[95130]: n97Ll7VV095129: SYSERR(root): MX
list for anotherdomain.com.au. points back to server.net

In /var/log/maillog
n97Ll7VV095129: to=some...@anotherdomain.com.au,
ctladdr= (0/0), delay=00:00:00, xdelay=00:00:00,
mailer=esmtp, pri=30715, relay=anotherdomain.com.au., dsn=5.3.5,
stat=Local configuration error
Oct  8 08:47:07 server sm-mta[95130]: n97Ll7VV095129: n97Ll7VV095130:
DSN: Local configuration error

Anyone have any ideas on how to fix this?

Regards
David N
___
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: Whic mail server?

2009-09-28 Thread Aflatoon Aflatooni
Thanks,
I am running Sendmail on FreeBSD and it is working. 
I have worked with Sendmail for years and have configured and using it 
successfully, but with sendmail there is so many things that you could 
configure you are not sure if you have it configured correctly. 
I generate my sendmail.cf using m4 and it works, but I find that there are 
always new changes that you need to stay on top of.
Is there a recommended mc file for running a Sendmail mail server?

I am also using procmail as well.

Thanks


 


- Original Message 
From: Saifi Khan 
To: freebsd-questions@FreeBSD.ORG
Sent: Monday, September 28, 2009 7:38:06 AM
Subject: Re: Whic mail server?

On Sun, 27 Sep 2009, Aflatoon Aflatooni wrote:

> Hi,
> I am running a server that is acting as the mail server for only internal 
> users (about 50 users). Currently we are running Sendmail, but reading on 
> other discussions I noticed that qmail and other programs are suggested.
> I am wondering if qmail is thought to be better than sendmail. Is there a 
> matrix of features and functionalities that would compare the different mail 
> servers? 
> Any suggestions on spam filters like spam-assassin?
> 
> 
> Thank you
> 

Hello Aflatoon Aflatooni:

Are you running Sendmail on FreeBSD ?

If yes, what issue are you facing ? and what did you read ?


thanks
Saifi.

___
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"




___
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: Whic mail server?

2009-09-28 Thread Jeffrey Goldberg

On Sep 27, 2009, at 8:01 AM, Aflatoon Aflatooni wrote:


Hi,
I am running a server that is acting as the mail server for only  
internal users (about 50 users). Currently we are running Sendmail,  
but reading on other discussions I noticed that qmail and other  
programs are suggested.


If you have no compelling reason to switch from sendmail, stick with  
that.



I am wondering if qmail is thought to be better than sendmail.


My personal favorites in order are

 exim
 postfix
 sendmail
 carrier pigeons
 messages in bottles
 qmail
 smoke signals
 ...
 MS Exchange
 ...
 whatever system dogs use when they smell each others' excrement.
 ...
 Lotus Notes

You can't go wrong with the first three: exim, postfix, and sendmail.   
There are reasons why I have the preferences that I do, but they don't  
apply to you or your needs.  So unless you are having problems with  
sendmail, just stay with that.



Any suggestions on spam filters like spam-assassin?


There are many ways to integrate spam-assassin and sendmail, and they  
will all be in the ports system.  Look at mail/spamass-milter


Another approach (not using milters) is a spamassassin+procmail  
solution.  I prefer the milter as it allows you to reject mail early  
in the process.


Cheers,

-j



--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

___
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: Whic mail server?

2009-09-28 Thread Jerry McAllister
On Mon, Sep 28, 2009 at 09:49:37AM -0400, Jerry McAllister wrote:

> On Sun, Sep 27, 2009 at 06:01:22AM -0700, Aflatoon Aflatooni wrote:
> 
> > Hi,
> > I am running a server that is acting as the mail server for only internal 
> > users (about 50 users). Currently we are running Sendmail, but reading on 
> > other discussions I noticed that qmail and other programs are suggested.
> > I am wondering if qmail is thought to be better than sendmail. Is there 
> > a matrix of features and functionalities that would compare the different 
> > mail servers? 
> 
> No, sendmail is as good or better, especially in a situation such
> as you describe.Some people believe that sendmail can be hard
> to configure, and it is a little arcane to do it directly in the
> sendmail.cf file.  But there are things that help nowdays.  Anyway,
> if you already have it configured and working your are past
> that already.   Most of the things these others complain about 
> being to complicated are more exotic and special-cased stuff.
> Then they become religious zealots about their favorites.
> 
> > Any suggestions on spam filters like spam-assassin?
> 
> Learn to use procmail.

Sorry, I meant to say  spamassasin + procmail

jerry

> 
> jerry
> 
> > 
> > Thank you
> >   
> > ___
> > 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"
> ___
> 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"
___
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: Whic mail server?

2009-09-28 Thread Jerry McAllister
On Sun, Sep 27, 2009 at 06:01:22AM -0700, Aflatoon Aflatooni wrote:

> Hi,
> I am running a server that is acting as the mail server for only internal 
> users (about 50 users). Currently we are running Sendmail, but reading on 
> other discussions I noticed that qmail and other programs are suggested.
> I am wondering if qmail is thought to be better than sendmail. Is there 
> a matrix of features and functionalities that would compare the different 
> mail servers? 

No, sendmail is as good or better, especially in a situation such
as you describe.Some people believe that sendmail can be hard
to configure, and it is a little arcane to do it directly in the
sendmail.cf file.  But there are things that help nowdays.  Anyway,
if you already have it configured and working your are past
that already.   Most of the things these others complain about 
being to complicated are more exotic and special-cased stuff.
Then they become religious zealots about their favorites.

> Any suggestions on spam filters like spam-assassin?

Learn to use procmail.

jerry

> 
> Thank you
>   
> ___
> 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"
___
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: Whic mail server?

2009-09-28 Thread Saifi Khan
On Sun, 27 Sep 2009, Aflatoon Aflatooni wrote:

> Hi,
> I am running a server that is acting as the mail server for only internal 
> users (about 50 users). Currently we are running Sendmail, but reading on 
> other discussions I noticed that qmail and other programs are suggested.
> I am wondering if qmail is thought to be better than sendmail. Is there a 
> matrix of features and functionalities that would compare the different mail 
> servers? 
> Any suggestions on spam filters like spam-assassin?
> 
> 
> Thank you
> 

Hello Aflatoon Aflatooni:

Are you running Sendmail on FreeBSD ?

If yes, what issue are you facing ? and what did you read ?


thanks
Saifi.

___
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: Whic mail server?

2009-09-28 Thread krad
2009/9/28 Karl Vogel >

> >> On Sun, 27 Sep 2009 06:01:22 -0700 (PDT),
> >> Aflatoon Aflatooni  said:
>
> A> I am running a server that is acting as the mail server for only
> A> internal users (about 50 users).  Currently we are running Sendmail...
>
>   First things first: if you're happy with Sendmail and your system works
>   to your satisfaction, I'd leave it be.  Just watch your logs and keep an
>   eye out for security patches.
>
> A> I am wondering if qmail is thought to be better than sendmail.
>
>   There are fanboys on all three sides of that question ("yes", "no", and
>   "qmail bites, use this-other-MTA instead").  I switched from sendmail to
>   qmail on a server because I had an odd corner case that qmail happened
>   to handle just about perfectly.  I also botched a qmail install on my
>   own workstation, didn't feel like finding out what I did wrong, and
>   decided to install Postfix instead.
>
>   I've had fine experiences with both qmail and Postfix.  If you're
>   using a system that's a little under-powered, you might appreciate Dr.
>   Bernstein's efforts to make qmail and its supporting tools *very* frugal
>   with OS resources.  If you're used to the sendmail way of doing things,
>   you'd probably be better off with Postfix.
>
>   I like Dr. Bernstein's programming approach, but be prepared to spend
>   time getting used to his way of setting up network daemons, etc.  It's
>   internally consistent but *very* different.  It takes me 30-40 minutes
>   to install all of the qmail stuff from source because I've done it at
>   least 6 or 7 times; I could probably cut that in half if I didn't save
>   build and installation outputs for my logs.  My first time took most of
>   a weekend to figure out what was going on.
>
> A> Any suggestions on spam filters like spam-assassin?
>
>   I tried SA a few years ago, and it was a little heavy-weight for my
>   filtering needs.  I use a simple Bayesian filter (ifile) trained on
>   around 100,000 spams plus some procmail rules, and I get along fine.
>   Your mileage will vary.  I saw some other comments:
>
> >> Qmail is not, nor has it been, actively supported for years.
>
>   Depends on what you mean by support.  The user community is very active;
>   have a look at http://www.ornl.gov/lists/mailing-lists/qmail/ if you
>   doubt it.  OTOH, said community can be a bit, um, brusque, but the Qmail
>   Handbook and the "Life with Qmail" webpage filled in the blanks for me.
>
> >> Qmail has a very limited set of features...
>
>   It's intended to handle one problem well, which it does.  If you have
>   some other requirements, http://www.qmail.org/ probably has a plugin
>   that will do what you want.
>
>   OK, now let's settle which text editor is best.
>
> --
> Karl Vogel  I don't speak for the USAF or my company
> They say marriages are made in heaven.  So is thunder and lightning.
> --Clint Eastwood
> ___
> 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"
>

exim is worth a look, it scales very well and is fairly easy to understand.
I also has a very powerful acl language for filtering and plugs directly
into lots of av/anti spam stuff
___
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: Whic mail server?

2009-09-27 Thread Karl Vogel
>> On Sun, 27 Sep 2009 06:01:22 -0700 (PDT), 
>> Aflatoon Aflatooni  said:

A> I am running a server that is acting as the mail server for only
A> internal users (about 50 users).  Currently we are running Sendmail...

   First things first: if you're happy with Sendmail and your system works
   to your satisfaction, I'd leave it be.  Just watch your logs and keep an
   eye out for security patches.

A> I am wondering if qmail is thought to be better than sendmail.

   There are fanboys on all three sides of that question ("yes", "no", and
   "qmail bites, use this-other-MTA instead").  I switched from sendmail to
   qmail on a server because I had an odd corner case that qmail happened
   to handle just about perfectly.  I also botched a qmail install on my
   own workstation, didn't feel like finding out what I did wrong, and
   decided to install Postfix instead.

   I've had fine experiences with both qmail and Postfix.  If you're
   using a system that's a little under-powered, you might appreciate Dr.
   Bernstein's efforts to make qmail and its supporting tools *very* frugal
   with OS resources.  If you're used to the sendmail way of doing things,
   you'd probably be better off with Postfix.

   I like Dr. Bernstein's programming approach, but be prepared to spend
   time getting used to his way of setting up network daemons, etc.  It's
   internally consistent but *very* different.  It takes me 30-40 minutes
   to install all of the qmail stuff from source because I've done it at
   least 6 or 7 times; I could probably cut that in half if I didn't save
   build and installation outputs for my logs.  My first time took most of
   a weekend to figure out what was going on.

A> Any suggestions on spam filters like spam-assassin?

   I tried SA a few years ago, and it was a little heavy-weight for my
   filtering needs.  I use a simple Bayesian filter (ifile) trained on
   around 100,000 spams plus some procmail rules, and I get along fine.
   Your mileage will vary.  I saw some other comments:

>> Qmail is not, nor has it been, actively supported for years.

   Depends on what you mean by support.  The user community is very active;
   have a look at http://www.ornl.gov/lists/mailing-lists/qmail/ if you
   doubt it.  OTOH, said community can be a bit, um, brusque, but the Qmail
   Handbook and the "Life with Qmail" webpage filled in the blanks for me.

>> Qmail has a very limited set of features...

   It's intended to handle one problem well, which it does.  If you have
   some other requirements, http://www.qmail.org/ probably has a plugin
   that will do what you want.

   OK, now let's settle which text editor is best.

-- 
Karl Vogel  I don't speak for the USAF or my company
They say marriages are made in heaven.  So is thunder and lightning.
 --Clint Eastwood
___
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: Whic mail server?

2009-09-27 Thread Eric

On 9/27/2009 10:06 AM, herbert langhans wrote:

Yes. What about bogofilter. This port is smart, I always wonder how intelligent 
it dedects spam, just by the content. Even works with Chinese messages..

Setting it up requires some time and patience (its a filter what plugs in at 
procmail). But its small and efficient, ideal for mailservers.

http://bogofilter.sourceforge.net/

Cheers
herb langhans


Any suggestions on spam filters like spam-assassin?


dspam works very well for me across several sites
___
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: Whic mail server?

2009-09-27 Thread herbert langhans
Yes. What about bogofilter. This port is smart, I always wonder how intelligent 
it dedects spam, just by the content. Even works with Chinese messages..

Setting it up requires some time and patience (its a filter what plugs in at 
procmail). But its small and efficient, ideal for mailservers. 

http://bogofilter.sourceforge.net/

Cheers
herb langhans

> > > Any suggestions on spam filters like spam-assassin?
-- 
sprachtraining langhans
herbert langhans, warschau
http://www.langhans.com.pl
herbert dot raimund at gmx dot net
+0048 603 341 441

___
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: Whic mail server?

2009-09-27 Thread herbert langhans
I personally prefer postfix too. It seems to be a relieable program, setting it 
up is easier then sendmail. It also integrates well with mailman (for the case 
you want to host mailing lists).

Some basic comparison:
http://en.wikipedia.org/wiki/Comparison_of_mail_servers

Cheers
herb langhans

On Mon, Sep 28, 2009 at 12:25:04AM +0900, ?? wrote:
> Aflatoon Aflatooni  writes:
> 
> > Hi,
> > I am running a server that is acting as the mail server for only internal 
> > users (about 50 users). Currently we are running Sendmail, but reading on 
> > other discussions I noticed that qmail and other programs are suggested.
> > I am wondering if qmail is thought to be better than sendmail. Is there a 
> > matrix of features and functionalities that would compare the different 
> > mail servers? 
> > Any suggestions on spam filters like spam-assassin?
> 
> Qmail is old. And there is no maintainer for qmail. How about Postfix?
> Personally i'm running Postfix on three FreeBSD box.
> 
> Sincerely,
> 
> -- 
> "But I can see you don't take me seriously."
>   -- Tom Hagen, "Chapter 1", page 61
> ___
> 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"

-- 
sprachtraining langhans
herbert langhans, warschau
http://www.langhans.com.pl
herbert dot raimund at gmx dot net
+0048 603 341 441

___
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: Whic mail server?

2009-09-27 Thread 牛粥
Aflatoon Aflatooni  writes:

> Hi,
> I am running a server that is acting as the mail server for only internal 
> users (about 50 users). Currently we are running Sendmail, but reading on 
> other discussions I noticed that qmail and other programs are suggested.
> I am wondering if qmail is thought to be better than sendmail. Is there a 
> matrix of features and functionalities that would compare the different mail 
> servers? 
> Any suggestions on spam filters like spam-assassin?

Qmail is old. And there is no maintainer for qmail. How about Postfix?
Personally i'm running Postfix on three FreeBSD box.

Sincerely,

-- 
"But I can see you don't take me seriously."
-- Tom Hagen, "Chapter 1", page 61
___
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: Whic mail server?

2009-09-27 Thread Lowell Gilbert
Aflatoon Aflatooni  writes:

> I am running a server that is acting as the mail server for only internal 
> users (about 50 users). Currently we are running Sendmail, but reading on 
> other discussions I noticed that qmail and other programs are suggested.
> I am wondering if qmail is thought to be better than sendmail. Is there a 
> matrix of features and functionalities that would compare the different mail 
> servers? 
> Any suggestions on spam filters like spam-assassin?

I wouldn't ever recommend changing mail servers if you have a working
setup that you're satisfied with.  spamassassin works well with pretty
much any MTA, as far as I'm aware.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
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: Whic mail server?

2009-09-27 Thread Erik Norgaard

Aflatoon Aflatooni wrote:

Hi,
I am running a server that is acting as the mail server for only internal users 
(about 50 users). Currently we are running Sendmail, but reading on other 
discussions I noticed that qmail and other programs are suggested.
I am wondering if qmail is thought to be better than sendmail. Is there a matrix of features and functionalities that would compare the different mail servers? 
Any suggestions on spam filters like spam-assassin?


Qmail has a very limited set of features, it is simple efficient and 
pretty easy to setup, and has a track record as a secure alternative to 
sendmail.


Postfix I think is the flexible and popular alternative to sendmail. It 
supports most if not all of sendmail features and easily integrates with 
a number of filtering solutions as well as imap and ldap servers.


BR, Erik

--
Erik Nørgaard
Ph: +34.666334818/+34.915211157  http://www.locolomo.org
___
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: Whic mail server?

2009-09-27 Thread Jerry
On Sun, 27 Sep 2009 06:01:22 -0700 (PDT)
Aflatoon Aflatooni  wrote:

> Hi,
> I am running a server that is acting as the mail server for only
> internal users (about 50 users). Currently we are running Sendmail,
> but reading on other discussions I noticed that qmail and other
> programs are suggested. I am wondering if qmail is thought to be
> better than sendmail. Is there a matrix of features and
> functionalities that would compare the different mail servers? Any
> suggestions on spam filters like spam-assassin?

Qmail is not, nor has it been, actively supported for years. Personally,
I use Postfix. Is is far easier IMHO to configure that Sendmail and it
is actively supported. The developer regularly answers questions on the
Postfix forum.

Amavisd-new <http://www.ijs.si/software/amavisd/> works fine with
Postfix. You might want to stay away from
MailScanner <http://www.mailscanner.info/> though. The Postfix author
discourages its use and Postfix does not support it.

-- 
Jerry
ges...@yahoo.com

Every cloud has a silver lining;
you should have sold it, and bought titanium.
___
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: Whic mail server?

2009-09-27 Thread Michael Powell
Aflatoon Aflatooni wrote:

> Hi,
> I am running a server that is acting as the mail server for only internal
> users (about 50 users). Currently we are running Sendmail, but reading on
> other discussions I noticed that qmail and other programs are suggested. I
> am wondering if qmail is thought to be better than sendmail. Is there a
> matrix of features and functionalities that would compare the different
> mail servers? Any suggestions on spam filters like spam-assassin?
> 
> 
> Thank you

This is, of course, my own personal bias here but I wouldn't touch qmail 
with a ten foot pole. I know many have used it successfully and been happy 
with it. 

It is very easy to begin with a single domain for local delivery to 
configure sendmail as per the instructions in the Handbook. Postfix is 
designed to be a drop in replacement for Sendmail, and for a simple Sendmail 
already configured, Postfix will just take over and work when installed.

Additions such as MySQL for virtual domains and users, spamd, etc., can then 
be plugged in to the basic setup one at a time. There is a pretty fair 
amount of documentation in the Postfix world for such things.

If you are looking to change out Sendmail my vote would be Postfix as it is 
easier to build on and build up from the setup you're currently using. 

However, I'd like to point out if you have only one mail server you probably 
should do this on a second duplicate machine and then once it is proved to 
work properly swap them. There is a pretty good chance if you only have one 
mail server you're going to take it down while mucking about.

-Mike



___
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"


Whic mail server?

2009-09-27 Thread Aflatoon Aflatooni
Hi,
I am running a server that is acting as the mail server for only internal users 
(about 50 users). Currently we are running Sendmail, but reading on other 
discussions I noticed that qmail and other programs are suggested.
I am wondering if qmail is thought to be better than sendmail. Is there a 
matrix of features and functionalities that would compare the different mail 
servers? 
Any suggestions on spam filters like spam-assassin?


Thank you


  
___
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: Virus scanning for Exim mail server

2009-09-17 Thread Olivier Nicole
Hi,

> Does anyone know of command line virus scanners (open source or
> commercial) that work with FreeBSD 7.2 and Exim??

Clamav, open source, in the ports, command line and daemon mode.

Kaspersky, commercial, command line and daemon mode for the mail
server package (something undocumented called aveserver and aveclient).

The advantage of a daemon scanner, when used in conjunction with a
mail server is that the scanner runs in the background and scans the
files that are submited to it, as the scanner is always running, it
does not take time loading the virus patterns every time, so there is
no start-up over head (few seconds) and the scan is very fast.

I think there are others, but these are the one I use. They both
integrate fine in amavisd-new (and I beleive amavisd-new works with
Exim).

Bests,

Olivier
___
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"


Virus scanning for Exim mail server

2009-09-17 Thread Dave Stegner
I have been looking on the FreeBSD site and ports for a virus scanner to use 
with an Exim mail server, without much luck.


Does anyone know of command line virus scanners (open source or commercial) 
that work with FreeBSD 7.2 and Exim??


Thanking you in advance,

David R. Stegner


___
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: New mail server setup

2009-09-17 Thread Steve Bertrand
Michael K. Smith - Adhost wrote:

>> - can your PF load balancers 'sense' when one of the Postfix/Dovecot
>> units are down, or is this a manual change in config to prevent any
>> time-out conditions?
> 
> Not natively.  When we initially implemented this setup, ifstated wasn't
> up to snuff, so we wrote some PERL scripts that make connections to the
> required ports and, if no connection is established, pull the server
> from the table and send us an alarm.  We also have scripts so that we
> can pull servers out when we're doing maintenance.

Ok. I've done the above in similar situations numerous times, so that works.

>> I like this load balancer idea. In my environment, it would be trivial
>> to set up a couple of them, throw Quagga on them, and integrate them
>> directly into our iBGP setup. On the other side, I could use VRRP or
>> the
>> like to ensure redundancy from front to back.

> We use two PF boxes and CARP with PFSync for failover, so no dynamic
> protocols are needed.  

I'll have to review this further. I'm not overly familiar with CARP (ie
I've never used it), nor PFSync.

My mentality for infrastructure gear (the balancers, not the servers) is
always "make each device connect to two different switches/routers, and
try to make it dynamic in a way that it fits into our OSPF/iBGP design,
so if necessary, we can move the entire thing to a different network
segment, and not have to renumber".

I'm getting a mental picture how I can have load balancing & failover
with the two devices, and network resiliency by having each balancer
connected to different network segments (between buildings over fibre if
I want).

>> - do the Postfix/Dovecot servers communicate with each other, or are
>> they simply stand-alone units that don't know/care that they have
> other
>> peers helping with the workload?
>>
> They are standalone.  All of the user authentication is handled from a
> centralized database, so there are no local credentials stored on the
> server.

Perfect...do your auth/acct db's generally reside on the same storage
mechanism that the data does, in order to keep 'email related stuff'
altogether?

>> - are your filter servers in front of, or behind the load balancers
>> (iow, is all of your inbound email passed through the balancers, and
>> then filtered/processed/delivered in behind them)?
>>

> They are behind the PF boxes.  We have other hooks in PF that we use to
> block SPAM in PF, including Cloudmark and some custom stuff that looks
> for multiple mails to non-existent addresses.  We also use the overload
> tables for abusive connections.

Ok. We have a Barracuda cluster hanging off of one of our Internet
facing edge routers, that filters then passes what it allows back into
the network, and to the servers. The only reason I don't aggregate all
of the mail systems together, is so that I can filter the spam as soon
as possible upon ingress to our network, instead of having it traverse
the core.

>> - how do all of the pieces communicate with the NAS...NFS?
> 
> Yes.  Originally we used TCP but we found performance to be much better
> with UDP.  NFSv3 by the way.

Ok.

[ snip ]

> If you have a particular scenario you're thinking about I could help you
> with the rules to make it work.

I do, and that would be fantastic! I'll draw up a diagram this afternoon
of what I envision. Where I'll need a bit of advice will likely be in
the details, as opposed to the design, especially if I migrate
completely away from our existing mail platform(s).

Cheers!

Steve


smime.p7s
Description: S/MIME Cryptographic Signature


RE: New mail server setup

2009-09-17 Thread Michael K. Smith - Adhost
Hello Steve:

I'll try to answer your questions in line.  


> 
> > Another approach would be a cluster of Postfix servers and Dovecot
> > servers behind PF load balancers.  We have 3 "POP" servers
> (IMAP/POP), 9
> > Mail Servers, 2 Defer servers and 5 Filter servers that process over
> 20
> > million messages a day without a blip.  We can take individual
> servers
> > out of the pool for maintenance, etc.  Everything is fed to a set of
> > redundant NAS for the data storage and common configuration files.
> 
> Thanks Mike,
> 
> I'm interested to learn a little more about your setup. I was going to
> take it off-list, but if you can provide some further details, it
would
> probably add long-term value to keep it here.
> 
> So, a couple of questions:
> 
> - can your PF load balancers 'sense' when one of the Postfix/Dovecot
> units are down, or is this a manual change in config to prevent any
> time-out conditions?

Not natively.  When we initially implemented this setup, ifstated wasn't
up to snuff, so we wrote some PERL scripts that make connections to the
required ports and, if no connection is established, pull the server
from the table and send us an alarm.  We also have scripts so that we
can pull servers out when we're doing maintenance.
> 
> I like this load balancer idea. In my environment, it would be trivial
> to set up a couple of them, throw Quagga on them, and integrate them
> directly into our iBGP setup. On the other side, I could use VRRP or
> the
> like to ensure redundancy from front to back.

We use two PF boxes and CARP with PFSync for failover, so no dynamic
protocols are needed.  
> 
> - do the Postfix/Dovecot servers communicate with each other, or are
> they simply stand-alone units that don't know/care that they have
other
> peers helping with the workload?
> 
They are standalone.  All of the user authentication is handled from a
centralized database, so there are no local credentials stored on the
server.  

> - are your filter servers in front of, or behind the load balancers
> (iow, is all of your inbound email passed through the balancers, and
> then filtered/processed/delivered in behind them)?
>

They are behind the PF boxes.  We have other hooks in PF that we use to
block SPAM in PF, including Cloudmark and some custom stuff that looks
for multiple mails to non-existent addresses.  We also use the overload
tables for abusive connections.
 
> - how do all of the pieces communicate with the NAS...NFS?

Yes.  Originally we used TCP but we found performance to be much better
with UDP.  NFSv3 by the way.
> 
> - could you share a small snip of your PF config in relation to
> load-balancing, so I can get a bit of a better understanding config-
> wise
> on how that piece hangs together? (I've never used PF, only IFPW ;)

That might be difficult because it's about 720 lines.  :-)  Here are
some highlights, though.

1) Our customers use mail.adhost.com for everything - SMTP, POP and
IMAP.  We use redirects in PF so that traffic coming in on the
associated ports goes to the appropriate servers.
2) We have our load-balanced DNS servers behind the same PF boxes so we
localize the tons of DNS queries related to mail.
3) We do a lot of our rejecting in PF, including Spamhaus, Cloudmark,
check scripts for Phishing, Porn and Viruses, as well as our own list of
"Nefarious" IP's culled from various sources.  When traffic matches
these originators, we send them to mail reject servers that send out a
550 message with the group name so we can find false positives more
quickly.
4) Because 3 does have false positives, we have a whitelist that we can
add to that will pass traffic to the mail servers before they match
against any of the tables in 3.
5) We use POP before SMTP, so once we authenticate a user to send, their
IP address is also added to an allow table.
6) The filter servers are load balanced to and from the mail servers so
we can take them in and out of their pool for maintenance.

If you have a particular scenario you're thinking about I could help you
with the rules to make it work.

Regards,

Mike
___
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: New mail server setup

2009-09-17 Thread Steve Bertrand
Michael K. Smith - Adhost wrote:

>>> Steve Bertrand wrote:
>>>
 If anyone has a setup that has redundancy for their IMAP/POP
>> services,
 and a method to keep the changing data relatively up-to-date, I'd
>> love
 to hear about it.

[ big snip ]

> Another approach would be a cluster of Postfix servers and Dovecot
> servers behind PF load balancers.  We have 3 "POP" servers (IMAP/POP), 9
> Mail Servers, 2 Defer servers and 5 Filter servers that process over 20
> million messages a day without a blip.  We can take individual servers
> out of the pool for maintenance, etc.  Everything is fed to a set of
> redundant NAS for the data storage and common configuration files.

Thanks Mike,

I'm interested to learn a little more about your setup. I was going to
take it off-list, but if you can provide some further details, it would
probably add long-term value to keep it here.

So, a couple of questions:

- can your PF load balancers 'sense' when one of the Postfix/Dovecot
units are down, or is this a manual change in config to prevent any
time-out conditions?

I like this load balancer idea. In my environment, it would be trivial
to set up a couple of them, throw Quagga on them, and integrate them
directly into our iBGP setup. On the other side, I could use VRRP or the
like to ensure redundancy from front to back.

- do the Postfix/Dovecot servers communicate with each other, or are
they simply stand-alone units that don't know/care that they have other
peers helping with the workload?

- are your filter servers in front of, or behind the load balancers
(iow, is all of your inbound email passed through the balancers, and
then filtered/processed/delivered in behind them)?

- how do all of the pieces communicate with the NAS...NFS?

- could you share a small snip of your PF config in relation to
load-balancing, so I can get a bit of a better understanding config-wise
on how that piece hangs together? (I've never used PF, only IFPW ;)

Thanks, and regards,

Steve



smime.p7s
Description: S/MIME Cryptographic Signature


RE: New mail server setup

2009-09-16 Thread Michael K. Smith - Adhost
> -Original Message-
> From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
> questi...@freebsd.org] On Behalf Of Steve Bertrand
> Sent: Wednesday, September 16, 2009 7:09 AM
> To: Matthew Seaman
> Cc: questi...@freebsd.org
> Subject: Re: New mail server setup
> 
> Matthew Seaman wrote:
> > Steve Bertrand wrote:
> >
> 
> >> If anyone has a setup that has redundancy for their IMAP/POP
> services,
> >> and a method to keep the changing data relatively up-to-date, I'd
> love
> >> to hear about it.
> >
> > Now, that is a different kettle of fish.  This is a job for cyrus
> imap.
> > I suggest googling for 'cyrus murder' -- this is almost, but not
> quite,
> > a fully resilient mail store / IMAP system.  Your mail store is
> divided
> > into frontend IMAP protocol servers which handle user auth etc. and
> back-end
> > mail stores.  The protocol layer servers are fully resilient and you
> can
> > fail over a user session at will, but the mailstores don't quite get
> there:
> > mail is replicated across different stores, but actions modifying
the
> mail
> > store are not transactional across all the mail stores. Or in other
> words,
> > you can lose a small amount of data if one of the mail stores goes
> bang at
> > precisely the wrong moment.  Even so, it will do better at keeping
> multiple
> > copies of a mailstore in synch than any locally scripted rsync
setup.
> 
> This is *EXACTLY* what I was looking for!
> 
> The possibility of loosing an extremely small amount of data far
> outweighs the possibility of a multi-hour outage where 3,000 users are
> receiving "can't reach the POP3 server" errors.
> 
> Besides, our incoming SMTP gateway boxes cache all incoming email for
> 24
> hours, and we can re-deliver any message to the back-end we wish
during
> that window.
> 
> I really try my best to design/implement all the systems I can like
our
> networks... multiple paths and extremely quick convergence. Being able
> to take a box down to test/perform an upgrade, or during a failure
> without client impact is well worth any initial large learning curve
> imho.
> 
> Thanks,
> 
> Steve

Hello Steve:

Another approach would be a cluster of Postfix servers and Dovecot
servers behind PF load balancers.  We have 3 "POP" servers (IMAP/POP), 9
Mail Servers, 2 Defer servers and 5 Filter servers that process over 20
million messages a day without a blip.  We can take individual servers
out of the pool for maintenance, etc.  Everything is fed to a set of
redundant NAS for the data storage and common configuration files.

Regards,

Mike

--
Michael K. Smith - CISSP, GISP
Chief Technical Officer - Adhost Internet LLC mksm...@adhost.com
w: +1 (206) 404-9500 f: +1 (206) 404-9050
PGP: B49A DDF5 8611 27F3  08B9 84BB E61E 38C0 (Key ID: 0x9A96777D)


___
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: New mail server setup

2009-09-16 Thread Steve Bertrand
Matthew Seaman wrote:
> Steve Bertrand wrote:
> 

>> If anyone has a setup that has redundancy for their IMAP/POP services,
>> and a method to keep the changing data relatively up-to-date, I'd love
>> to hear about it.
> 
> Now, that is a different kettle of fish.  This is a job for cyrus imap.
> I suggest googling for 'cyrus murder' -- this is almost, but not quite,
> a fully resilient mail store / IMAP system.  Your mail store is divided
> into frontend IMAP protocol servers which handle user auth etc. and back-end
> mail stores.  The protocol layer servers are fully resilient and you can
> fail over a user session at will, but the mailstores don't quite get there:
> mail is replicated across different stores, but actions modifying the mail
> store are not transactional across all the mail stores. Or in other words,
> you can lose a small amount of data if one of the mail stores goes bang at
> precisely the wrong moment.  Even so, it will do better at keeping multiple
> copies of a mailstore in synch than any locally scripted rsync setup.

This is *EXACTLY* what I was looking for!

The possibility of loosing an extremely small amount of data far
outweighs the possibility of a multi-hour outage where 3,000 users are
receiving "can't reach the POP3 server" errors.

Besides, our incoming SMTP gateway boxes cache all incoming email for 24
hours, and we can re-deliver any message to the back-end we wish during
that window.

I really try my best to design/implement all the systems I can like our
networks... multiple paths and extremely quick convergence. Being able
to take a box down to test/perform an upgrade, or during a failure
without client impact is well worth any initial large learning curve imho.

Thanks,

Steve


smime.p7s
Description: S/MIME Cryptographic Signature


Re: New mail server setup

2009-09-16 Thread Matthew Seaman
Steve Bertrand wrote:

> What I don't have, and have always wondered about, is live redundancy
> for the IMAP/POP services.
> 
> I know that this would be a challenge to some degree considering the
> high volume of data changes.
> 
> Perhaps a carp(4) setup between a couple of MDA's, where when the
> primary is up, a constant rsync pushes the data to the backup. Or
> perhaps a combination of rsync for manual changes, and a method to have
> the primary write the emails to a local disk, and a network disk
> simultaneously?
> 
> If anyone has a setup that has redundancy for their IMAP/POP services,
> and a method to keep the changing data relatively up-to-date, I'd love
> to hear about it.

Now, that is a different kettle of fish.  This is a job for cyrus imap.
I suggest googling for 'cyrus murder' -- this is almost, but not quite,
a fully resilient mail store / IMAP system.  Your mail store is divided
into frontend IMAP protocol servers which handle user auth etc. and back-end
mail stores.  The protocol layer servers are fully resilient and you can
fail over a user session at will, but the mailstores don't quite get there:
mail is replicated across different stores, but actions modifying the mail
store are not transactional across all the mail stores. Or in other words,
you can lose a small amount of data if one of the mail stores goes bang at
precisely the wrong moment.  Even so, it will do better at keeping multiple
copies of a mailstore in synch than any locally scripted rsync setup.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   Flat 3
  7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW, UK



signature.asc
Description: OpenPGP digital signature


Re: New mail server setup

2009-09-16 Thread Steve Bertrand
Matthew Seaman wrote:
> Steve Bertrand wrote:

>> My minimum requirements:
>>
>> - IPv6 for all protocols
>> - SPF
>> - IMAP|POP3 must support SSL
>> - SMTP AUTH
>> - submit on 587
>> - MySQL backend for un/pw, vpopmail preferred, but not mandatory
>> - Maildir storage preferred
>> - easy (ie: well documented) integration with SA/clam
>> - integration with maildrop .mailfiter preferred

> For an MTA: postfix does everything you want, it's not too shabby speed
> wise
> and the config files are reasonably comprehensible.
> 
> For an IMAP/POP3 server: dovecot has the required functionality and
> unless you're dealing with thousands of user accounts it's probably a
> better alternative
> for you than the nuclear option of cyrus-imapd.

Ok, I'm back up and rolling again.

Thanks Matthew, and the others who replied off-list for all of the feedback.

One thing that I forgot to ask in my original post was that of clustering.

In our production network, we have a cluster of perimeter MX's, and a
similar setup for our submission boxes (it's been a couple of years
since we've strictly enforced AUTH for all clients).

What I don't have, and have always wondered about, is live redundancy
for the IMAP/POP services.

I know that this would be a challenge to some degree considering the
high volume of data changes.

Perhaps a carp(4) setup between a couple of MDA's, where when the
primary is up, a constant rsync pushes the data to the backup. Or
perhaps a combination of rsync for manual changes, and a method to have
the primary write the emails to a local disk, and a network disk
simultaneously?

If anyone has a setup that has redundancy for their IMAP/POP services,
and a method to keep the changing data relatively up-to-date, I'd love
to hear about it.

Cheers,

Steve


smime.p7s
Description: S/MIME Cryptographic Signature


Re: New mail server setup

2009-09-15 Thread Matthew Seaman

Steve Bertrand wrote:

I'm looking potentially to try a different mail server setup. I'm
requesting honest feedback from experienced mail ops.

My minimum requirements:

- IPv6 for all protocols
- SPF
- IMAP|POP3 must support SSL
- SMTP AUTH
- submit on 587
- MySQL backend for un/pw, vpopmail preferred, but not mandatory
- Maildir storage preferred
- easy (ie: well documented) integration with SA/clam
- integration with maildrop .mailfiter preferred

Right now I use a system wrapped around Qmail, and honestly, I just
don't want to patch for IPv6 anymore.

I've broken my personal system, so while I work on re-hacking
everything, I thought I'd solicit some new ideas. I've been using the
same email system pretty much across the board for seven years or so, so
perhaps I should look at other options.

Please cc me, as this addr isn't subscribed. I won't be receiving my
list email from my backup mx until tomorrow, as it were ;)


For an MTA: postfix does everything you want, it's not too shabby speed wise
and the config files are reasonably comprehensible.

For an IMAP/POP3 server: dovecot has the required functionality and unless 
you're dealing with thousands of user accounts it's probably a better alternative

for you than the nuclear option of cyrus-imapd.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


New mail server setup

2009-09-15 Thread Steve Bertrand
I'm looking potentially to try a different mail server setup. I'm
requesting honest feedback from experienced mail ops.

My minimum requirements:

- IPv6 for all protocols
- SPF
- IMAP|POP3 must support SSL
- SMTP AUTH
- submit on 587
- MySQL backend for un/pw, vpopmail preferred, but not mandatory
- Maildir storage preferred
- easy (ie: well documented) integration with SA/clam
- integration with maildrop .mailfiter preferred

Right now I use a system wrapped around Qmail, and honestly, I just
don't want to patch for IPv6 anymore.

I've broken my personal system, so while I work on re-hacking
everything, I thought I'd solicit some new ideas. I've been using the
same email system pretty much across the board for seven years or so, so
perhaps I should look at other options.

Please cc me, as this addr isn't subscribed. I won't be receiving my
list email from my backup mx until tomorrow, as it were ;)

Steve


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Stable Mail Server And Web Mail

2009-06-02 Thread Wojciech Puchar
on what planet do You live? really at least 80% of mail that comes to my 
servers are spam. spamassassin deletes far over 95% of it fortunately.


It takes a few weeks before the spammers become aware of a brand new mail
system -- you have to send e-mail from the system before they can harvest
your addresses and start trying to sell you dubious pharmaceuticals.  Look on


Users of your mail service will help them very well.

For example sending christmas greets using CC: instead of Bcc:
___
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: Stable Mail Server And Web Mail

2009-06-01 Thread Matthew Seaman

Wojciech Puchar wrote:
I just had my first answer to this setup.  only roughly 5% of the 
volume of


on what planet do You live? really at least 80% of mail that comes to my 
servers are spam. spamassassin deletes far over 95% of it fortunately.


It takes a few weeks before the spammers become aware of a brand new mail
system -- you have to send e-mail from the system before they can harvest
your addresses and start trying to sell you dubious pharmaceuticals.  Look on
it as a grace period where you can get your anti-spam defenses into shape
before the real onslaught begins.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: Stable Mail Server And Web Mail

2009-06-01 Thread Wojciech Puchar

of


on what planet do You live? really at least 80% of mail that comes to my 
servers are spam.
spamassassin deletes far over 95% of it fortunately.




You don't follow context very well.


Seems so - sorry. as for input it's rather 5% being not a spam.


with the setup I'm talking about, only 5% of the total volume currently 
received is spam.  and
that's a guestimate.

Just checked - i received 350 spams today (since 0:00) and got 4 uncatched 
by spamassassin. so like 1-1.5%___
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: Stable Mail Server And Web Mail

2009-06-01 Thread Tim Judd
On Mon, Jun 1, 2009 at 2:07 PM, Wojciech Puchar <
woj...@wojtek.tensor.gdynia.pl> wrote:

>  I just had my first answer to this setup.  only roughly 5% of the volume
>> of
>>
>
> on what planet do You live? really at least 80% of mail that comes to my
> servers are spam. spamassassin deletes far over 95% of it fortunately.
>
>


You don't follow context very well.

with the setup I'm talking about, only 5% of the total volume currently
received is spam.  and that's a guestimate.

My point is that this is 5% coming through without using an anti-spam
product.  I was trying to get a feel for the software combination I spoke
about, how effective it was without anti-spam.

And then I said that the last 5% can be cleaned up by using anti-spam
software.


I won't elaborate to you any more.
___
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: Stable Mail Server And Web Mail

2009-06-01 Thread Wojciech Puchar

I just had my first answer to this setup.  only roughly 5% of the volume of


on what planet do You live? really at least 80% of mail that comes to my 
servers are spam. spamassassin deletes far over 95% of it fortunately.


___
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: Stable Mail Server And Web Mail

2009-06-01 Thread Tim Judd
On Mon, Jun 1, 2009 at 1:20 PM, Tim Judd  wrote:

>
>
> On Fri, May 29, 2009 at 2:50 PM, Tim Judd  wrote:
>
>>
>>
>> 2009/5/27 Mel Flynn 
>> 
>> >
>>
>>> On Monday 25 May 2009 13:53:40 Zbigniew Szalbot wrote:
>>> > Hello,
>>> >
>>> > > Hello all ,  I want to install a  Mail Server with  Webmail,
>>> > >
>>> > > Anybody to know a good Stable Mail Server and Web Mail
>>> >
>>> > I recommend the following step-by-step instructions:
>>> > http://www.purplehat.org/?page_id=4
>>>
>>> It's a detailed how-to but consider the following:
>>> a) With Oracle acquiring Sun, one should move to PostgreSQL where ever
>>> possible.
>>> b) Spam Assassin is a resource hog, use mail/dspam.
>>> c) While postfix-admin is ok for one box setup, it doesn't scale at all -
>>> you'll have to install it for every physical machine to manage that
>>> specific
>>> database for that box. I know of no alternatives, hence I'm rolling my
>>> own.
>>>
>>
>>
>> Just thought I should make a couple comments, it's not a message to change
>> or correct Mel's message but rather just a idea on a possible solution I
>> have deployed and would like input and experience/results relayed to me.
>>
>>
>> Put whatever MTA you want, I use postfix primarily.  sendmail would work
>> too, but I don't know exim or qmail.
>>
>> Install OpenBSD's spamd (that works with PF, and ipfw support is early,
>> but there) on the host to block the (at last count) ~460k hosts and subnets
>> that are known spammers so your MTA doesn't even have to mess with it.
>> Include DNS Blacklisting support with your MTA.  These are the servers
>> that have mistakenly sent out a spam and gotten caught.  DNSBL will report
>> to the client that it's being blocked and how to remove it.
>>
>>
>> I'd love to hear success stories with this.  Both pieces together work
>> very well, and I am still working on seeing if any spam does come through.
>> If spam does come through, a product like dspam or spamassassin could finish
>> off the job.
>>
>>
>> I don't have a live domain, so I can give directions if anybody's
>> interested.  Maybe one day I'll write up an article for this.
>>
>>
>> I ask please - for those who are interested in trying this, to give me the
>> success or not-so-success stories so I can fine tune it and work out the
>> missing link.
>>
>>
>> --Tim
>>
>
>
> I just had my first answer to this setup.  only roughly 5% of the volume of
> mail is spam.  This is very acceptable given that there's no spam filter
> yet.  and the last 5% can be cleaned up with a proper anti-spam solution,
> and my first anticipation would be spamd for that solution
>
>

erm  dspam, not spamd.  :)

firewall w/ spamd
MTA with DNSBL
dspam invoked by MTA

:)
___
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: Stable Mail Server And Web Mail

2009-06-01 Thread Tim Judd
On Fri, May 29, 2009 at 2:50 PM, Tim Judd  wrote:

>
>
> 2009/5/27 Mel Flynn 
> 
> >
>
>> On Monday 25 May 2009 13:53:40 Zbigniew Szalbot wrote:
>> > Hello,
>> >
>> > > Hello all ,  I want to install a  Mail Server with  Webmail,
>> > >
>> > > Anybody to know a good Stable Mail Server and Web Mail
>> >
>> > I recommend the following step-by-step instructions:
>> > http://www.purplehat.org/?page_id=4
>>
>> It's a detailed how-to but consider the following:
>> a) With Oracle acquiring Sun, one should move to PostgreSQL where ever
>> possible.
>> b) Spam Assassin is a resource hog, use mail/dspam.
>> c) While postfix-admin is ok for one box setup, it doesn't scale at all -
>> you'll have to install it for every physical machine to manage that
>> specific
>> database for that box. I know of no alternatives, hence I'm rolling my
>> own.
>>
>
>
> Just thought I should make a couple comments, it's not a message to change
> or correct Mel's message but rather just a idea on a possible solution I
> have deployed and would like input and experience/results relayed to me.
>
>
> Put whatever MTA you want, I use postfix primarily.  sendmail would work
> too, but I don't know exim or qmail.
>
> Install OpenBSD's spamd (that works with PF, and ipfw support is early, but
> there) on the host to block the (at last count) ~460k hosts and subnets that
> are known spammers so your MTA doesn't even have to mess with it.
> Include DNS Blacklisting support with your MTA.  These are the servers that
> have mistakenly sent out a spam and gotten caught.  DNSBL will report to the
> client that it's being blocked and how to remove it.
>
>
> I'd love to hear success stories with this.  Both pieces together work very
> well, and I am still working on seeing if any spam does come through.  If
> spam does come through, a product like dspam or spamassassin could finish
> off the job.
>
>
> I don't have a live domain, so I can give directions if anybody's
> interested.  Maybe one day I'll write up an article for this.
>
>
> I ask please - for those who are interested in trying this, to give me the
> success or not-so-success stories so I can fine tune it and work out the
> missing link.
>
>
> --Tim
>


I just had my first answer to this setup.  only roughly 5% of the volume of
mail is spam.  This is very acceptable given that there's no spam filter
yet.  and the last 5% can be cleaned up with a proper anti-spam solution,
and my first anticipation would be spamd for that solution
___
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: Stable Mail Server And Web Mail

2009-06-01 Thread Jeff Dickens

Another option:

Qmail and Dovecot.  Actually I have multiple servers running those at 
multiple sites.  For webmail, I have use squirrelmail and perdition, 
which is an imap proxy/multiplexer.  It makes the multiple dovecot 
systems look like one to the webmail system.  You could replace 
squirrelmail with any other imap-based webmail.


For anti-spam and anti-virus I use Postini.  A dollar a month per user.  
I send no mail except via Postini, and I accept no mail except from 
Postini, enforced by both qmail's tcprules and our cisco firewalls.  The 
combination is fast, safe and low-maintenance (but perhaps not your 
definition of cheap).


I've built this thing but only have a small contingent of users on it so 
far.. the rest are still on a external host.  Last week I set up mstone, 
(see sourceforge project) and have been loading it up to see where it 
creaks.  So far so good.


John Dakos [ Enovation Technologies ] wrote:
 


Hello all ,  I want to install a  Mail Server with  Webmail,

Anybody to know a good Stable Mail Server and Web Mail

I will appreciate

Thanks all

 

 

 

 

 

 

 

 

 

 


John Dakos
Network Administrator
Enovation Technologies
Filellinon 35, Chalandrion
15232 Athens, GREECE
Tel: +30-210 811 9673
Mob: +30-6979348082

___
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"
  


__
 Scanned by Google Message Security  - Leaving Seaman Paper
___
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: Stable Mail Server And Web Mail

2009-05-30 Thread Mel Flynn
On Saturday 30 May 2009 18:05:12 Wojciech Puchar wrote:
> > Depends on your usage. I'd say for SMTP table lookups, MySQL can out
> > perform PostgreSQL, unless one uses persistent connections (postfix
> > proxy-map to be on topic). The reason for this is that the connection
> > start up for MySQL has lower overhead then for PostgreSQL.
>
> for just quick searching of keys isn't just berkeley DB or maybe sqlite
> the best. there will be no connecting at all.
>
> anyway sqlite is much more useful

Only for single machine installs as I wouldn't recommend sqlite over NFS to 
share the database.
The idea was to have one machine (or a replicated cluster) with a database and 
several mail servers getting their information from there. It's less about 
performance, more about a preference of how you want to manage your 
information.
-- 
Mel
___
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: Stable Mail Server And Web Mail

2009-05-30 Thread Wojciech Puchar

you tried using:

BUILD_OPTIMIZED=yes
BUILD_STATIC=yes

Their use could improve the speed of MySQL.


the latter (static) will only optimize mysql startup time
___
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: Stable Mail Server And Web Mail

2009-05-30 Thread Jerry
On Sat, 30 May 2009 17:31:35 +0200 (CEST)
Wojciech Puchar  wrote:

 It's a detailed how-to but consider the following:
 a) With Oracle acquiring Sun, one should move to PostgreSQL where
 ever possible.
>
>is this a reason, or that simply mysql is just slow and inefficient 
>compared to postgreSQL?

There are many factors that could be contributing to the speed of MySQL.
For starters, what version are you employing? I believe
"databases/mysql60-server" is the latest version in the ports tree. Have
you tried using:

BUILD_OPTIMIZED=yes
BUILD_STATIC=yes

Their use could improve the speed of MySQL.

There are other options in the Makefile. Unfortunately, you have to set
them manually.

-- 
Jerry
ges...@yahoo.com

Theory is gray, but the golden tree of life is green.

Goethe


signature.asc
Description: PGP signature


Re: Stable Mail Server And Web Mail

2009-05-30 Thread Wojciech Puchar

Depends on your usage. I'd say for SMTP table lookups, MySQL can out perform
PostgreSQL, unless one uses persistent connections (postfix proxy-map to be on
topic). The reason for this is that the connection start up for MySQL has
lower overhead then for PostgreSQL.


for just quick searching of keys isn't just berkeley DB or maybe sqlite 
the best. there will be no connecting at all.


anyway sqlite is much more useful
___
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: Stable Mail Server And Web Mail

2009-05-30 Thread Mel Flynn
On Saturday 30 May 2009 17:31:35 Wojciech Puchar wrote:
> >>> It's a detailed how-to but consider the following:
> >>> a) With Oracle acquiring Sun, one should move to PostgreSQL where ever
> >>> possible.
>
> is this a reason, or that simply mysql is just slow and inefficient
> compared to postgreSQL?

Depends on your usage. I'd say for SMTP table lookups, MySQL can out perform 
PostgreSQL, unless one uses persistent connections (postfix proxy-map to be on 
topic). The reason for this is that the connection start up for MySQL has 
lower overhead then for PostgreSQL. So typically with small tables (lookup 
maps for transport and users are generally not in the order of millions) and 
lots of connections MySQL could win. On the other hand, PostgreSQL scales 
better, especially now that the Sysv IPC shared memory limit in FreeBSD has 
been fixed. [1]

The reason for my original remark is that Oracle now acquired SAP DB, MySQL 
and Berkeley DB, so the best scenario I can see is that they improve the 
underused Berkeley DB table handler for MySQL and leave the rest in-tact, but 
I more expect them to phase out MySQL or grow it with Oracle features, neither 
of which I personally consider a good thing.

[1] 

-- 
Mel
___
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: Stable Mail Server And Web Mail

2009-05-30 Thread Wojciech Puchar

It's a detailed how-to but consider the following:
a) With Oracle acquiring Sun, one should move to PostgreSQL where ever
possible.


is this a reason, or that simply mysql is just slow and inefficient 
compared to postgreSQL?

___
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: Stable Mail Server And Web Mail

2009-05-30 Thread Chris Rees
2009/5/29 Wojciech Puchar :
>>> itself, and how much of stupid-written PHP programs
>>>
>>
>> I don't think PHP itself is buggy, in fact I think badly written C
>> programs are responsible for far more lossage.
>
> It all depends who write programs.
>

Yes... but that has nothing to do with PHP.

PHP, Python, Perl (especially), C, Ruby, there are all stupid buggy
programs written in these. Why pick on PHP?

Chris

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
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: Stable Mail Server And Web Mail

2009-05-29 Thread Tim Judd
2009/5/27 Mel Flynn

>

> On Monday 25 May 2009 13:53:40 Zbigniew Szalbot wrote:
> > Hello,
> >
> > > Hello all ,  I want to install a  Mail Server with  Webmail,
> > >
> > > Anybody to know a good Stable Mail Server and Web Mail
> >
> > I recommend the following step-by-step instructions:
> > http://www.purplehat.org/?page_id=4
>
> It's a detailed how-to but consider the following:
> a) With Oracle acquiring Sun, one should move to PostgreSQL where ever
> possible.
> b) Spam Assassin is a resource hog, use mail/dspam.
> c) While postfix-admin is ok for one box setup, it doesn't scale at all -
> you'll have to install it for every physical machine to manage that
> specific
> database for that box. I know of no alternatives, hence I'm rolling my own.
>


Just thought I should make a couple comments, it's not a message to change
or correct Mel's message but rather just a idea on a possible solution I
have deployed and would like input and experience/results relayed to me.


Put whatever MTA you want, I use postfix primarily.  sendmail would work
too, but I don't know exim or qmail.

Install OpenBSD's spamd (that works with PF, and ipfw support is early, but
there) on the host to block the (at last count) ~460k hosts and subnets that
are known spammers so your MTA doesn't even have to mess with it.
Include DNS Blacklisting support with your MTA.  These are the servers that
have mistakenly sent out a spam and gotten caught.  DNSBL will report to the
client that it's being blocked and how to remove it.


I'd love to hear success stories with this.  Both pieces together work very
well, and I am still working on seeing if any spam does come through.  If
spam does come through, a product like dspam or spamassassin could finish
off the job.


I don't have a live domain, so I can give directions if anybody's
interested.  Maybe one day I'll write up an article for this.


I ask please - for those who are interested in trying this, to give me the
success or not-so-success stories so I can fine tune it and work out the
missing link.


--Tim
___
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: Stable Mail Server And Web Mail

2009-05-29 Thread Mel Flynn
On Friday 29 May 2009 09:21:36 Johan Hendriks wrote:
> >> Hello,
> >>
> >> > Hello all ,  I want to install a  Mail Server with  Webmail,
> >> >
> >> > Anybody to know a good Stable Mail Server and Web Mail
> >>
> >> I recommend the following step-by-step instructions:
> >> http://www.purplehat.org/?page_id=4
> >
> >It's a detailed how-to but consider the following:
> >a) With Oracle acquiring Sun, one should move to PostgreSQL where ever
> >possible.
> >b) Spam Assassin is a resource hog, use mail/dspam.
> >c) While postfix-admin is ok for one box setup, it doesn't scale at all -
> >you'll have to install it for every physical machine to manage that
> > specific database for that box. I know of no alternatives, hence I'm
> > rolling my own.
> >
> >--
> >Mel
>
> Option c and do not understand.
>
> You can use a centralized database and let as many postfix, dovecot servers
> talk to that database as you want, or am i seeing this wrong.

Sure. And they will accept mail for everything in the database, you will have 
no good routing as any given setting applies to any given postfix 
installation, unless you maintain internal DNS and transport maps locally and 
very carefully.
So my own database has a 'servers' table and transport / relay are 
applied per server. This way an incoming mailhub accepting for all domains can 
get transport info from the same database and multiple transport maps can be 
applied for the same domain, pending the role of the server in the mail 
network that requests the info. Postfix (and dovecot) maps simply have a WHERE 
me='mailhub.example.com' clause.
-- 
Mel

___
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: Stable Mail Server And Web Mail

2009-05-29 Thread Wojciech Puchar

itself, and how much of stupid-written PHP programs



I don't think PHP itself is buggy, in fact I think badly written C
programs are responsible for far more lossage.


It all depends who write programs.
___
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: Stable Mail Server And Web Mail

2009-05-29 Thread Chris Rees
2009/5/29 Wojciech Puchar :
>>>
>>> What i use is:
>>>
>>> sendmail - in base system+procmail from ports. procmail is mainly used to
>>> store messages in maildir format.
>>> spamassassin as antispam, someone already pointed that dspam is faster i
>>> must check it. Anyway properly configured spamassassin isn't that bad.
>>>
>>> sqwebmail for webmail. it's highest performance and easiest to configure
>>> webmail i've tested. It's fortunately not PHP based, it's written in C.
>>>
>>
>> What's wrong with PHP?
>>
> 1) resource hungry
> 2) quite buggy. While here can be discussed how much is because of PHP
> itself, and how much of stupid-written PHP programs
>

I don't think PHP itself is buggy, in fact I think badly written C
programs are responsible for far more lossage.

Though you're right about resource-hunger.

Chris

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
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: Stable Mail Server And Web Mail

2009-05-29 Thread Wojciech Puchar


What i use is:

sendmail - in base system+procmail from ports. procmail is mainly used to
store messages in maildir format.
spamassassin as antispam, someone already pointed that dspam is faster i
must check it. Anyway properly configured spamassassin isn't that bad.

sqwebmail for webmail. it's highest performance and easiest to configure
webmail i've tested. It's fortunately not PHP based, it's written in C.



What's wrong with PHP?


1) resource hungry
2) quite buggy. While here can be discussed how much is because of PHP 
itself, and how much of stupid-written PHP programs

___
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: Stable Mail Server And Web Mail

2009-05-29 Thread Chris Rees
2009/5/29 Wojciech Puchar :
>>>>
>>>>> Hello all ,  I want to install a  Mail Server with  Webmail,
>
> as i can't find the first post of that post i will answer the question what
> i see on top.
>
>
> What i use is:
>
> sendmail - in base system+procmail from ports. procmail is mainly used to
> store messages in maildir format.
> spamassassin as antispam, someone already pointed that dspam is faster i
> must check it. Anyway properly configured spamassassin isn't that bad.
>
> sqwebmail for webmail. it's highest performance and easiest to configure
> webmail i've tested. It's fortunately not PHP based, it's written in C.
>

What's wrong with PHP?



-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
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: Stable Mail Server And Web Mail

2009-05-29 Thread Wojciech Puchar



Hello all ,  I want to install a  Mail Server with  Webmail,


as i can't find the first post of that post i will answer the question 
what i see on top.



What i use is:

sendmail - in base system+procmail from ports. procmail is mainly used to 
store messages in maildir format.
spamassassin as antispam, someone already pointed that dspam is faster i 
must check it. Anyway properly configured spamassassin isn't that bad.


sqwebmail for webmail. it's highest performance and easiest to configure 
webmail i've tested. It's fortunately not PHP based, it's written in C.


dovecot for IMAP/POP3 service.
___
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: Stable Mail Server And Web Mail

2009-05-29 Thread Johan Hendriks


>> Hello,
>>
>> > Hello all ,  I want to install a  Mail Server with  Webmail,
>> >
>> > Anybody to know a good Stable Mail Server and Web Mail
>>
>> I recommend the following step-by-step instructions:
>> http://www.purplehat.org/?page_id=4

>It's a detailed how-to but consider the following:
>a) With Oracle acquiring Sun, one should move to PostgreSQL where ever 
>possible.
>b) Spam Assassin is a resource hog, use mail/dspam.
>c) While postfix-admin is ok for one box setup, it doesn't scale at all - 
>you'll have to install it for every physical machine to manage that specific 
>database for that box. I know of no alternatives, hence I'm rolling my own.
>
>-- 
>Mel

Option c and do not understand.

You can use a centralized database and let as many postfix, dovecot servers 
talk to that database as you want, or am i seeing this wrong.

Regards,
Johan


No virus found in this outgoing message.
Checked by AVG - www.avg.com 
Version: 8.5.339 / Virus Database: 270.12.43/2139 - Release Date: 05/28/09 
18:09:00
___
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: Stable Mail Server And Web Mail

2009-05-27 Thread Mel Flynn
On Monday 25 May 2009 13:53:40 Zbigniew Szalbot wrote:
> Hello,
>
> > Hello all ,  I want to install a  Mail Server with  Webmail,
> >
> > Anybody to know a good Stable Mail Server and Web Mail
>
> I recommend the following step-by-step instructions:
> http://www.purplehat.org/?page_id=4

It's a detailed how-to but consider the following:
a) With Oracle acquiring Sun, one should move to PostgreSQL where ever 
possible.
b) Spam Assassin is a resource hog, use mail/dspam.
c) While postfix-admin is ok for one box setup, it doesn't scale at all - 
you'll have to install it for every physical machine to manage that specific 
database for that box. I know of no alternatives, hence I'm rolling my own.

-- 
Mel
___
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: Stable Mail Server And Web Mail

2009-05-25 Thread Reko Turja

Anybody to know a good Stable Mail Server and Web Mail


Postfix
Cyrus
(+possible Postgres if database is needed)
Squirrel, IMP...

One can build very decent BSD or like licensed mail server, except the 
webmail part. Every available webmail package I've found are under 
GPL.


-Reko 


___
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: Stable Mail Server And Web Mail

2009-05-25 Thread larin

John Dakos [ Enovation Technologies ] wrote:
 


Hello all ,  I want to install a  Mail Server with  Webmail,

Anybody to know a good Stable Mail Server and Web Mail

I will appreciate

Thanks all

 

 

 

 

 

 

 

 

 

 


John Dakos
Network Administrator
Enovation Technologies
Filellinon 35, Chalandrion
15232 Athens, GREECE
Tel: +30-210 811 9673
Mob: +30-6979348082

___
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"
  

http://exim.org/
http://roundcube.net/

___
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: Stable Mail Server And Web Mail

2009-05-25 Thread Odhiambo ワシントン
2009/5/25 Johan Hendriks 

> >Hello all ,  I want to install a  Mail Server with  Webmail,
>
> >Anybody to know a good Stable Mail Server and Web Mail
>
> >I will appreciate
>
> >Thanks all
>
>
> A good combination for webmail is:
>
> Postfix as MTA
> Dovecot as IMAP / POP3 server
> Postfixadmin for webbased management.
> Mysql or postgresql for the database.
> and a webmail client.
> This can be roundcube, squirrelmail, imp (from Horde) and so on.


I love the following combo:

Exim as MTA
Dovecot for POP3/POP3S/IMAP/IMAPS
Vexim (http://silverwraith.com/vexim) for web based management
MySQL or PostgreSQL database
Squirrelmail for webmail with vlogin plugin for multihosting.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"Clothes make the man.  Naked people have little or no influence on
society."
  -- Mark Twain
___
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: Stable Mail Server And Web Mail

2009-05-25 Thread Johan Hendriks
>Hello all ,  I want to install a  Mail Server with  Webmail,

>Anybody to know a good Stable Mail Server and Web Mail

>I will appreciate

>Thanks all


A good combination for webmail is:

Postfix as MTA
Dovecot as IMAP / POP3 server
Postfixadmin for webbased management.
Mysql or postgresql for the database.
and a webmail client.
This can be roundcube, squirrelmail, imp (from Horde) and so on.

Regards,
Johan 
 

 

 

 

 

 

 

 

 

 

John Dakos
Network Administrator
Enovation Technologies
Filellinon 35, Chalandrion
15232 Athens, GREECE
Tel: +30-210 811 9673
Mob: +30-6979348082

___
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"

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.339 / Virus Database: 270.12.37/2131 - Release Date: 05/24/09 
07:09:00

No virus found in this outgoing message.
Checked by AVG - www.avg.com 
Version: 8.5.339 / Virus Database: 270.12.37/2131 - Release Date: 05/24/09 
07:09:00
___
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"


  1   2   3   4   5   6   >