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

--
  ________________________________________________________________
  Paul Stevens                                  mailto:[EMAIL PROTECTED]
  NET FACILITIES GROUP                     PGP: finger [EMAIL PROTECTED]
  The Netherlands________________________________http://www.nfg.nl

Reply via email to