Stefan Foerster:
> This morning, I upgraded from 2.8-20100213 to 2.8-20100306 and enabled
> IPv6 I have always used the lmtp(8) client to feed messages to
> amavisd-new (well, those that picked up by pickup(8), anyways):
>
> pickup fifo n - - 60 1 pickup
> -o content_filter=lmtp-amavis:[127.0.0.1]:10026
>
> lmtp-amavis unix - - n - 10 lmtp
> -o lmtp_data_done_timeout=1200
> -o lmtp_send_xforward_command=yes
> -o disable_dns_lookups=yes
>
> I changed main.cf...
>
> mynetworks = 127.0.0.0/8 85.214.20.182/32 85.214.107.53/32
> 192.168.122.0/24 [::1]/128 [2001:6f8:1048::]/64
> inet_protocols = all
> smtp_bind_address6 = 2001:6f8:1048::2
>
> ...and master.cf:
>
> [2001:6f8:1048::2]:25 inet n - n - 1 postscreen
>
> Now, whenever I try to deliver a mail, Postfix complains liek that:
>
> Mar 22 13:29:56 nemea postfix/pickup[24662]: AA57F10011: uid=1000
> from=<[email protected]>
> Mar 22 13:29:56 nemea postfix/cleanup[27487]: AA57F10011:
> message-id=<[email protected]>
> Mar 22 13:29:56 nemea postfix/qmgr[24663]: AA57F10011:
> from=<[email protected]>,
> size=4322, nrcpt=1 (queue active)
> Mar 22 13:29:56 nemea postfix/lmtp[27488]: panic: mystrdup: null pointer
> argument
> Mar 22 13:29:57 nemea postfix/master[24660]: warning: process
> /usr/lib/postfix/lmtp pid 27488 killed by signal 6
> Mar 22 13:29:57 nemea postfix/master[24660]: warning: /usr/lib/postfix/lmtp:
> bad command startup -- throttling
> Mar 22 13:29:57 nemea postfix/qmgr[24663]: warning: private/lmtp-amavis
> socket: malformed response
> Mar 22 13:29:57 nemea postfix/qmgr[24663]: warning: transport lmtp-amavis
> failure --
> see a previous warning/fatal/panic logfile record for the problem
> description
> Mar 22 13:29:57 nemea postfix/error[27492]: AA57F10011:
> to=<[email protected]>, relay=none,
> delay=1.4, delays=0.23/1/0/0.13, dsn=4.3.0, status=deferred (unknown mail
> transport error)
>
> For now, I changed the transport to amavisd-new to smtp(8). Could you
> perhaps give me some ideas on how to debug this problem further?
See DEBUG_README for instructions to attach a non-interactive debugger.
The only change in the SMTP client is the smtp_address_preference and
lmtp_address_preference parameters, which were tested only for SMTP.
Wietse