Archiwum wpisów - 5 lutego, 2008

Sendmail, Dovecot and passwd-like file.

wtorek, 5 lutego, 2008

Programming: Klupek Evil plan: Platyna How to use Sendmail and passwd like file (like /etc/passwd-mail)? Here it is: sendmail-pwlike-maildb.patch Next we are h4x0ring sendmail.mc: Before MAILER(local)dnl: define(`LOCAL_MAILER_PATH',`/usr/libexec/dovecot/deliver') define(`LOCAL_MAILER_FLAGS',`DFMPhfnu9') define(`LOCAL_MAILER_ARGS',`deliver -d $u') define(`confMAILBOX_DATABASE', `pwlike') # sendmail -Am -bv test@example.net test@example.net... deliverable: mailer local, user test Hooray! I tried to use mail.local and it's -D option but that program seems to be braindead (-D ...

Problems with Sendmail and Dovecot LDA.

wtorek, 5 lutego, 2008

According to http://wiki.dovecot.org/LDA/Sendmail the mailertable setup should be as follow: virtualdomain.example.com dovecot:dovecot It means: domain mailer:user Well, this setup seems to be incorrect, since you can deliver to username only using local mailer. Therefore I have used Sendmail's feature "local_procmail" to replace default local mailer with Dovecot's deliver: This is what I have configured in ...