[CentOS] Experience with postfixadmin with mysql?

Wed Dec 26 17:01:10 UTC 2012
me at tdiehl.org <me at tdiehl.org>

On Wed, 26 Dec 2012, Robert Moskowitz wrote:

> On 12/26/2012 10:41 AM, me at tdiehl.org wrote:
>> On Wed, 26 Dec 2012, Robert Moskowitz wrote:
>>> My first time with this.  I got postfix, mysql, and postfixadmin setup,
>>> generally following
>>> http://www.campworld.net/thewiki/pmwiki.php/LinuxServersCentOS/Cent6VirtMailServer
>>> I used postfixadmin to create my domain then added my first user and got
>>> an error:
>>> Send Welcome mail: yes
>>> Unable to send email!
>>> The mailbox has been added to the mailbox table, but none (or only some)
>>> of the predefined sub-folders could be created 
>>> (faxit at test.htt-consult.com)
>>> There is nothing under /home/vmail (in postfix/main.cf:
>>> virtual_mailbox_base = /home/vmail)
>>> Advise on where to start troubleshooting?
>> The logs, clues if not the actual solution will most likely be found there.
> nothing in /var/log/messages.  Nothing in that directory updated at the time 
> of the attempted add.  Where else do I look for logs used by postfixadmin and 
> the other related apps?
>>> Perhaps a password or permissions not right?
>> Maybe maybe not. There is no way to tell from the information you provide.
>> You have to help yourself before anyone here can help you.
> I did not find anything informative.  No logs that I saw being updated.  Thus 
> the ask for help where to troubleshoot.
> I suspect that some common log that is not where I would think to look for 
> was what I need to see.

Nope, no common log!! Just mysql, postfix, http. dovecot and amavis-new logs.
Turn up logging. Most likely the answer is there. (hint none of what I
suggested logs to /var/log/messages). Keep in mind all pfa is, is a web app.
When configured correctly, it knows how to talk to all of the associated
components but logging is still to the native logs of each of the respective

When I am setting up a new instance of pfa I generally turn mysql, dovecot
and amavisd-new logging up so that I can see any errors. Running something like
tail -F /var/log{messages,maillog,mysqld.log,httpd/*,maillog} should get you
enough information for you to be able to see what is going on.


Tom			me at tdiehl.org		Spamtrap address	 		me123 at tdiehl.org