Gonçalo Duarte wrote:
> 1st step done.
> 
> 2nd step I think it's done cause in configure CFLAGS have -g
> 
> 3rd step - I ran make install when I first install dbmail. I don't run
> when I change code.
> 
> 4th step - Didn't understand well. I'm programming remotely on a local
> computer and accessing the server with Putty, that's why I send a mail
> from this pc to see if the server is doing what I want. How can I know
> that I'm USING the static binary files?

If you do that you keep using the binaries that were installed the first
time around, when you did make install. That explains why your edits
don't have any effect.

Step 4 was:
cat testmsg.eml | /home/myname/src/dbmail/dbmail-smtp -f
/etc/dbmail/dbmail-debug.conf

You should run that on the machine where you're compiling dbmail. That
way lmtpd doesn't even have to run at all.

So, basically you feed the static-build dbmail-smtp a test message using
a special config file (trace_syslog=5, db=dbmail2, etc) to keep it from
interfering with any production servers on the same machine.

Use an other putty console to keep an eye on the syslog or logfile and
see what's happening.


-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev

Reply via email to