Bernard,

> I'm running a FreeBSD 7.0 system with Postfix 2.4.6 on machine called
> 'freebsd' (192.168.3.102) and amavisd-new-2.6.1 debug on machine
> 'eulalie' (192.168.3.108).
>
> When I send myself mail from the outside world using gmail, Postfix
> sends the mail to amavisd-new (Postfix is configured to send a copy of
> the incoming mail to [EMAIL PROTECTED] which explains why
> there are 2 destinations)
>
> /usr/local/sbin/amavisd[8597]: (08597-02) smtp creating socket
>   by IO::Socket::INET6 to [freebsd]:10025
> /usr/local/sbin/amavisd[8597]: (08597-02) mail_via_smtp:
>   session failed: errno=Invalid argument

Does a 'telnet freebsd 10025' work?

Do you have a recent version of 'net/p5-IO-INET6' from ports?

To what does the "freebsd" resolve in DNS? See if it helps to
supply an IP address instead of a host name in $forward_method
and $notify_method. Does it make any difference if you supply
an IPv4 vs. an IPv6 address?

What happens in response to the following shell command:

perl -e 'use IO::Socket::INET6;
  IO::Socket::INET6->new("freebsd:10025") ? print "Ok\n"
  : die "Cannot connect: $!"'


Mark

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to