michael-08
New Member
Hallo, kennt jemand Tutorials, Anleitungen für nullmailer oder kennt sich damit aus? Oder gibt es alternativen zu nullmailer?
Install Nullmailer
hostname ~ # emerge nullmailer -va
This may pull in sys-process/supervise-scripts (or, you can emerge it manually), which will then require:
hostname ~ # rc-update add svscan default
hostname ~ # ln -fs /var/nullmailer/service /service/nullmailer
Note: you may have to create the /service directory first, by hand...
and
hostname ~ # /etc/init.d/svscan start
Configuration
Edit the following files to configure the machine to send mail to our mailing server (Bismarck).
/etc/nullmailer/adminaddr
[email protected]
/etc/nullmailer/defaultdomain
iat.sfu.ca
/etc/nullmailer/me
$hostname.iat.sfu.ca
/etc/nullmailer/remotes
bismarck.iat.sfu.ca smtp
Status
hostname ~ # mailq
Testing
(note: you may have to emerge mailx to get the mail command)
Send a message to root, then wait a brief moment for it to be picked up and sent onwards.
hostname ~ # mail -s "this is a nullmailer test" root
Type your message, complete it with a ctrl-D + Enter
Vermutlich, weil du weder Gentoo Linux einsetzt, noch die daemontools und supervise-scripts installiert hast...Aber mir fehlen schon Ordner die in diesem Beispiel angeführt sind!