Community Discussions and Support
Using mailaddresses instead of aliases in addressbooks

Hi

thanx for the informations, but I think you mean something different as I do. I have changed in PMail:

Addressbooks -> Addressbook properties -> and there I have checked for all Addressbooks:

 - Apply the e-mail address instead of the alias

 - Do not resolve aliases in this addressbook

The addressbookfile is stored on a networkdevice, where I do not have any writepermission. So the

changes I made could not be stored in the addressbookfile. But where else is it stored ?

 

Regards

 Inga 

 


 

<p>Hi</p><p>thanx for the informations, but I think you mean something different as I do. I have changed in PMail:</p><p>Addressbooks -> Addressbook properties -> and there I have checked for all Addressbooks:</p><p> - Apply the e-mail address instead of the alias</p><p> - Do not resolve aliases in this addressbook</p><p>The addressbookfile is stored on a networkdevice, where I do not have any writepermission. So the</p><p>changes I made could not be stored in the addressbookfile. But where else is it stored ?</p><p> </p><p>Regards</p><p> Inga </p><p> </p><p>  </p>

Hi

i would like to use the real-mailaddresses instead of the aliasnames,
when clicking on a addressbookentry.

I've found under properties, that I can change this for all addressbooks, under the addressbook-properties,
but my question is, where is this value stored ?

In my pmail.ini I can't find any change after activating this value - and the addressbooks are systemwide books where
I have no access to change settings.
So, in which file is it stored ? I would like to change this parameter for round about 800 users on 80 servers.

Regards,

 Inga 

 

<p>Hi i would like to use the real-mailaddresses instead of the aliasnames, when clicking on a addressbookentry. </p><p>I've found under properties, that I can change this for all addressbooks, under the addressbook-properties, but my question is, where is this value stored ? </p><p>In my pmail.ini I can't find any change after activating this value - and the addressbooks are systemwide books where I have no access to change settings. So, in which file is it stored ? I would like to change this parameter for round about 800 users on 80 servers.</p><p>Regards,</p><p> Inga </p><p> </p>

This is stored in header of the the addressbook itself.  Here's some info on the v2.0 address books.  This may or may not be current since this came from the old admin manual that has not been updated in years.

 


Address books File formats

 Address books PMM files are binary files, laid out as follows: the first 128
bytes of the file is a header. The first 50 bytes of the header contain the long name
of the address book, as a nul-terminated C string. The byte at offset 51 in the header
(ie, header [51]) is non-zero if the book is a system address book. All other bytes in
the header are reserved and must be set to 0. Following the header is simply a flat
file of the following C structure:

typedef struct
{
int flag;
char name [40]; /* Username, and alias */
char dept [40]; /* Department */
char index [12];/* Quick lookup key */
char phys_address [60]; /* Delivery address */
char post_address [60]; /* Postal address */
char phone [24];/* Phone number */
char fax [24]; /* Fax number */
char details [80]; /* Anything you want */
char address [100] /* E-mail address */
long user_field; /* For your use */
char reserved [12];
} ADDRESS;

The flag field is reserved for internal use and must be 0. The name field may
not be blank. user_field is provided for you to use if you wish — Pegasus Mail will
initialise it to 0, but will never touch it after that. You should NOT use the bytes
marked reserved.

The .PM! file associated with each address book consists of a subset of the
master record, using the following structure:

typedef struct
{
int flag;
char index [12]; /* As in master record */
int filepos; /* Record # in master file */
char name [36]; /* Sorting form of name */
char phone [12];
} AINDEX;



<p>This is stored in header of the the addressbook itself.  Here's some info on the v2.0 address books.  This may or may not be current since this came from the old admin manual that has not been updated in years. </p><p> </p><p> Address books File formats  Address books PMM files are binary files, laid out as follows: the first 128 bytes of the file is a header. The first 50 bytes of the header contain the long name of the address book, as a nul-terminated C string. The byte at offset 51 in the header (ie, header [51]) is non-zero if the book is a system address book. All other bytes in the header are reserved and must be set to 0. Following the header is simply a flat file of the following C structure: typedef struct { int flag; char name [40]; /* Username, and alias */ char dept [40]; /* Department */ char index [12];/* Quick lookup key */ char phys_address [60]; /* Delivery address */ char post_address [60]; /* Postal address */ char phone [24];/* Phone number */ char fax [24]; /* Fax number */ char details [80]; /* Anything you want */ char address [100] /* E-mail address */ long user_field; /* For your use */ char reserved [12]; } ADDRESS; The flag field is reserved for internal use and must be 0. The name field may not be blank. user_field is provided for you to use if you wish — Pegasus Mail will initialise it to 0, but will never touch it after that. You should NOT use the bytes marked reserved. The .PM! file associated with each address book consists of a subset of the master record, using the following structure: typedef struct { int flag; char index [12]; /* As in master record */ int filepos; /* Record # in master file */ char name [36]; /* Sorting form of name */ char phone [12]; } AINDEX; ᾕ </p>
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft