Ok with your help and patients everything is working again thanks.
Sorry everyone i do not mean to pester this list as you folks are always
kind enough to help me even when my questions seem silly or uninformed.
Not to make excuses but I did read the Doc's got messed up between the
html one and the INSTALL.postfix one that comes with dbmail you were
right i need to chew on them alot more. There was two problems one
Paul pointed out to me dbmail instead of dbmial-smtp in my master.cf and
the second stupid mistake i made was that lmtpd was not even running.
Boy do i ever feel like a fool since i upgraded my version of dbmail to
svn my startup scripts do not work anymore.
Anyone know why this is i even tried changing some stuff that pointed to
/usr/local/ect instead of /etc but to no avail. Do not reboot very
often but forgot to restart dbmail-imapd last time and had never started
dbmail-lmtp.
l J Stevens wrote:
Ryan,
Like Mike suggested: try reading some man pages and chew on them a
little.
RYAN vAN GINNEKEN wrote:
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.
Ahem, no you didn't.
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:
You didn't follow this example.
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
This is bollocks. For pipe delivery with dbmail-smtp use:
canmail.org dbmail:
because that's the transport you defined in master.cf
graemehill.com dbmial-lmtp:localhost:24
this should work ok.
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
again; this is no good. There is no dbmail-smtp transport defined, and
even if it were, it would listen on port 24.
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
These should work. I doubt the error is the same. Did you run postmap
at all?
i get the same error help