Paul Chauvet | 1 Oct 2004 01:07
Favicon
Gravatar

Re: Setting user skins via CLI

You can also do the following:

$WebSettings=$cli->GetWebUser($id)
        || die "Error: ".$cli->getErrMessage.", quitting";

 <at> $WebSettings{'SkinName'} = "YOUR_SKIN_NAME";

$cli->SetWebUser($id, $WebSettings)

------------------------------------------------
Paul Chauvet
UNIX/Linux Systems Admin
State University of New York at New Paltz
------------------------------------------------

Nicolas Hatier wrote:

> I don't think this is possible via the CLI.
>  
> But there's another way, make your script call the following URL 
> (using HTTP AUTH)
>  
>
http://mail.youdomain.com:8010/Domains/yourdomain.com/Account/username/WebUserSettings.html?SkinName=SkinID&Update 
> <http://mail.youdomain.com:8010/Domains/yourdomain.com/Account/username/WebUserSettings.html?SkinName=SkinID&Update>=
>  
> Where SkinID is the index of the skin in the skin list in WebUser Prefs.
>  
> Nicolas Hatier
>  
(Continue reading)

Tim Honl | 1 Oct 2004 01:38

Re: HTTPU wont run on port 80

That was it - Thanks!
----- Original Message -----
Sent: Thursday, September 30, 2004 5:12 PM
Subject: Re: HTTPU wont run on port 80

Are you sure you changed the port at the right place? The Cluster.settings file is about clusters configuration, not about listeners. Go into webadmin, Access, and near HTTP User Clients click on listener link; change the port there.
 
Nicolas Hatier
----- Original Message -----
From: Tim Honl
Sent: Thursday, September 30, 2004 4:44 PM
Subject: HTTPU wont run on port 80


I am running CGate Pro 4.2.3 on SuSe Linux 9.1 Pro and have changed the settings for HTTPU to be port 80 to allow me to access my mail from work through their firewall which is blocking 8100, and as you can see from the contents of the /var/CommuniGate/Settings/Cluster.settings file, the change appears to have taken, but for some reason, I cant connect on port 80, only on 8100 still.
 
Does anyone have any suggestions?
 
Thanks,
Tim
 
 
{
  ACAPPort =  674;
  AdminCache =  5;
  AdminLogLevel =  2;
  BackendAddresses =  "";
  BackendNames =  {};
  ControlAddress =  "*";
  DeliveryCache =  10;
  DeliveryPort =  25;
  DirectoryCluster =  NO;
  FrontendAddresses =  "";
  FrontendAdmin =  YES;
  HTTPAdminPort =  8010;
  HTTPUserPort =  80;
  IMAPPort =  143;
  LogLevel =  1;
  MailboxCache =  10;
  MailboxLogLevel =  5;
  POPPort =  110;
  PWDPort =  106;
  SingleImageLogLevel =  2;
  SubmitMode =  Locally;
}

Niversoft -- idées logicielles / software ideas
http://www.niversoft.com
Favicon

Re: 'hot standby' server licensing

on 28.9.04 7:48 PM, John ORourke (Versatilia Ltd) at john <at> versatilia.com
wrote:

> Hi folks, does anyone know what the licensing implications are for having a
> hot standby for my CGP server?
> 
> ie. same server, same accounts, same config, same data, ready to drop in in
> case the main server drops out.

The license forbids running two servers with the same license key at a time.
So if your standby server is turned off while the primary is running then
it's OK to have one license for both.

 
Sincerely,
Roman

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <CGatePro <at> mail.stalker.com>.
To unsubscribe, E-mail to: <CGatePro-off <at> mail.stalker.com>
To switch to the DIGEST mode, E-mail to <CGatePro-digest <at> mail.stalker.com>
To switch to the INDEX mode, E-mail to <CGatePro-index <at> mail.stalker.com>
Send administrative queries to  <CGatePro-request <at> mail.stalker.com>

Favicon

Re: sending mail

on 29.9.04 12:16 AM, Chad Gareau at cgareau <at> federated-group.com wrote:

> hello,
> 
> How can I tell CGP to send all mail out the local sendmail program?

Outgoing mail can be sent to/through another server via "Forward to" option
in SMTP settings, see
<http://www.stalker.com/CommuniGatePro/SMTP.html#Foreign>. But local mail
won't go through SMTP and will be delivered directly to accounts.

Theoretically you can implement what you want via an external filtering
program which will transfer mail being filtered to the external server and
discard the original from CGPro.

>  The way
> its working now is that its not using sendmail for internal accounts (local
> account to local account).  I think this is why my spam digests aren't
> working.
> 
> In order for my users to be able to release e-mail from spam-quarantine,
> they must be able to reply to an address which is picked up by our spam
> agent.  Its on the same server, but sits in front of CGP.
> 
> -config summary-
> spam listens on port 25 then forward to CGP on port 925
> CGP smtp setting is - forward to:  127.0.0.1
> 
> 
> 
> 
> Chad Gareau
> Federated Information Services
> 
> 
> 
> #############################################################
> This message is sent to you because you are subscribed to
> the mailing list <CGatePro <at> mail.stalker.com>.
> To unsubscribe, E-mail to: <CGatePro-off <at> mail.stalker.com>
> To switch to the DIGEST mode, E-mail to <CGatePro-digest <at> mail.stalker.com>
> To switch to the INDEX mode, E-mail to <CGatePro-index <at> mail.stalker.com>
> Send administrative queries to  <CGatePro-request <at> mail.stalker.com>
> 

 
Sincerely,
Roman

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <CGatePro <at> mail.stalker.com>.
To unsubscribe, E-mail to: <CGatePro-off <at> mail.stalker.com>
To switch to the DIGEST mode, E-mail to <CGatePro-digest <at> mail.stalker.com>
To switch to the INDEX mode, E-mail to <CGatePro-index <at> mail.stalker.com>
Send administrative queries to  <CGatePro-request <at> mail.stalker.com>

Favicon

Re: Problem viewing attachments in CGP Webmail

on 30.9.04 7:11 PM, Paul Chauvet at chauvetp <at> newpaltz.edu wrote:

> I'm having a little problem.  I have a user who is sending multiple text
> file attachments (using Mozilla Thunderbird) to a user who is using the
> CGP Webmail.  All the attachments are shown inline, and I do not know
> how to stop this.
> 
> Is there a way to either:
> 
> Prevent attachments from being shown inline in the CGP Webmail
> 
> or,
> 
> Prevent Thunderbird from making the files inline attachments?
> 
> The following is in the body of the message if it helps:
> 
> ########################
> 
> This is a multi-part message in MIME format.
> --------------000208070008060805010403
> Content-Type: text/plain; charset=us-ascii; format=flowed
> Content-Transfer-Encoding: 7bit
> 
> test
> 
> --------------000208070008060805010403
> Content-Type: text/plain;
> name="USONLYCSV"
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline;

It says that the attachment contents are inline, so they're to be shown
inline. Unfortunately I don't have Thunderbird here and can't tell how to
prevent it from making textual attachments inline, but sending those
attachments compressed in a .zip file must work.

> filename="USONLYCSV"
> 
> ########################

 
Sincerely,
Roman

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <CGatePro <at> mail.stalker.com>.
To unsubscribe, E-mail to: <CGatePro-off <at> mail.stalker.com>
To switch to the DIGEST mode, E-mail to <CGatePro-digest <at> mail.stalker.com>
To switch to the INDEX mode, E-mail to <CGatePro-index <at> mail.stalker.com>
Send administrative queries to  <CGatePro-request <at> mail.stalker.com>

Glenn Brensinger | 1 Oct 2004 03:06

Re: Best rule to call SpamAssassin?

On Thu, 30 Sep 2004 14:27:19 -0400, "Nicolas Hatier"
<nicolas.hatier <at> niversoft.com> wrote:

>Any Route is LOCAL*,LIST*
>Source not in trusted,authenticated

Docs say to use 

Header Field is not X-TFF-CGPSA-Filter*

also.

Glenn

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <CGatePro <at> mail.stalker.com>.
To unsubscribe, E-mail to: <CGatePro-off <at> mail.stalker.com>
To switch to the DIGEST mode, E-mail to <CGatePro-digest <at> mail.stalker.com>
To switch to the INDEX mode, E-mail to <CGatePro-index <at> mail.stalker.com>
Send administrative queries to  <CGatePro-request <at> mail.stalker.com>

Favicon

Re: sending mail

on 30.9.04 9:52 PM, Chad Gareau at cgareau <at> federated-group.com wrote:

> hi Paul,
> 
> Can you help me by confirming the following:
> 
> 1- I setup a sub domain to fisgroup.ca called "digest.fisgroup.ca"
> 2- DNS pointing to the same box running PM & CPG (CNAME to fisgroup.ca.)
> 3- I set the approve digest account to "pmx-auto-approve <at> digest.fisgroup.ca"
> 
> Here's what I get .. I'm not sure why its saying User unknown.  Isn't the
> milter suppose to intercept the incoming mail?
> 
> 
> ... while talking to localhost.localdomain.:
>>>> DATA
> <<< 551 pmx-auto-approve+8226f0c562117407eea6d1001d1156bb <at> fisgroup.ca
> illegal name for an account
> 550 5.1.1
> <pmx-auto-approve+8226f0c562117407eea6d1001d1156bb <at> digest.fisgroup.ca>...
> User unknown

Are these CGPro or sendmail errors?

If you send to such addresses in CGPro then make sure the account+detail
type addresses are enabled, see
<http://www.stalker.com/CommuniGatePro/Local.html#RouteSettings>

> <<< 554 no valid RCPT address specified
> 
> 
> 
> 
> Chad
> 
> 
> 
> -----Original Message-----
> From: CommuniGate Pro Discussions [mailto:CGatePro <at> mail.stalker.com]On
> Behalf Of Paul Chauvet
> Sent: Thursday, September 30, 2004 11:33 AM
> To: CommuniGate Pro Discussions
> Subject: Re: sending mail
> 
> 
> *This message was transferred with a trial version of CommuniGate(tm) Pro*
> We run our own dns, so ANYTHING.newpaltz.edu is up for grabs for us.  We
> don't have to do anything more then a five second dns change.
> 
> 
> On Thu, 2004-09-30 at 11:16, Chad Gareau wrote:
>> hi Paul,
>> 
>> Did you have to setup a separate domain just for the digests?  That seems
> to
>> be a waste of a domain....
>> 
>> 
>> Chad
>> 
>> 
>> -----Original Message-----
>> From: CommuniGate Pro Discussions [mailto:CGatePro <at> mail.stalker.com]On
>> Behalf Of Paul Chauvet
>> Sent: Wednesday, September 29, 2004 3:10 PM
>> To: CommuniGate Pro Discussions
>> Subject: Re: sending mail
>> 
>> 
>> *This message was transferred with a trial version of CommuniGate(tm) Pro*
>> Can you have your outside spam filter send/receive your digests from a
>> different domain address?
>> 
>> For example, have CGP be domain.tld
>> Have either a second interface with a different IP/domain name or the
>> same interface, with a DNS CNAME that communigate doesn't recognize
>> like: mail.domain.tld.
>> 
>> This way, if a user replies to the digest to digest <at> mail.domain.tld then
>> cgp (should) send it out as a remote message, even if it is on the same
>> IP.
>> 
>> I'm running Pure Message for spam, with digests and all, but I have it
>> on a seperate server from CGP.
>> -------------------------------------------
>> Paul Chauvet
>> UNIX/Linux Systems Administrator
>> State University of New York at New Paltz
>> 845-257-3828
>> chauvetp <at> newpaltz.edu
>> -------------------------------------------
>> 
>> On Wed, 2004-09-29 at 13:53, Chad Gareau wrote:
>>> hello,
>>> 
>>> How can I tell CGP to send all mail out the local sendmail program?  The
>> way
>>> its working now is that its not using sendmail for internal accounts
>> (local
>>> account to local account).  I think this is why my spam digests aren't
>>> working.
>>> 
>>> In order for my users to be able to release e-mail from spam-quarantine,
>>> they must be able to reply to an address which is picked up by our spam
>>> agent.  Its on the same server, but sits in front of CGP.
>>> 
>>> -config summary-
>>> spam listens on port 25 then forward to CGP on port 925 CGP smtp setting
>>> is - forward to:  127.0.0.1
>>> 
>>> 
>>> 
>>> Chad Gareau
>>> Federated Information Services
>>> 
>>> 
>>> #############################################################
>>> This message is sent to you because you are subscribed to
>>> the mailing list <CGatePro <at> mail.stalker.com>.
>>> To unsubscribe, E-mail to: <CGatePro-off <at> mail.stalker.com>
>>> To switch to the DIGEST mode, E-mail to
> <CGatePro-digest <at> mail.stalker.com>
>>> To switch to the INDEX mode, E-mail to <CGatePro-index <at> mail.stalker.com>
>>> Send administrative queries to  <CGatePro-request <at> mail.stalker.com>
>> --
>> 
>> 
>> 
>> #############################################################
>> This message is sent to you because you are subscribed to
>> the mailing list <CGatePro <at> mail.stalker.com>.
>> To unsubscribe, E-mail to: <CGatePro-off <at> mail.stalker.com>
>> To switch to the DIGEST mode, E-mail to <CGatePro-digest <at> mail.stalker.com>
>> To switch to the INDEX mode, E-mail to <CGatePro-index <at> mail.stalker.com>
>> Send administrative queries to  <CGatePro-request <at> mail.stalker.com>
>> 
>> 
>> #############################################################
>> This message is sent to you because you are subscribed to
>> the mailing list <CGatePro <at> mail.stalker.com>.
>> To unsubscribe, E-mail to: <CGatePro-off <at> mail.stalker.com>
>> To switch to the DIGEST mode, E-mail to <CGatePro-digest <at> mail.stalker.com>
>> To switch to the INDEX mode, E-mail to <CGatePro-index <at> mail.stalker.com>
>> Send administrative queries to  <CGatePro-request <at> mail.stalker.com>
> --
> -------------------------------------------
> Paul Chauvet
> UNIX/Linux Systems Administrator
> State University of New York at New Paltz
> 845-257-3828
> chauvetp <at> newpaltz.edu
> -------------------------------------------
> 
> 
> #############################################################
> This message is sent to you because you are subscribed to
> the mailing list <CGatePro <at> mail.stalker.com>.
> To unsubscribe, E-mail to: <CGatePro-off <at> mail.stalker.com>
> To switch to the DIGEST mode, E-mail to <CGatePro-digest <at> mail.stalker.com>
> To switch to the INDEX mode, E-mail to <CGatePro-index <at> mail.stalker.com>
> Send administrative queries to  <CGatePro-request <at> mail.stalker.com>
> 
> 
> #############################################################
> This message is sent to you because you are subscribed to
> the mailing list <CGatePro <at> mail.stalker.com>.
> To unsubscribe, E-mail to: <CGatePro-off <at> mail.stalker.com>
> To switch to the DIGEST mode, E-mail to <CGatePro-digest <at> mail.stalker.com>
> To switch to the INDEX mode, E-mail to <CGatePro-index <at> mail.stalker.com>
> Send administrative queries to  <CGatePro-request <at> mail.stalker.com>
> 

 
Sincerely,
Roman

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <CGatePro <at> mail.stalker.com>.
To unsubscribe, E-mail to: <CGatePro-off <at> mail.stalker.com>
To switch to the DIGEST mode, E-mail to <CGatePro-digest <at> mail.stalker.com>
To switch to the INDEX mode, E-mail to <CGatePro-index <at> mail.stalker.com>
Send administrative queries to  <CGatePro-request <at> mail.stalker.com>

Favicon

Re: Automated processing using PIPE

on 1.10.04 12:35 AM, Andrew Cunningham at andrewc <at> vasci.com wrote:

> I want to use the PIPE module as follows...
> 
> 1) For Message sent to <special_adress> <at> domain.com
> 2) process message, extract 'from' address, get .zip file attachment,
> unzip attachment
> ... do some custom processing on attachment
> 3) Create a message, add a zipped attachment, send back to original
> sender.
> 
> 
> I am pretty clear on how to have the PIPE module call an external
> application, but I am unclear how to extract a .zip attachment from a
> message, and how to create a message with a .zip attachment. I am
> assuming I would have to write some 'C' code using free MIME decoding
> libraries.

Yes.
You're not limited with 'C' however, you can use many other programming
languages. Also besides MIME libraries you'll need either to find a ZIP
library, or launch pkzup/pkunzip applications from your program.

> Seems like the above is a pretty typical scenario for automated
> processing of messages. Is their a smarter way?

Try to find a ready application which would take message text on input and
extract all attachments.

> Andrew
> 
> 
> #############################################################
> This message is sent to you because you are subscribed to
> the mailing list <CGatePro <at> mail.stalker.com>.
> To unsubscribe, E-mail to: <CGatePro-off <at> mail.stalker.com>
> To switch to the DIGEST mode, E-mail to <CGatePro-digest <at> mail.stalker.com>
> To switch to the INDEX mode, E-mail to <CGatePro-index <at> mail.stalker.com>
> Send administrative queries to  <CGatePro-request <at> mail.stalker.com>
> 

 
Sincerely,
Roman

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <CGatePro <at> mail.stalker.com>.
To unsubscribe, E-mail to: <CGatePro-off <at> mail.stalker.com>
To switch to the DIGEST mode, E-mail to <CGatePro-digest <at> mail.stalker.com>
To switch to the INDEX mode, E-mail to <CGatePro-index <at> mail.stalker.com>
Send administrative queries to  <CGatePro-request <at> mail.stalker.com>

Favicon

Re: Format for LDIF file

on 1.10.04 12:44 AM, Pam Circle at PCircle <at> willcare.com wrote:

> We recently lost our LDAP entries.  We had extra entries for our staff
> with cell phone email addresses.
> 
> We'd like to re-import them into CGP using the LDIF Import.
> 
> Can anyone tell us the format for the LDIF file?

LDIF(5)                                                   LDIF(5)

NAME
       ldif - LDAP Data Interchange Format

DESCRIPTION
       The  LDAP Data Interchange Format (LDIF) is used to repre-
       sent LDAP entries in text form. LDAP tools, such  as  lda-
       padd(1) and ldapsearch(1), read and write LDIF.

       The basic form of an LDIF entry is:

            dn: <distinguished name>
            <attrdesc>: <attrvalue>
            <attrdesc>: <attrvalue>
            <attrdesc>:: <base64-encoded-value>
            <attrdesc>:< <URL>
            ...

       The  value  may  be  specified  as UTF-8 text or as base64
       encoded data, or a URI may be provided to the location  of
       the attribute value.

       A  line  may be continued by starting the next line with a
       single space or tab, e.g.,

            dn: cn=Barbara J Jensen, dc=exam
             ple, dc=com

       Lines beginning with a sharpe sign ('#') are ignored.

       Multiple attribute values are specified on separate lines,
       e.g.,

            cn: Barbara J Jensen
            cn: Babs Jensen

       If  an  value contains a non-printing character, or begins
       with a space or a colon ':', the <attrtype> is followed by
       a  double  colon and the value is encoded in base 64 nota-
       tion. e.g., the value " begins  with  a  space"  would  be
       encoded like this:

            cn:: IGJlZ2lucyB3aXRoIGEgc3BhY2U=

       If  the  attribute  value is located in a file, the <attr-
       type> is followed by a ':<' and a file:  URI.   e.g.,  the
       value  contained  in  the  file /tmp/value would be listed
       like this:

            cn:< file:///tmp/value
       Other URI schemes (ftp,http) may be supported as well.

       Multiple entries within the same LDIF file  are  separated
       by blank lines.

EXAMPLE
       Here  is  an  example  of  an  LDIF  file containing three
       entries.

            dn: cn=Barbara J Jensen, dc=example, dc=com
            cn: Barbara J Jensen
            cn: Babs Jensen
            objectclass: person
            description:< file://tmp/babs
            sn: Jensen

            dn: cn=Bjorn J Jensen, dc=example, dc=com
            cn: Bjorn J Jensen
            cn: Bjorn Jensen
            objectclass: person
            sn: Jensen

            dn: cn=Jennifer J Jensen, dc=example, dc=com
            cn: Jennifer J Jensen
            cn: Jennifer Jensen
            objectclass: person
            sn: Jensen
            jpegPhoto:: /9j/4AAQSkZJRgABAAAAAQABAAD/2wBDABALD
             A4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQ
             ERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVG
            ...

       Notice that the description in Barbara Jensen's  entry  is
       read  from  file://tmp/babs  and the jpegPhoto in Jennifer
       Jensen's entry is encoded using base 64.

SEE ALSO
       ldap(3), ldapsearch(1), ldapadd(1) LDAP  Data  Interchange
       Format,Good,G.,RFC2849.

 
Sincerely,
Roman

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <CGatePro <at> mail.stalker.com>.
To unsubscribe, E-mail to: <CGatePro-off <at> mail.stalker.com>
To switch to the DIGEST mode, E-mail to <CGatePro-digest <at> mail.stalker.com>
To switch to the INDEX mode, E-mail to <CGatePro-index <at> mail.stalker.com>
Send administrative queries to  <CGatePro-request <at> mail.stalker.com>

Eric Limpens | 1 Oct 2004 12:23

List of module names


EHLO Dmitry/Roman/List

 I need to disable all logons at night, due to programmatically removing
 and adding large (mailbox based) addressbooks.

 So my approach is to set the number of webusers sessions to 0, set the 
 timeout and limits to 1 minute, and every (web)user will shutdown
 properly.

 Same for the imap etc, so the DeleteMailboxes function won't fail due
 to some folks still using the addressbooks.

 However, doing this using the CLI raised some questions, using the
 GetModule function, I found the following modules:
 SMTP,POP,HTTPA,HTTPU,LDAP,RADIUS,IMAP,FTP,ACAP,PIPE,LIST and LOCAL.

 Yet, none of these allow me to change the number of sessions and the
 timeouts for the http user and/or imap interfaces.

ps: 

 _what_ is the official list of modules?

 
--

-- 
HSCG
Eric Limpens
Head NOC
T +31 58 2333 400
F +31 58 2155 264
www.hscg.nl

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <CGatePro <at> mail.stalker.com>.
To unsubscribe, E-mail to: <CGatePro-off <at> mail.stalker.com>
To switch to the DIGEST mode, E-mail to <CGatePro-digest <at> mail.stalker.com>
To switch to the INDEX mode, E-mail to <CGatePro-index <at> mail.stalker.com>
Send administrative queries to  <CGatePro-request <at> mail.stalker.com>


Gmane