Page 1 of 1

Getting a list of all possible email addresses for POSTFIX

Posted: Wed May 10, 2006 1:07 am
by mabadjiev
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

Posted: Wed May 10, 2006 7:05 am
by ScalixSupport
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.

LDAP query for Scalix

Posted: Wed May 10, 2006 10:59 am
by mabadjiev
Thank you that make sense.