Importing Domains and Users
Posted: 16 Feb 2015 21:41
I am new to EFA and getting used to the menus and functionality. I have an older box that does scanning with Postfix, SA, Clam so I have a basic familiarity those and I have some scripts setup to import users and domains from our mail server.
I would like to do the same with EFA but don't want to break anything by editing the main.cf manually. I would like to setup my postfix main.cf like such.
relay_domains =
hash:/etc/postfix/transport
hash:/etc/postfix/transport_A
hash:/etc/postfix/transport_B
relay_recipient_maps =
hash:/etc/postfix/relay_recipients
hash:/etc/postfix/relay_recipients_A
hash:/etc/postfix/relay_recipients_B
I think I read here that I can edit my main.cf directly?
These file are created on the mail server and formatted in the proper convention so all I have to do is get postfix to use them in EFA. That consists of copying them over, change permissions, and then postmap. I normlally schedule on a cron every 30 min to do that.
Will this work on EFA or is there a better way to handle importing users and domains?
Thanks,
Todd
I would like to do the same with EFA but don't want to break anything by editing the main.cf manually. I would like to setup my postfix main.cf like such.
relay_domains =
hash:/etc/postfix/transport
hash:/etc/postfix/transport_A
hash:/etc/postfix/transport_B
relay_recipient_maps =
hash:/etc/postfix/relay_recipients
hash:/etc/postfix/relay_recipients_A
hash:/etc/postfix/relay_recipients_B
I think I read here that I can edit my main.cf directly?
These file are created on the mail server and formatted in the proper convention so all I have to do is get postfix to use them in EFA. That consists of copying them over, change permissions, and then postmap. I normlally schedule on a cron every 30 min to do that.
Will this work on EFA or is there a better way to handle importing users and domains?
Thanks,
Todd