[postfix-users] [OT] Postfix und Maildrop
Hi Ihr!
Will bisschen mit maildrop rummachen ;-).
http://www.postfix.org/MAILDROP_README.html
Würde mich gemäß obigem Howto für Variante 2 entscheiden. (Da auch Systemaccounts dabei sind).
-- Indirect delivery via the local delivery agent
Postfix can be configured to deliver mail to maildrop via the local delivery agent. This is slightly less efficient than the "direct" approach discussed above, but gives you the convenience of local aliases(5) expansion and $HOME/.forward file processing. You would typically use this for domains that are listed in mydestination and that have users with a UNIX system account.
To configure maildrop delivery for all UNIX system accounts:
/etc/postfix/main.cf: mailbox_command = /path/to/maildrop -d ${USER}
Note: ${USER} is spelled in upper case.
To enable maildrop delivery for specific users only, you can use the Postfix local(8) delivery agent's mailbox_command_maps feature:
/etc/postfix/main.cf: mailbox_command_maps = hash:/etc/postfix/mailbox_commands
/etc/postfix/mailbox_commands: you /path/to/maildrop -d ${USER}
Maildrop delivery for specific users is also possible by invoking it from the user's $HOME/.forward file:
/home/you/.forward: "|/path/to/maildrop -d ${USER}" --
Mein Vorgehen wäre nun das: /etc/postfix/mailbox_commands: mhaegele /path/to/maildrop -d ${USER}
Reicht das aus, is it that simple oder hab ich was übersehen?.
mhaegele ist ein benutzer mit shellzugang ...
Pakete (debian) welches nehmen?:
hermes:~# apt-cache policy maildrop maildrop: Installiert:(keine) Mögliche Pakete:2.0.2-11 Versions-Tabelle: 2.0.4-3 0 400 ftp://ftp.debian.de lenny/main Packages 400 ftp://ftp.debian.de testing/main Packages 300 ftp://ftp.debian.de unstable/main Packages 2.0.2-11 0 900 ftp://ftp.debian.de etch/main Packages 1.5.3-1.1etch1 0 500 http://secure-testing.debian.net etch/security-updates/main Packages hermes:~# apt-cache policy courier-maildrop courier-maildrop: Installiert:(keine) Mögliche Pakete:0.53.3-5 Versions-Tabelle: 0.60.0-2 0 400 ftp://ftp.debian.de lenny/main Packages 400 ftp://ftp.debian.de testing/main Packages 300 ftp://ftp.debian.de unstable/main Packages 0.53.3-5 0 900 ftp://ftp.debian.de etch/main Packages
Pakete die drauf sind:
dpkg -l ii courier-imap 4.1.1.20060828-5 Co ii postfix 2.3.8-2+etch1 A high-performance mail transport agent
Oder nehme ich im Hinblick auf einen (späteren) geplanten umstieg auf dovecot lieber gleich sieve oder ähnliches?
Matthias Haegele schrieb:
Hi Ihr!
Will bisschen mit maildrop rummachen ;-).
http://www.postfix.org/MAILDROP_README.html
Würde mich gemäß obigem Howto für Variante 2 entscheiden. (Da auch Systemaccounts dabei sind).
-- Indirect delivery via the local delivery agent
Postfix can be configured to deliver mail to maildrop via the local delivery agent. This is slightly less efficient than the "direct" approach discussed above, but gives you the convenience of local aliases(5) expansion and $HOME/.forward file processing. You would typically use this for domains that are listed in mydestination and that have users with a UNIX system account.
To configure maildrop delivery for all UNIX system accounts:
/etc/postfix/main.cf: mailbox_command = /path/to/maildrop -d ${USER}
Note: ${USER} is spelled in upper case.
To enable maildrop delivery for specific users only, you can use the Postfix local(8) delivery agent's mailbox_command_maps feature:
/etc/postfix/main.cf: mailbox_command_maps = hash:/etc/postfix/mailbox_commands /etc/postfix/mailbox_commands: you /path/to/maildrop -d ${USER}
Maildrop delivery for specific users is also possible by invoking it from the user's $HOME/.forward file:
/home/you/.forward: "|/path/to/maildrop -d ${USER}"
--
Mein Vorgehen wäre nun das: /etc/postfix/mailbox_commands: mhaegele /path/to/maildrop -d ${USER}
Reicht das aus, is it that simple oder hab ich was übersehen?.
mhaegele ist ein benutzer mit shellzugang ...
Pakete (debian) welches nehmen?:
hermes:~# apt-cache policy maildrop maildrop: Installiert:(keine) Mögliche Pakete:2.0.2-11 Versions-Tabelle: 2.0.4-3 0 400 ftp://ftp.debian.de lenny/main Packages 400 ftp://ftp.debian.de testing/main Packages 300 ftp://ftp.debian.de unstable/main Packages 2.0.2-11 0 900 ftp://ftp.debian.de etch/main Packages 1.5.3-1.1etch1 0 500 http://secure-testing.debian.net etch/security-updates/main Packages hermes:~# apt-cache policy courier-maildrop courier-maildrop: Installiert:(keine) Mögliche Pakete:0.53.3-5 Versions-Tabelle: 0.60.0-2 0 400 ftp://ftp.debian.de lenny/main Packages 400 ftp://ftp.debian.de testing/main Packages 300 ftp://ftp.debian.de unstable/main Packages 0.53.3-5 0 900 ftp://ftp.debian.de etch/main Packages
Pakete die drauf sind:
dpkg -l ii courier-imap 4.1.1.20060828-5 Co ii postfix 2.3.8-2+etch1 A high-performance mail transport agent
Oder nehme ich im Hinblick auf einen (späteren) geplanten umstieg auf dovecot lieber gleich sieve oder ähnliches?
Also ich hab courier/maildrop und dovecot/sieve am laufen ich wuerde dir eindeutig gleich zu dovecot raten
participants (2)
-
Matthias Haegele
-
Robert Schetterer