Andrey, I haven't used sendmail in over ten years, but I'll give it a shot.
On 12/27/2010 01:05 PM, Andrey W. wrote: > > I install dbmail + sendmail according to > http://dbmail.org/dokuwiki/doku.php/sendmail_howto > use dbmail-lmtp > > Users from LDAP, and: > $ id test > id = 10585 (test) gid = 10000 groups = 10000 > ok! So posix users are setup in ldap. Great. > > FreeBSD 8.0-RELEASE > > But as a result of receiving mail locally (not through dbmail-lmtp), here is > my maillog: > Dec 27 16:35:21 hall sm-mta[3274]: oBRAZLMo003273: to=<[email protected]>, > ctladdr=<[email protected]> (1008/1008), delay=00:00:00, xdelay=00:00:00, > mailer=local, pri=30684, relay=local, dsn=2.0.0, stat=Sent mmm > If I remove the flag "5"(DBMAIL_MAILER_FLAGS) from bmail-lmtp.m4 then get a > letter in dbmail, but the system user (Root and others) messages are not > delivered locally, it is not permissible. DBMail is agnostic when it comes to local or non-local users. There is no such thing in dbmail. The only thing that counts is whether dbmail 'knows' about a user and/or address or not. In your case the only part that matters from dbmail perspective is the LDAP stanza in dbmail.conf. >From the perspective of the MTA (like sendmail) the mailertables are key. They should talk to the LDAP store directly. Does sendmail support resolving addresses and/or domains through LDAP? Maybe someone who uses sendmail+ldap+dbmail can offer some more detailed advise. > > Dec 27 17:05:08 hall sm-mta[11069]: oBRB5713011067: to=<[email protected]>, > delay=00:00:01, xdelay=00:00:01, mailer=dbmail-lmtp, pri=30418, > relay=localhost.my.domain. [127.0.0.1], dsn=2.0.0, stat=Sent > > As where I have made not correctly? > -- ________________________________________________________________ Paul Stevens paul at nfg.nl NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31 The Netherlands________________________________http://www.nfg.nl _______________________________________________ DBmail mailing list [email protected] http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
