[SOLVED]Create a mailing list

I’m looking for making a really short mailing list. I tried with aliases but it looks not working, when I send a mail for testing, i get the following in my logs :
Recipient address rejected: User unknown in virtual mailbox table;
Taking a look in my postfix config files showed that LDAP is used for maintaining the users.
What can be recommended ? using a group like in http://www.linuxmail.info/postfix-active-directory-ldap-lookup-howto/ ?

finally i found a way to do what i wanted without touching LDAP.
I first created /etc/postfix/virtual file with the following line :
listname@domain.tld user1@other.tld,user2@anotherone.tld
After, i just had to run
postmap /etc/postfix/virtual
Next, in /etc/postfix/main.cf i added the file location at the end of the virtual_alias_maps to obtain the following directive:
virtual_alias_maps = ldap:/etc/postfix/ldap-aliases.cf,hash:/etc/postfix/virtual
finally, i did
service postfix reload
and everything looking fine :smiley:

1 Like