NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Postfix and local mail redirection



Sad Clouds <cryintothebluesky%gmail.com@localhost> wrote:

> Does anyone who uses Postfix perform local mail redirection to a
> central mail hub? If yes, can you suggest what settings you use?
>
> Specifically, I'm interested in this scenario:
>
> By default each NetBSD install is configured to deliver local mail
> to /var/mail. Most of it is daily/weekly scripts, uptime and
> performance metrics, etc. I would like to change that and instead
> redirect all local mail from multiple machines to a central mail hub.
>
> There is a specific account, e.g. admin%example.com@localhost which receives such
> mail and monitors any issues on a daily basis. The problem is, sending
> mail to this account requires SASL authentication. I've been looking at
> Postfix SASL documentation and it looks like it may be possible to make
> it work with "smtp_sasl_password_maps = ..." in main.cf.
>
> Has anyone done this before? Is this a good way to consolidate local
> mail from different machines or is there something better? I was
> thinking of copying logs via ssh to a central storage, but email may
> work better with multiple admin people monitoring from different
> devices, e.g. laptop, desktop, phone, etc. All that is required is an
> IMAP client on each device.
>
> PS. I'm not subscribed to this list, please CC me if you decide to
> reply.

Take a look at this tutorial:

https://wiki.sdf.org/doku.php?id=postfix_mta_on_netbsd_6.x

It's for an earlier version of NetBSD but should still work.  It's
written for SDF users (the main SDF servers run NetBSD) but I think
you should be able to glean the pertinent bits.

-B


Home | Main Index | Thread Index | Old Index