Re: [Postfixadmin-devel] Create folder when adding new domain
Brought to you by:
christian_boltz,
gingerdog
From: <li...@ma...> - 2008-03-14 16:33:01
|
> Matt Rude wrote : >> Hello, >> I am using PostfixAdmin (SVN#311 trunk), and today I added my first new >> domain to my setup using PostfixAdmin. The adding of the domain went >> fine but when I tried to add the first mailbox Postfixadmin told me that >> the email address was invalided. knowing that the address was fine I >> started looking around. My folder structure is such that each domain is >> located in it's own folder, ie. >> >> /var/spool/mail/example1.com/ >> /var/spool/mail/example2.com/ >> /var/spool/mail/example3.com/ >> >> But PostfixAdmin did not create a folder for the new domain during the >> "Add Domain" process or when I tried to add the mailbox. Once i created >> the folder PostfixAdmin was happy and added all the mailboxes with no >> problems and they are now receiving email. >> >> Is there a flag I need to flip somewhere or should I be looking at >> postfix? >> > > I suspect the problem would be that Postfixadmin wouldn't/couldn't have > permission on it's own to create the domain folder (just like it > can't/doesn't create mailboxes) > > Is there a script to run via sudo or anything to accomplish creation of > the domain folder? > > David. > I was hoping that I could use something like the "postfix-domain-postdelete" script but I can't figure out how to add that to PA. Is there someplace to put a script that would add the folders for me as Im creating the domain? -Matt |