Getting a list of all possible email addresses for POSTFIX

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

mabadjiev
Posts: 30
Joined: Thu Feb 23, 2006 12:57 am

Getting a list of all possible email addresses for POSTFIX

Postby mabadjiev » Wed May 10, 2006 1:07 am

Hello All,

I need a script that will get all possible email addresses for users, aliases, groups resources and public folders. Thie output will be use for a machine that runs POSTFIX as mail gateway.

omsearch -e cn=* -m IA
and
omsearch -e ' ! RESOURCE-TYPE=1' -s -m UL-AUTHID|awk -F "=" '{ print $2 }'

are not doing the job. Also any references to RESOURCE-TYPE will be greatly appreciated.
Thanks for your time.

Michael abadjiev

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed May 10, 2006 7:05 am

Don't go that route. Use ldap on Postifx to query for valid recipients. That way, it's dynamic and queried in realtime. That way, you wont have an outdated recipients file.

Cheers,

Sascha.

mabadjiev
Posts: 30
Joined: Thu Feb 23, 2006 12:57 am

LDAP query for Scalix

Postby mabadjiev » Wed May 10, 2006 10:59 am

Thank you that make sense.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 11 guests