List Info

Thread: Re: ANNOUNCE: amavisd-new-2.5.0 RELEASED




Re: ANNOUNCE: amavisd-new-2.5.0 RELEASED
country flaguser name
Slovenia
2007-04-23 10:49:32
Some supplementary information on the new SMTP/LMTP client
code,
which didn't make it into release notes included with a
package
(but is now included in the on-line version or release
notes):


- drop the use of libnet (modules Net::SMTP and Net::Cmd),
replaced by own
  code to implement client-side SMTP and LMTP protocol
support, with a full
  support for pipelining and IPv6. Some of my issues with
Net::SMTP go
  back to year 2002, but the one that broke camel's back is
a 2.5+ months
  status quo in not fixing a serious misfeature introduced
in 1.20, which
  mangles 8-bit characters in mail, causing a series of
support questions,
  and even affected some larger service providers without
them realizing
  there is a problem. Here are some relevant bug reports:
    h
ttp://rt.cpan.org/Public/Bug/Display.html?id=24835
    ht
tp://rt.cpan.org/Public/Bug/Display.html?id=2608
    ht
tp://rt.cpan.org/Public/Bug/Display.html?id=2607
    h
ttp://rt.cpan.org/Public/Bug/Display.html?id=14875
    ht
tp://rt.cpan.org/Public/Bug/Display.html?id=9394


- as mentioned above, the new SMTP/LMTP client code now
supports a LMTP
  protocol too. This allows amavisd-new to act as a
LMTP-to-LMTP content
  filter, possibly being inserted between MTA and a
LMTP-based mail delivery
  agent such as Cyrus (if checking of outgoing mail is not
needed). LMTP is
  selected when the first field of a $*_method (such as
$forward_method,
  $notify_method, $resend_method, $release_method,
$*_quarantine_method)
  is a 'lmtp:'.

  Possible uses:
    $forward_method = 'lmtp:/var/imap/socket/lmtp';  # over
a Unix socket
  or:
    $forward_method = 'lmtp:[127.0.0.1]:24';  # over IPv4
  or:
    $forward_method = 'lmtp:[::1]:24';        # over IPv6

  If a Postfix lmtp service is used to feed amavisd (instead
of the more
  usual content filter feed through service named
'amavisfeed' or
  'smtp-amavis'), make sure not to forget to limit the
number of concurrent
  feeds to amavisd (e.g.
lmtp_destination_concurrency_limit=15) to a value
  same (or less) than $max_servers, or limit the maxproc
field in master.cf
  such as: 'lmtp unix - - n - 15 lmtp' .

  Note that placing amavisd as a LMTP delivery agent has a
disadvantage
  that outgoing mail is not being checked, so infected
internal hosts are
  able to pollute the world. Also the pen pals feature is no
longer useful,
  as it requires the information on previous outgoing mail
to be present
  in a SQL database.



Btw, as it became usual, I'll be away for the next two weeks
starting 
tomorrow.  Fear not, there are already a couple of sites
(including ours)
that are successfully running 2.5.0 (or its recent
pre-released versions).
  

Mark

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )