[Mimedefang] Simple feature request
Chris Myers
chris at by-design.net
Tue Sep 14 10:24:53 EDT 2004
----- Original Message -----
From: "David F. Skoll" <dfs at roaringpenguin.com>
To: <mimedefang at lists.roaringpenguin.com>
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
More information about the MIMEDefang
mailing list