Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Postfix webserver setup?

2 views
Skip to first unread message

nikolas.h...@googlemail.com

unread,
May 14, 2009, 8:23:54 AM5/14/09
to
Hi,

i am currently wrapping my head arround a postfix webserver setup.

The following issues should be covered:
The webserver is running several vhosts each is potential mail sender
(E.g. online shops, contacts form etc).

I would like the postmaster beeing informed if something wents wrong.
( E.g during a website is trying to send a mail, bouncing etc).

I would like the system andminstrator beeing informed about anything
happening on the webserver mashine (i.e root mails etc).

Postmaster/adminstrator mailboxing are resisting on foreign mail
system.
I would like to catch any mail send to a "unknow local
recipient" (e.g. send by a script/deamon or similar) and forward it
to to postmaster .

The webserver mashine itself should not receive any mail from the
external world.

Did i miss something?

Sample:
Webservers name: foo.bar.com
postmasters email: j...@bar.com
admins email: ja...@bar.com

This is my current setup

main.cf:
--
myorigin = $mydomain #bar.com since the webserver isnt running an
external smtpd
inet_interfaces = loopback-only
local_transport = error:local delivery is disabled
alias_maps = hash:/etc/aliases # just to get rid of that NIS warning
virtual_alias_maps = hash:/etc/postfix/virtual

virtual:
---
ro...@foo.bar j...@foo.bar
postm...@foo.bar ja...@foo.bar


This solutions seems a little odd to me so any would beappreciated :)
Bye,
Nikolas

0 new messages