Index: [Article Count Order] [Thread]

Date:  Tue, 14 Feb 2006 04:22:46 +0800 (SGT)
From:  patricko (at mark) staff.singnet.com.sg
Subject:  [coba-e:04085] Re: Vacation Responder - hostname  in email address
To:  coba-e (at mark) bluequartz.org
Message-Id:  <Pine.LNX.4.44.0602140422110.3821-100000 (at mark) staff.singnet.com.sg>
In-Reply-To:  <00a201c6307c$f6dc2ba0$05002c0a@WebHoster>
X-Mail-Count: 04085



Should work
some patches



/usr/local/sbin/vacation.pl

+
 if ($user->{site} ne '') {
-       my ($v_oid) = $cce->find('Vsite', { 'name' => $user->{site} });
-       my ($v_ok, $vsite) = $cce->get($v_oid);
-
-       $user_from .= ' (at mark) ' . $vsite->{fqdn};
+        my ($v_oid) = $cce->find('Vsite', { 'name' => $user->{site} });
+        my ($v_ok, $vsite) = $cce->get($v_oid);
+
+        $formatted_user_from .= ' (at mark) ' . $vsite->{domain};
+
+        $user_from = $formatted_user_from;
+
+###### End patricko (at mark) staff.singnet.com.sg #############
 }


/usr/sausalito/schemas/base/vsite/vsite.schema

--- /usr/sausalito/schemas/base/vsite/.vsite.schema.orig        Sat Apr  6
06:08:50 2002
+++ /usr/sausalito/schemas/base/vsite/vsite.schema      Fri Oct 14
17:34:28 2005
@@ -26,6 +26,7 @@
     <property
         name="domain" type="domainname"
         writeacl="ruleCapable(adminUser)"
+        readacl="ruleAll"
     />

     <!-- The site fully qualified domain name -->



















On Mon, 13 Feb 2006, Gavin Nelmes-Crocker wrote:

> I've just had this pointed out to me by a user after migrating them from a
> RaQ4 to BlueQuartz on Centos (Thanks Brian @ Nuonce)
> 
> If they set their vacation responder the mail that gets sent back to anyone
> goes back as coming from user (at mark) mail.domain.com where mail is the hostname of
> the site.  I've just tried this out of curiosity on a stock RaQ550 and it
> does the same.
> 
> Now I have a feeling if you do try to reply to user (at mark) mail.domain.com that the
> RaQ will accept it - but the point is that its not correct.
> 
> I've tried a Google and can't see much if anything on this or its cure.
> 
> Any ideas?
> 
> Thanks
> 
> Gavin
> 
>