To receive local root email to an externally monitored email address:
-
Login to plesk control panel and set the admin contact email address for the server which should update "/var/qmail/alias/.qmail-root"
Either add the hostname (FQDN) to the qmail control locals file or to the virtualdomains file located in "/var/qmail/control/".
Also add the hostname (FQDN) to the "/var/qmail/control/rcpthosts"
Restart inetd and qmail:
/etc/init.d/inetd restart
/etc/init.d/qmail restart
/var/qmail/bin/qmail-showctl
This should show:
...
locals:
...
Messages for host.domain.tl are delivered locally.
...
rcpthosts:
...
SMTP clients may send messages to recipients at host.domain.tld.
...
- sandip's blog
- Login or register to post comments