This setup has broken postfix very badly i have had to deactive dbmail completly in order to recieve any mail and fear i have lost the mails do to these errors. HELP Please if you have replied to the previous post could you resend it to me at [EMAIL PROTECTED]

Ok once again i am on this list asking probably a very trivial
questions.  First off which is more correct 127.0.0.1 or localhost i am
thinking that 127.0.0.1 would be best on Freebsd 4.X but not sure.  When
i installed dbmail i followed the instructions here.
http://www.helgrim.com/dbmaildocs/installation.html the relevant postfix
part is below this setup works for me.

___________________________________________________________________________________________________________________
9.2 Postfix
In the master.cf file for postfix add the following:

dbmail    unix  -       n       n       -       -       pipe    flags=
user=dbmail:dbmail argv=/usr/local/sbin/dbmail-smtp -d ${recipient}
The user= field should be the username and groupname under which dbmail
runs - usually dbmail and dbmail

Next, for each domain you want to use Dbmail with, insert the following
into the /etc/postfix/transport file:

<example.com>    dbmail:
Next run:
# postmap /etc/postfix/transport


Edit /etc/postfix/main.cf and add the following:


transport_maps = hash:/etc/postfix/transport
Finally, a postfix reload and if everything goes well mail should be
delivered to dbmail. If not, try running postfix with the -v option to
see what's going on. If the problem seems to be in dbmail, try changing
the tracelevel in dbmail.conf. Tracelevel 5 will return a lot of
debugging information.

________________________________________________________________________________________________________

Now I have tried several time to set things up according to the
installation docs but cannot get dbmail to work.  these are in my master.cf

dbmail    unix  -       n       n       -       -       pipe    flags=
user=dbmail:dbmail argv=/usr/local/sbin/dbmail-smtp -d ${recipient} -r
${sender}
dbmail-lmtp     unix    -       -       n       -       -       lmtp
#If you want verbose output in the mail log, add -v to lmtp, like this:
#dbmail-lmtp     unix    -       -       n       -       -       lmtp -v

these are in my main.cf

canmail.org             dbmail-smtp:localhost:24
graemehill.com          dbmial-lmtp:localhost:24

these are in my main.cf

mailbox_transport = dbmail-lmtp:127.0.0.1:24
#try this
mailbox_transport = dbmail-smtp:127.0.0.1:24
local_recipient_maps = mysql:/usr/local/etc/postfix/sql-recipients.cf
#local_recipient_maps =

here is the contains of my sql-recipients.cf

user = dbmail
password = xxx
hosts = 127.0.0.1
dbname = dbmail
table = dbmail_aliases
select_field = alias
where_field = alias

I have tried all possible configurations but get different errors every
time this is the errors that go along with the current config where i
have both lmtp and smtp using 127.0.0.1 and the local_recipient_maps =
mysql:/usr/local/etc/postfix/sql-recipients.cf

Apr  1 14:24:22 tokyo postfix/local[74990]: 0D7866C50E:
to=<[EMAIL PROTECTED]>, orig_to=<postmaster>, relay=local, delay=7,
status=sent (forwarded as 27FDA6C511)
Apr  1 14:24:22 tokyo postfix/qmgr[74856]: 0D7866C50E: removed
Apr  1 14:24:22 tokyo postfix/local[74988]: warning: connect #1 to
subsystem private/dbmail-smtp: No such file or directory
Apr  1 14:24:32 tokyo postfix/local[74988]: warning: connect #2 to
subsystem private/dbmail-smtp: No such file or directory
Apr  1 14:24:42 tokyo postfix/local[74988]: warning: connect #3 to
subsystem private/dbmail-smtp: No such file or directory
Apr  1 14:24:52 tokyo postfix/local[74988]: warning: connect #4 to
subsystem private/dbmail-smtp: No such file or directory
Apr  1 14:25:02 tokyo postfix/local[74988]: warning: connect #5 to
subsystem private/dbmail-smtp: No such file or directory
Apr  1 14:25:12 tokyo postfix/local[74988]: warning: connect #6 to
subsystem private/dbmail-smtp: No such file or directory
Apr  1 14:25:22 tokyo postfix/local[74988]: warning: connect #7 to
subsystem private/dbmail-smtp: No such file or directory
Apr  1 14:25:32 tokyo postfix/local[74988]: warning: connect #8 to
subsystem private/dbmail-smtp: No such file or directory
Apr  1 14:25:42 tokyo postfix/local[74988]: warning: connect #9 to
subsystem private/dbmail-smtp: No such file or directory
Apr  1 14:25:52 tokyo postfix/local[74988]: warning: connect #10 to
subsystem private/dbmail-smtp: No such file or directory
Apr  1 14:26:02 tokyo postfix/local[74988]: fatal: connect #11 to
subsystem private/dbmail-smtp: No such file or directory
Apr  1 14:26:03 tokyo postfix/qmgr[74856]: warning: premature
end-of-input on private/local socket while reading input attribute name
Apr  1 14:26:03 tokyo postfix/master[74854]: warning: process
/usr/local/libexec/postfix/local pid 74988 exit status 1
Apr  1 14:26:03 tokyo postfix/qmgr[74856]: warning: private/local
socket: malformed response
Apr  1 14:26:03 tokyo postfix/qmgr[74856]: warning: transport local
failure -- see a previous warning/fatal/panic logfile record for the
problem description
Apr  1 14:26:38 tokyo postfix/smtpd[75010]: starting TLS engine

What am i missing ?? or what extra have i added do  i even need
dbmail-smtp when it turn it off in master.cf i and add this to transport
canmail.org             dbmail-lmtp:localhost:24
graemehill.com          dbmial-lmtp:localhost:24

i get the same error help




Reply via email to