Re: [exim] Exim setup for dbmail

Pàgina inicial
Delete this message
Reply to this message
Autor: Odhiambo G. Washington
Data:  
A: Mathieu CATTIN
CC: exim-users
Assumpte: Re: [exim] Exim setup for dbmail
* Mathieu CATTIN <webmaster@???> [20050505 16:26]: wrote:
> Hello,
> I would like to know if it is possible to use dbmail ( http://www.dbmail.org/)
> with exim and if somebody can point me in the direction on how to
> configure exim the right way for this. Basically I want to use Mysql
> to store mails. Dbmail is capable of redirecting the mails via a
> called program in a database, I just didn't figure out the right
> transport/router to do it. Then I will use dbmail to retrieve the
> mails with a MUA via pop3 or IMAP ( dbmail accepts both with dbmail-pop3
> and dbmail-imap which I already compiled and tested and seems to
> work). Specifications of my server :
> - Linux slackware (FREESCO v0.3.4 http://www.freesco.org)
> - Exim 4.50 (MTA)
> - Mysql 4.1.7
> - DBmail 2.0.4


Yes, it is possible to run Exim and dbmail. I know people who are
running it and I am only wondering why google has not indexed all
those howtos out there ;-)
I don't run dbmail because I am not excited about storing e-mails
in a database, and btw, I find dbmail too complicated for handling
multiple domains.

Here are some tips from my archives. The rest you can ask from
dbmail-users, yes?


# The obvious lines - host/database/username/pass
hide mysql_servers = localhost::3306/dbmail/username/password

router:
dbmail_aliases:
driver = accept
condition = ${lookup mysql {select alias from dbmail_aliases where alias='${quote_mysql:$local_part@$domain}'}}
transport = dbmail_transport

transport:
dbmail_transport:
driver = pipe
command = "/usr/local/sbin/dbmail-smtp -d $local_part@$domain"
return_fail_output
user = dbmail



        cheers
       - wash 
+----------------------------------+-----------------------------------------+
Odhiambo Washington                    . WANANCHI ONLINE LTD (Nairobi, KE)  |
wash () WANANCHI ! com            . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223            . # 10286, 00100 NAIROBI             |
GSM: (+254) 733 744 121            . (+254) 020 313 985 - 9             |
+---------------------------------+------------------------------------------+
"Oh My God! They killed init! You Bastards!"  
                         --from a /. post