Daniel Kasak wrote:
> Hi all.
> 
> I'm running dbmail-2.0.7. I've been unable to get sendmail with smtp
> working, so I've tried sendmail with lmtp.
> 
> I've run the dbmail-lmtp daemon and sent some email to myself. My
> /var/log/everything/current log shows that it's being received and 'sent':
> 
> Nov 15 13:21:00 [sm-mta] jAF2KxlH013484:
> from=<[EMAIL PROTECTED]>, size=352, class=0, nrcpts=1,
> msgid=<[EMAIL PROTECTED]>, proto=ESMTP, daemon=MTA,
> relay=dkasak.nusconsulting.com.au [10.146.1.25]
> Nov 15 13:21:01 [sm-mta] jAF2KxlH013484: to=<[EMAIL PROTECTED]>,
> ctladdr=<[EMAIL PROTECTED]> (1000/100), delay=00:00:02,
> xdelay=00:00:01, mailer=local, pri=30568, dsn=2.0.0, stat=Sent

Heh, that's local delivery. It doesn't appear to use the lmtp transport.

> 
> But nothing gets delivered. There are no errors anywhere.
> 
> Anyone know what's up?
> 
> 
> Config files:
> 
> /etc/mail/mailertable:
> ---
> nusconsulting.com.au dbmail-lmtp:127.0.0.1:24

So where oh where did you define that mailer I wonder....


> FEATURE(`local_lmtp',`/usr/sbin/mail.local')dnl
> FEATURE(`local_procmail')dnl
> FEATURE(mailertable, `hash -o /etc/mail/mailertable')
> MAILER(local)dnl
> MAILER(smtp)dnl
> MAILER(dbmail)dnl

So where's MAILER(dbmail-lmtp) at?

> 
> ---
> 
> I've used the dbmail.m4 file from:
> http://www.helgrim.com/dbmaildocs/comments.html?article=2&section=20&depth=9

I looked at that file. That's for dbmail-smtp only.

Try replacing it with a lmtp enabled version:

You could try using: http://www.oryx.com/download/mailstore.m4 as a good
starting point. It's very similar to what dbmail-lmtpd would require.
Just run a sed script over it like 's/MAILSTORE/DBMAIL/g', set the
LMTP_PORT to 24 and change Mmailstore into Mdbmail-lmtp.

But then, I haven't used sendmail for a long time.

-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl

Reply via email to