Re: [Mimedefang] Reading/writing XML config files

2006-11-05 Thread Philip Prindeville
David F. Skoll wrote:

Philip Prindeville wrote:

  

Any recommendations?



Why do you want to use XML?  IMO, it's a solution looking for a problem.

Regards,

David.
  


Anyone else have anything to add to this?

-Philip

___
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] Reading/writing XML config files

2006-11-05 Thread Rob MacGregor

On 11/5/06, Philip Prindeville [EMAIL PROTECTED] wrote:


Anyone else have anything to add to this?


If it ain't broke, don't fix it...

Personally, I hate XML config files, I'd much rather human readable
ones and *I* can understand and hand edit.  I don't want to be reliant
upon some GUI or command line application, or have to wade through
some overly complex file.

--
Please keep list traffic on the list.

Rob MacGregor
 Whoever fights monsters should see to it that in the process he
   doesn't become a monster.  Friedrich Nietzsche
___
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] Reading/writing XML config files

2006-11-05 Thread andrew fresh
On Sun, Nov 05, 2006 at 02:15:12PM -0700, Philip Prindeville wrote:
 David F. Skoll wrote:
 Philip Prindeville wrote:
 Any recommendations?
 
 Why do you want to use XML?  IMO, it's a solution looking for a problem.

 Anyone else have anything to add to this?

I have used XML::Simple from perl and have been happy with it.  It reads
and writes XML and puts the XML into perl data structures and does most
of the work for you.   

l8rZ,
-- 
andrew - ICQ# 253198 - JID: [EMAIL PROTECTED]

BOFH excuse of the day: Your parity check is overdrawn and you're out
of cache.
___
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] Reading/writing XML config files

2006-11-05 Thread Les Mikesell
On Sun, 2006-11-05 at 15:15, Philip Prindeville wrote:
 
 Why do you want to use XML?  IMO, it's a solution looking for a problem.
 

 Anyone else have anything to add to this?

There are 2 advantages of xml.  One is that you can use a
generic parser even in languages that are strongly typed - this
isn't all that important for perl. The other is that you can
run a parser independently of the program to tell you if you
have a syntax error, and some editors know automatically.
This is a nice touch compared to the usual text config file
and matching program that just refuses to start or crashes
if you make a syntax error and have no way to check other
than attempting to restart.  And then you are down until you
figure out what you did wrong.  There are other ways to
accomplish this, like webmin forms that must be kept in
sync with the program itself or adding a 'test' option to
the program that can be used before a restart, but xml lets
you do it generically with the permitted types and value
ranges specified in a schema.  After you've learned to be
very careful yourself you might forget about this problem.
If you need a reminder, have someone else edit your critical
program config files with a free form text editor...

-- 
  Les Mikesell
   [EMAIL PROTECTED]


___
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] SPF

2006-11-05 Thread David F. Skoll
Rich West wrote:

 I know this is now off-topic from the list, and I don't mean to rock the
 boat any, but that is a pretty weak excuse.  There has to be more to it
 than some idiot's broken email server that drove you that decision.

Yes.  So it turns out the salesperson in question deleted the bounce
message, so I have no idea what really happened.  I've since reinstated
the SPF record.  Although it hasn't helped reduce bounces from joe-jobs,
I guess it can't hurt.

 SPF's only goal was to provide a means toward ensuring that the email is
 originating from an authorized location.  That gives the email
 administrator full knowledge of where email is being sent through. 
 Also, SPF is one of those set it and forget it things.  It should
 never require constant tweaking or maintenance.  Periodic, maybe..

SPF breaks forwarding, which is very annoying.

 For folks on the road, there are plenty of workable solutions.

We use OpenVPN, which works well if both ends are running Linux.
Because of deficiencies in Windoze's TUN implementation, it's a bit
more painful to get it working on that platform, but we managed it.

 Besides, what looks more professional: Email from
 [EMAIL PROTECTED], or email from [EMAIL PROTECTED] with a reply-to
 set to [EMAIL PROTECTED]

We never do that.

Actually, it occurs to me that MUAs should allow you to specify the
envelope and header From addresses separately.  For the sake of SPF,
they could use [EMAIL PROTECTED], but the From: address (which is all
that 99.9% of recipients know about) could still happily be
[EMAIL PROTECTED]  Ratware already does this; it's time
legitimate MUAs caught up with the state of the art. :-)

--
David.
___
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] SPF

2006-11-05 Thread Kenneth Porter
--On Sunday, November 05, 2006 7:09 PM -0500 David F. Skoll 
[EMAIL PROTECTED] wrote:



Actually, it occurs to me that MUAs should allow you to specify the
envelope and header From addresses separately.  For the sake of SPF,
they could use [EMAIL PROTECTED], but the From: address (which is all
that 99.9% of recipients know about) could still happily be
[EMAIL PROTECTED]  Ratware already does this; it's time
legitimate MUAs caught up with the state of the art. :-)


I expect this to show up in Mulberry soon, as I saw the request go by in 
the mailing list not long ago.



___
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] Reading/writing XML config files

2006-11-05 Thread Jason Gurtz
On 11/5/2006 16:15, Philip Prindeville wrote:
 Anyone else have anything to add to this?

Hmm, there's the mother, XML::LibXML, but it might be a more robust
solution than you're looking for.

~Jason

-- 
___
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


[Mimedefang] User Bayesian Setup

2006-11-05 Thread mimedefang-admin

I have a question I think I know the answer too, I just thought I would throw it
out to the list for ideas.

I am looking to allow users to maintain their own Bayesian scores through either
SpamAssassin or DSPAM.

I currently have the following configuration:

Sendmail 8.13.7
SpamAssassin 3.1.7 (using the spamass-milter; I had this configured before I
installed MimeDefang)
ClamAV (using the clamav-milter)
MimeDefang 2.57
Currently I'm only using MimeDefang to check with the Cyrus Imap storage to
verify if a mailbox exists or not before accepting messages.

Cyrus-Imapd for final storage via LMTP.

My main question, if I switch from using the spamass-milter to mimedefang, does
mimedefang take advantage of individual user settings (either via a home
directory or sql database) so that each user has their own Bayesian scores?

I'm assuming that when MimeDefang scans the message it is as the MimeDefang
user, not the final delivery user, thus causing me problems with the individual
Bayesian scores, correct?

On a previous mail server I have used DSPAM to achieve this, I just wanted to
exhaust out my possibilities with SpamAssassin before I add another layer of
complexity to my mail server.

Any suggestions would be welcome and appreciated.

-Tyler


___
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] SPF

2006-11-05 Thread Steffen Kaiser

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, 5 Nov 2006, David F. Skoll wrote:


Actually, it occurs to me that MUAs should allow you to specify the
envelope and header From addresses separately.  For the sake of SPF,
they could use [EMAIL PROTECTED], but the From: address (which is all


Actually, there are ISPs that don't allow this.
Meaning: They overwrite From: with the envelope MAIL FROM.

Bye,

- -- 
Steffen Kaiser

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iQEVAwUBRU7nnegJIbZtwg6XAQL/xggApBl9p1nZkpF8VC/NT/5XbUcBMZU2kTI5
QvbSJyOY2V5c4SDorA/yuaEk+r9zZ5eYDLwSs8l9+N9HD30pfAl68KEuHCKcc/6V
wFfVbHRAURgSAdSYokg5udE+a/OuZBIHaCY+8fVEoGlC2eDGmNNncTN+6UQbCIj7
KatHtL7ag5occzl75WtAicl0efwK1cD4CKwtteQie9dcfE/QNUm9BthWKjmUtRyh
KF/Q02YfYBJwyXkdaVGe8hB50Ss/uRt1vjC8su7kEKKqc+wgMw6vvbeatzwfNdAb
hah4P0iQWN0sau13g5I5Z0vHrc4EJ9nIF79A0tqggqVz4wEl4tSlQg==
=zE/O
-END PGP SIGNATURE-
___
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang