Mailing List Archive

Q: Sorry,_no_mailbox_here_by_that_name.
Risking the requisite flames he asks, is "loser.info@mydomain.com" an
invalid username causing the following message:

delivery 315: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/


Thanks, and flame on.

-Jeff
Re: Q: Sorry,_no_mailbox_here_by_that_name. [ In reply to ]
Jeff Douglass <jmd@va.wagner.com> writes:

| Risking the requisite flames he asks, is "loser.info@mydomain.com" an
| invalid username causing the following message:
|
| delivery 315: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
|
|
| Thanks, and flame on.
|
| -Jeff

dots are converted to colons for security reasons. the following diff
will allow single dots, but will bounce the message if the address
contains double dots:

(this diff is made for 0.93, som you may have to make som changes if
you are applying it to a newer version)


diff -ru ../qmail-0.93/qmail-alias.c ./qmail-alias.c
--- ../qmail-0.93/qmail-alias.c Tue Nov 26 07:33:45 1996
+++ ./qmail-alias.c Sun Dec 8 20:54:36 1996
@@ -440,6 +440,7 @@
int i;
int j;
int k;
+ int l;
int fd;
int numforward;
char **recips;
@@ -542,9 +543,19 @@

if (!stralloc_copys(&dashext,dash)) temp_nomem();
if (!stralloc_cats(&dashext,ext)) temp_nomem();
- for (i = 0;i < dashext.len;++i)
- if (dashext.s[i] == '.')
- dashext.s[i] = ':';
+
+#define DOUBLE_DOTS_HACK
+#ifdef DOUBLE_DOTS_HACK
+ for(l=0; l<dashext.len; l++)
+ if ( dashext.s[l ] == '/' && dashext.s[l+1] == '.' &&
+ dashext.s[l+2] == '.' && dashext.s[l+3] == '/' )
+ bounce_ext();
+#else
+ for (i = 0;i < dashext.len;++i)
+ if (dashext.s[i] == '.')
+ dashext.s[i] = ':';
+#endif
+
case_lowerb(dashext.s,dashext.len);

extx = ext;


Morten
--
mortens@pvv.org
Jeg lukker et øye og ser halvt. Jeg lukker begge og ser alt.