cvs commit: qpsmtpd qpsmtpd-forkserver

[email protected] (Robert Spier)
Newsgroups perl.cvs.qpsmtpd
Message-ID <[email protected]>
cvsuser     04/11/28 19:37:38

  Modified:    .        qpsmtpd-forkserver
  Log:
  From: Jim Winstead
  Subject: default port for qpsmtpd-forkserver
  Date: Sun, 28 Nov 2004 10:14:20 -0800
  Message-ID: <[email protected]>
  
  it's a minor thing, but the default port for qpsmtpd-forkserver is 2525
  in the code, but it claims to be 25 in the usage text.
  
  also, the $MAXCONNIP was not settable from the command line.
  
  Revision  Changes    Path
  1.13      +3 -1      qpsmtpd/qpsmtpd-forkserver
  
  Index: qpsmtpd-forkserver
  ===================================================================
  RCS file: /cvs/public/qpsmtpd/qpsmtpd-forkserver,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- qpsmtpd-forkserver	29 Aug 2004 07:57:07 -0000	1.12
  +++ qpsmtpd-forkserver	29 Nov 2004 03:37:38 -0000	1.13
  @@ -27,9 +27,10 @@
           print <<"EOT";
   usage: qpsmtpd-forkserver [ options ]
    -l, --listen-address addr : listen on a specific address; default 0.0.0.0
  - -p, --port P              : listen on a specific port; default 25
  + -p, --port P              : listen on a specific port; default 2525
    -c, --limit-connections N : limit concurrent connections to N; default 15
    -u, --user U              : run as a particular user (defualt 'smtpd')
  + -m, --max-from-ip M       : limit connections from a single IP; default 5
   EOT
           exit 0;
   }
  @@ -37,6 +38,7 @@
   GetOptions('h|help' => \&usage,
              'l|listen-address=s' => \$LOCALADDR,
              'c|limit-connections=i' => \$MAXCONN,
  +           'm|max-from-ip=i' => \$MAXCONNIP,
              'p|port=i' => \$PORT,
              'u|user=s' => \$USER) || &usage;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.