Hello,
Am Freitag, 7. Juni 2013 schrieb Yannik Sembritzki:
> using hash:/etc/aliases it was possible to pipe mail to a script like
> this: 'log: "|/usr/share/mail2log.sh"'.
>
> Is this also possible with postfixadmin?
Postfix doesn't allow pipe targets in MySQL maps for security reasons,
therefore: no, that's not possible.
The usual way to do this is:
- create an alias in PostfixAdmin that points to
lo...@yo... (where "yourlocaldomain.com" is a domain
that is listed in "mydestination" in main.cf, _not_ in PostfixAdmin)
- add the "log: ..." line to /etc/aliases
In theory you can also add a textfile-based map to virtual_alias_maps
(pipe targets are allowed in this file), but this might be confusing
because you won't see this alias in PostfixAdmin.
Regards,
Christian Boltz
--
> Naja das ist hier ziehmlich OT aber ich werde
> trotzdem mal meinen Senf hinzufügen.
Senf? Beleidige nicht diese tolle Gewürzpaste, ja. ;-)
[> "mrgates" und Matthias Houdek in suse-linux]
|