Fwd: Re: [Mimedefang] Should I try to do MIMEDefang with Mailscanner forbackup MX

2006-06-23 Thread Steve Campbell
- Forwarded message from Steve Campbell [EMAIL PROTECTED] - Date: Fri, 23 Jun 2006 04:42:27 -0400 From: Steve Campbell [EMAIL PROTECTED] Reply-To: Steve Campbell [EMAIL PROTECTED] Subject: Re: [Mimedefang] Should I try to do MIMEDefang with Mailscanner forbackup MX To:

[Mimedefang] Simplified single purpose mimedefang-filter

2006-06-23 Thread reader
Running gentoo linux sendmail 8.13.6 Just getting started with mimedefang and what brought me to it was something simpler than complex defanging. I'm on a single user machine and want to debug my mail setup. Certain mail leaves but never appears at its destination. It is not being rejected at

Re: [Mimedefang] Simplified single purpose mimedefang-filter

2006-06-23 Thread David F. Skoll
[EMAIL PROTECTED] wrote: How can I just ignore all the sub funcs in mimedefang-filter or make them return immediately and get on to the `fiter_end' function where I can hopefully insert some simple code to create and deposit a copy. Use the following four-line filter file: # CUT HERE

Re: [Mimedefang] Simplified single purpose mimedefang-filter

2006-06-23 Thread Stefan Schoeman
MIMEDefang is written for people WHO KNOW PERL! That's the whole point of the program. If it makes you feel any better, MIMEDefang was THE motivation for me to sit down and learn Perl David ;). What I particularly like about MIMEDefang, is the mere basic level of Perl I need to know to do

Knowing Perl (was Re: [Mimedefang] Simplified single purpose mimedefang-filter)

2006-06-23 Thread David F. Skoll
Stefan Schoeman wrote: If it makes you feel any better, MIMEDefang was THE motivation for me to sit down and learn Perl David ;). What I particularly like about MIMEDefang, is the mere basic level of Perl I need to know to do pretty amazing things with mail. That does make me feel better.

Re: Knowing Perl (was Re: [Mimedefang] Simplified single purpose mimedefang-filter)

2006-06-23 Thread Kris Deugau
David F. Skoll wrote: And as a colleague so tactfully pointed out, people who _really_ know Perl would probably be quite horrified by the MIMEDefang code... :-) I regularly horrify *myself* with code I wrote six months ago. What was I smoking, and where can I get a fresh supply?!? -kgd

[Mimedefang] Re: Knowing Perl

2006-06-23 Thread Ben Kamen
Kris Deugau wrote: I regularly horrify *myself* with code I wrote six months ago. What was I smoking, and where can I get a fresh supply?!? Don't worry - I've seen expert PERL programmers horrified by code they wrote 3 weeks prior... PERL is just like that. -Ben -- Ben Kamen

Re: [Mimedefang] Re: Knowing Perl

2006-06-23 Thread Les Mikesell
On Fri, 2006-06-23 at 15:40 -0500, Ben Kamen wrote: Kris Deugau wrote: I regularly horrify *myself* with code I wrote six months ago. What was I smoking, and where can I get a fresh supply?!? Don't worry - I've seen expert PERL programmers horrified by code they wrote 3

Re: Knowing Perl (was Re: [Mimedefang] Simplified single purpose mimedefang-filter)

2006-06-23 Thread Jan-Pieter Cornet
On Fri, Jun 23, 2006 at 02:54:26PM -0400, David F. Skoll wrote: And as a colleague so tactfully pointed out, people who _really_ know Perl would probably be quite horrified by the MIMEDefang code... :-) Nonsense. While MIMEDefang probably wouldn't get a very high Kwalitee rating or whatever

Re: [Mimedefang] Simplified single purpose mimedefang-filter

2006-06-23 Thread Jan-Pieter Cornet
On Fri, Jun 23, 2006 at 12:01:11PM -0500, [EMAIL PROTECTED] wrote: I'm on a single user machine and want to debug my mail setup. Certain mail leaves but never appears at its destination. It is not being rejected at my local MTA level nor my ISP smart host. I don't have any say on ISP

RE: [Mimedefang] Simplified single purpose mimedefang-filter

2006-06-23 Thread Paul Murphy
On Fri, Jun 23, 2006 at 12:01:11PM -0500, [EMAIL PROTECTED] wrote: I'm on a single user machine and want to debug my mail setup. Certain mail leaves but never appears at its destination. It is not being rejected at my local MTA level nor my ISP smart host. I don't have any say on

[Mimedefang] Result too large

2006-06-23 Thread scuba
Hi all, I'm getting a lot of this kind of messages: MD 2.56 Sendmail 8.13.5 SA 3.1.3 Perl 5.8.6 Jun 23 00:00:04 host2 mimedefang[95658]: MIMEDefang-2.54: accept() returned invalid socket (Result too large), try again Jun 23 00:00:04 host2 sm-mta[74578]:

Re: [Mimedefang] Simplified single purpose mimedefang-filter

2006-06-23 Thread Ole Craig
On 06/23/06 at 20:44, 'twas brillig and Stefan Schoeman scrobe: MIMEDefang is written for people WHO KNOW PERL! That's the whole point of the program. If it makes you feel any better, MIMEDefang was THE motivation for me to sit down and learn Perl David ;). aol Me too! /aol (Well, OK,

[Mimedefang] Re: Simplified single purpose mimedefang-filter

2006-06-23 Thread reader
David F. Skoll [EMAIL PROTECTED] writes: [EMAIL PROTECTED] wrote: How can I just ignore all the sub funcs in mimedefang-filter or make them return immediately and get on to the `fiter_end' function where I can hopefully insert some simple code to create and deposit a copy. Use the

Re: [Mimedefang] Result too large

2006-06-23 Thread David F. Skoll
[EMAIL PROTECTED] wrote: Jun 23 00:00:04 host2 mimedefang[95658]: MIMEDefang-2.54: accept() returned invalid socket (Result too large), try again This means that the accept() system call returned a file descriptor that is larger than FD_SETSIZE. This means you have (for some reason) lots and

Re: [Mimedefang] Re: Simplified single purpose mimedefang-filter

2006-06-23 Thread David F. Skoll
[EMAIL PROTECTED] wrote: sub filter_end { add_recipient('[EMAIL PROTECTED]'); } 1; That does look simple but what happens to the rest of /etc/mail/mimedefang-filter or do you mean that those four lines is mimedefang-filter Those four lines are enough. If the rest of the callbacks are

[Mimedefang] Re: Simplified single purpose mimedefang-filter

2006-06-23 Thread reader
Paul Murphy [EMAIL PROTECTED] writes: I want to see *EXACTLY* what this mail contains as it leaves my mta. I want a copy of my test mails dropped somewhere just as they appear going to smarthost hub. Run MIMEDefang with the -d switch, which leaves the spool directory intact. Your mail

Re: [Mimedefang] Should I try to do MIMEDefang with Mailscanner forbackup MX

2006-06-23 Thread Atanas
Steve Campbell said the following on 6/23/06 1:42 AM: I'm getting the feeling that I am not using sendmail properly with regards to mail accounts. Right now, whenever I need a new mail account, I just create a new user on the box. Imap and pop accounts are then available when needed. I dont add

Re: Fwd: Re: [Mimedefang] Should I try to do MIMEDefang with Mailscanner forbackup MX

2006-06-23 Thread alan premselaar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve, Steve Campbell wrote: ...snip... Why don't you just use sendmail to trow them away? As others already pointed that out, you could provision your primary access database(s) to the secondary (or make the secondary use the primary's

Re: [Mimedefang] Should I try to do MIMEDefang with Mailscanner forbackup MX

2006-06-23 Thread alan premselaar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Atanas wrote: ...snip... I primarily deal with non-standard sendmail setups hosting virtual domains (e.g. multiple mailboxes and multiple domains per single user) via local delivery agent (LDA) like procmail and maildrop, where sendmail acts as