]> code.citadel.org Git - citadel.git/commitdiff
* msgbase.c: alias() now handles addresses such as
authorArt Cancro <ajc@citadel.org>
Sun, 16 Oct 2005 04:25:06 +0000 (04:25 +0000)
committerArt Cancro <ajc@citadel.org>
Sun, 16 Oct 2005 04:25:06 +0000 (04:25 +0000)
  Display Name <user@host.org>
  ...when user@host.org resolves to a user on the local Citadel server
  or network, without trying to loop out and back in again via SMTP.

citadel/ChangeLog
citadel/msgbase.c

index 4539e0c4cbb370f104fd32db6a57cf3fdb2cc91e..5bbc2eba93c87de6af178945c7a091146b37b003 100644 (file)
@@ -1,3 +1,9 @@
+Sun Oct 16 00:23:19 EDT 2005 Art Cancro <ajc@uncensored.citadel.org>
+* msgbase.c: alias() now handles addresses such as 
+  Display Name <user@host.org>
+  ...when user@host.org resolves to a user on the local Citadel server
+  or network, without trying to loop out and back in again via SMTP.
+
 Sun Oct 16 00:11:16 EDT 2005 Art Cancro <ajc@uncensored.citadel.org>
 * Handle email addresses with commas inside quotes, such as
   "Cancro, Art" <ajc@uncensored.citadel.org>
index e16d7cb5ebd83dd010b6d1a182dcff8b94370ab9..fedb04e8fd9983568302dc09eb878b1b32fbdfaf 100644 (file)
@@ -143,6 +143,7 @@ int alias(char *name)
 
        striplt(name);
        remove_any_whitespace_to_the_left_or_right_of_at_symbol(name);
+       stripallbut(name, '<', '>');
 
        fp = fopen(
 #ifndef HAVE_ETG_DIR