From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 19 Aug 1998 23:49:57 -0400 From: arisawa@ar.aichi-u.ac.jp arisawa@ar.aichi-u.ac.jp Subject: [9fans] /mail/lib/rewrite Topicbox-Message-UUID: 7c85582a-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19980820034957.7CDNH7PGt0HmwvPMo9snavstd_cHvPNhiW7T7TULYQU@z> Hello 9fans! I believe the following two lines @([^@!,]*):([^!@]*)@([^!]*) alias \2@\3@\1 @([^@!]*),([^!@,]*):([^!@]*)@([^!]*) alias @\1:\3@\4@\2 in /mail/lib/rewrite intend to convert a route address, for example, @A,@B:alice@C to another route address alice@C@B@A However we can experiment: term% upas/sendmail '-#' @A,@B:alice@C invalid address: @A,@B:alice@C term% upas/sendmail '-#' @A,B:alice@C /mail/lib/qmail 'arisawa' 'net!A' 'B!C!alice' I replaced second line to: @([^!]*),@([^!@,]*):([^!@]*)@([^!]*) alias @\1:\3@\4@\2 Then we have: term% upas/sendmail '-#' @A,@B:alice@C /mail/lib/qmail 'arisawa' 'net!A' 'B!C!alice' term% upas/sendmail '-#' @A,B:alice@C Invalid address: @A,B:alice@C RFC821 requires the format "@A,@B:alice@C" for route address, not "@A,B:alice@C". Bug in /mail/lib/rewrite? Kenji Arisawa E-mail: arisawa@aichi-u.ac.jp