postfix+vpopmail

Fórumok

Az érdekelne engem, hogy a postfix-et hogyan lehetne rávenni, hogy a vpopmail-es virtuális felhasználóknak kézbesítse a levelet. A vpopmail nem mysql alapú hanem a /home/vpopmail/domains könyvtárban vannak.

Egy ilyen írást találtam róla, de nem jött be.

As announced earlier, we tried to use vpopmail as postfix backend.

There is a easy working 2 step solution.

First you have to enter the following line in the postfix master.cf:

vdelivermail unix - n n - - pipe
flags=R user=qmailq argv=/var/qmail/bin/sendmail ${recipient}

(Pay attention to use the path to qmail's sendmail!)

Second edit the main.cf and enter:

fallback_transport = vdelivermail

Don't forget a "postfix reload"! This way you can still use postfix and /etc/password as "fallback_transport" is only valid for accounts that could be not handled by postfix.

I guest this solution is a little bit oversized since it should be possible to call qmail-local instead of the sendmail emulation, but therefor it becomes neccessary to write a wrapper to map the interaction.

Úgy is próbáltam, hogy azt a részt kivettem a main.cf fájlból ami a mysql adatbázisból vette a felhasználókat. De akkor meg csatlakozni akart ahoz a domain-hez amit megadtam. Esze ágába sem volt a postfix-nek, hogy localhostot kézbesítse.
Valaki csinált már ilyet? Vagy van valami hasznos ötlet?

Hozzászólások

Ötlet, hogy egy ilyet hogyan lehet megoldani?