[Mimedefang] typo in hour_str()?

2017-12-26 Thread Franz Schwartau
Merry Christmas! After upgrading to 2.83 of mimedefang I'm wondering if "$min+1" should read "$mon+1" in hour_str(): sub hour_str { my($sec, $min, $hour, $mday, $mon, $year, $junk); ($sec, $min, $hour, $mday, $mon, $year, $junk) = localtime(time()); return sprintf('%04d-%02d-%02d-%02d

Re: [Mimedefang] check_against_smtp_server() with STARTTLS and AUTH support

2017-07-31 Thread Franz Schwartau
Hi Kris! On 31.07.2017 18:24, Kris Deugau wrote: > Franz Schwartau wrote: >> Hi Dianne, hi list members, >> >> I appreciate md_check_against_smtp_server() supplied by mimedefang.pl >> very much. But it lacks two - IMHO - important features: ESMTP AUTH and >> START

[Mimedefang] check_against_smtp_server() with STARTTLS and AUTH support

2017-07-31 Thread Franz Schwartau
Hi Dianne, hi list members, I appreciate md_check_against_smtp_server() supplied by mimedefang.pl very much. But it lacks two - IMHO - important features: ESMTP AUTH and STARTTLS. In 2013 - where is the time gone? - I posted a version of md_check_against_smtp_server() that supports ESMTP AUTH: h

[Mimedefang] Warning after upgrading to Perl 5.24 on FreeBSD

2017-04-21 Thread Franz Schwartau
Dear list, after upgrading Perl to 5.24 on FreeBSD the variable $Sys::Syslog::VERSION isn't numeric any more: $ perl -e 'use Sys::Syslog; print $Sys::Syslog::VERSION;' 0.33_01 Thus line 660 in mimedefang.pl throws a warning: if( $Sys::Syslog::VERSION < 0.16 ) { Maybe it's better to use a lexic

[Mimedefang] Problem with MIME::Tools and base64 encoded message/rfc822 attachements

2015-07-27 Thread Franz Schwartau
Dear list, I'd like to use MIME::Tools for parsing a base64 encoded attachement of an e-mail. Please have a look at the attached tar. If using the test script parse.pl with a base64 encoded test attachement, ME_Parts isn't filled properly: ./parse.pl mail2-b64.eml [...] 'ME_Par

[Mimedefang] ESMTP AUTH support for md_check_against_smtp_server()

2013-10-22 Thread Franz Schwartau
Hi! I started implementing ESMTP AUTH support in md_check_against_smtp_server(). It uses Authen::SASL. The changes are basically: in get_smtp_return_code(): - add support for multiline responses in md_check_against_smtp_server(): - try EHLO first, fall back to HELO if EHLO fails - if parameters

Re: [Mimedefang] Reject pre greeting traffic with mimedefang?

2013-01-14 Thread Franz Schwartau
Hi Michiel, I'd be happy to hear about more details... :-) Of course it depends, but being slow shouldn't be a problem for me. I'd appreciate if you could provide an example. Best regards Franz On 11.01.2013 21:18, Michiel Brandenburg wrote: > Hi, > >> sendmail has a

Re: [Mimedefang] Reject pre greeting traffic with mimedefang?

2013-01-14 Thread Franz Schwartau
Hi! I can think of different reasons: - not to rely on sendmail, being able to change MTA - being more flexible with specific logic in mimedefang - possibility to log sender and recipient(s), sendmail rejects clients with pre greeting traffic early in SMTP conversation Best regards

Re: [Mimedefang] Reject pre greeting traffic with mimedefang?

2013-01-11 Thread Franz Schwartau
Hi David, ok, so let's rephrase the question... ;-) Is there a way to prevent SMTP slamming with mimedefang? Best regards Franz On 11.01.2013 20:35, David F. Skoll wrote: > On Fri, 11 Jan 2013 20:06:45 +0100 > Franz Schwartau wrote: > >> http://w

[Mimedefang] Reject pre greeting traffic with mimedefang?

2013-01-11 Thread Franz Schwartau
Hi! sendmail has a nice feature called greet_pause which rejects SMTP connections if SMTP commands were sent before the SMTP greeting. Thus SMTP slamming isn't possible any longer: http://www.deer-run.com/~hal/sysadmin/greet_pause.html Is there anything similiar possible with mimedefang only?