Paul J Stevens wrote: > > 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? > >
Oh! Thanks. Here is my decision on this matter: OSTYPE(freebsd6) DOMAIN(generic) MASQUERADE_AS(`mydomain.ru')dnl FEATURE(access_db, `hash -o -T<TMPF> /etc/mail/access')dnl FEATURE(local_lmtp)dnl FEATURE(mailertable, `hash -o /etc/mail/mailertable')dnl DAEMON_OPTIONS(`Name=IPv4, Family=inet')dnl define(`LOCAL_RELAY', `dbmail-lmtp:dbmail.mydomain.ru')dnl LOCAL_USER_FILE(`/etc/mail/localusers')dnl MAILER(local)dnl MAILER(smtp)dnl MAILER(`dbmail-lmtp')dnl Then email to [email protected] is get dbmail :) Flag "5" from dbmail-lmtp.m4 should be removed. And email alias is [email protected] There is the list of users which will receive mail locally (/var/mail) in the file /etc/mail/localusers. -- View this message in context: http://old.nabble.com/dbmail%2Bsendmail%2C-LDA-dbmail-lmtp-not-working%21-tp30538656p30545394.html Sent from the dbmail users mailing list archive at Nabble.com. _______________________________________________ DBmail mailing list [email protected] http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
