----- Original Message ----- 
From: "David F. Skoll" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 14, 2004 8:52 AM
Subject: Re: [Mimedefang] Simple feature request


> On Tue, 14 Sep 2004, -ray wrote:
> 
> > > I would rather use "hostname/port" than
> > > "hostname:port" to prepare for the miraculous day when IPv6 is widely
> > > used. :-)
> 
> > Normally i'd view the "hostname/port" syntax to be a "network/cidr"
> > address.  Might cause some confusion for people who don't RTFM...
> 
> Ah, good point.  Any other suggestions?  "hostname;port" ?

An optional port parameter for md_check_against_smtp_server?

sub md_check_against_smtp_server ($$$$;$) {
    my($sender, $recip, $helo, $server, $port) = @_;

...

    my $sock = IO::Socket::INET->new(PeerAddr => $server,
                                     PeerPort => $port || 'smtp(25)',
                                     Proto    => 'tcp',
                                     Timeout  => 15);

Chris Myers
Networks By Design

_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to