Hello
When I try to send a local mail to root:
mutt -x root
I get an error (in german I try to translate):
Error 1 on sending mail ()
I know there is change in the path of the config in /etc
So I did:
mv /etc/mailer.conf /etc/mail/mailer.conf
then I tried:
root # newaliases
mailwrapper: cannot exec /usr/sbin/sendmail.postfix: No such file or
directory
root # cat /etc/mail/mailer.conf
sendmail /usr/sbin/sendmail.postfix
send-mail /usr/sbin/sendmail.postfix
mailq /usr/sbin/sendmail.postfix
newaliases /usr/sbin/sendmail.postfix
when I change this to:
sendmail /usr/sbin/postfix
send-mail /usr/sbin/postfix
mailq /usr/sbin/postfix
newaliases /usr/sbin/postfix
then I get:
root # newaliases
postfix/postfix-script: fatal: usage: postfix start (or stop, reload,
abort, flush, check, set-permissions, upgrade-configuration)
Do you have an idea where to look?
It seems there is no open bug for something like this.
..and an other question.
I use postfix only for my cron sending mails to root.
I guess this is a bit luxury.
Can somebody point to a doc how to setup ssmtp for this use case?
bye Thilo
--
gentoo-user@gentoo.org mailing list
When I try to send a local mail to root:
mutt -x root
I get an error (in german I try to translate):
Error 1 on sending mail ()
I know there is change in the path of the config in /etc
So I did:
mv /etc/mailer.conf /etc/mail/mailer.conf
then I tried:
root # newaliases
mailwrapper: cannot exec /usr/sbin/sendmail.postfix: No such file or
directory
root # cat /etc/mail/mailer.conf
sendmail /usr/sbin/sendmail.postfix
send-mail /usr/sbin/sendmail.postfix
mailq /usr/sbin/sendmail.postfix
newaliases /usr/sbin/sendmail.postfix
when I change this to:
sendmail /usr/sbin/postfix
send-mail /usr/sbin/postfix
mailq /usr/sbin/postfix
newaliases /usr/sbin/postfix
then I get:
root # newaliases
postfix/postfix-script: fatal: usage: postfix start (or stop, reload,
abort, flush, check, set-permissions, upgrade-configuration)
Do you have an idea where to look?
It seems there is no open bug for something like this.
..and an other question.
I use postfix only for my cron sending mails to root.
I guess this is a bit luxury.
Can somebody point to a doc how to setup ssmtp for this use case?
bye Thilo
--
gentoo-user@gentoo.org mailing list