On Wed, May 21, 2008 at 08:53:52 +0000, Daniel 'DaB.' Baur wrote:

> Hello,
> my postfix rejects a IPv6-adress without reason. From the log (I removed the
> eMail-Adresses):
> 
> May 21 08:42:03 platon postfix/smtpd[7208]: connect from 
> dabpc.alt.baur4.info[2001:6f8:11b4:aaaa:20d:56ff:feea:832e]
> May 21 08:42:04 platon postfix/smtpd[7208]: NOQUEUE: reject: RCPT from
> dabpc.alt.baur4.info[2001:6f8:11b4:aaaa:20d:56ff:feea:832e]: 501 5.5.2 
> <[2001:6f8:11b4:aaaa:20d:56ff:feea:832e]>: Helo command
> rejected: invalid ip address; from=<me> to=<you> proto=ESMTP 
> helo=<[2001:6f8:11b4:aaaa:20d:56ff:feea:832e]>
> May 21 08:42:04 platon postfix/smtpd[7208]: disconnect from 
> dabpc.alt.baur4.info[2001:6f8:11b4:aaaa:20d:56ff:feea:832e]
> 
> I use IPv6 with postfix for month with another IPv6-Adress without
> problems, so IPv6 is not the problem in generell (I guess it's a wrong rule
> somewhere inside postfix).
> 
Looks like valid_mailhost_addr() fails.  Its documentation states:

/*      valid_mailhost_addr() requires that the input is a valid
/*      RFC 2821 string representation of an IPv4 or IPv6 network
/*      address.  A valid IPv4 address is in dotted quad decimal
/*      form.  A valid IPv6 address includes the "IPV6:" prefix as
/*      required by RFC 2821, and is in valid hexadecimal form or
/*      in valid IPv4-in-IPv6 form.  The result value is the bare
/*      address in the input argument (i.e. text after "IPV6:"
/*      prefix, if any) in case of success, a null pointer in case
/*      of failure.

The "IPV6:" prefix seems to be missing in your case.

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to