cvs commit: qpsmtpd/plugins/queue smtp-forward

[email protected] (Matt Sergeant)
Newsgroups perl.cvs.qpsmtpd
Message-ID <[email protected]>
cvsuser     03/07/24 05:44:19

  Modified:    plugins/queue smtp-forward
  Log:
  Allow dots in the address
  
  Revision  Changes    Path
  1.2       +1 -1      qpsmtpd/plugins/queue/smtp-forward
  
  Index: smtp-forward
  ===================================================================
  RCS file: /cvs/public/qpsmtpd/plugins/queue/smtp-forward,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -w -r1.1 -r1.2
  --- smtp-forward	9 Jun 2003 11:06:41 -0000	1.1
  +++ smtp-forward	24 Jul 2003 12:44:19 -0000	1.2
  @@ -26,7 +26,7 @@
     $self->register_hook("queue", "queue_handler");
   
     if (@args > 0) {
  -    if ($args[0] =~ /^([\w_-]+)$/) {
  +    if ($args[0] =~ /^([\.\w_-]+)$/) {
         $self->{_smtp_server} = $1;
       }
       else {
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.