waben...@gmail.com <waben...@gmail.com> [15-05-24 03:21]: > meino.cra...@gmx.de wrote: > > > Hi, > > > > In my fcrontab file I added: > > &b(1),mailto(root) * * */14 * * /home/mccramer/bin/check.sh > > > > I would exspect to get mail each time the command is run. > > > > > > &b(1),mailto(root) */2 * * * * /home/mccramer/bin/check.sh > > > > "check.sh"'s last line is 'date' so this command prints something. > > > > I would exspect to reveive mail from fcron but: no. > > > > > > Is there something else to configure? Do I need to setup a > > complete mailserver for log mails? Do I have to create a > > fully fledge email account? > > > > Slightly confused... > > Meino > > > > You need some kind of mta. On my system, mail-mta/ssmtp does the job > for me. > > -- > Regards > wabe >
Hi wabe, sorry...forgot to mention: I am receiving mail from the internet and I am able to send mail to the internet. Installed is: [I] mail-client/mailx Available versions: 8.1.2.20050715-r6 Installed versions: 8.1.2.20050715-r6(05:08:10 09/08/12) Homepage: http://www.debian.org/ Description: The /bin/mail program, which is used to send mail via shell scripts [I] mail-client/mailx-support Available versions: 20060102-r1 Installed versions: 20060102-r1(22:47:46 09/12/10) Homepage: http://www.openbsd.org/ Description: Provides lockspool utility [I] mail-filter/procmail Available versions: 3.22-r10 {mbox selinux} Installed versions: 3.22-r10(23:42:13 09/12/10)(-mbox -selinux) Homepage: http://www.procmail.org/ Description: Mail delivery agent/filter [I] net-mail/fetchmail Available versions: 6.3.26-r2 {hesiod kerberos nls socks ssl tk PYTHON_TARGETS="python2_7"} Installed versions: 6.3.26-r2(19:33:49 11/07/14)(nls ssl tk -hesiod -kerberos -socks PYTHON_TARGETS="python2_7") Homepage: http://www.fetchmail.info/ Description: the legendary remote-mail retrieval and forwarding utility [I] net-mail/mailbase Available versions: 1 1.1 {pam} Installed versions: 1.1(18:39:22 01/16/13)(pam) Homepage: http://www.gentoo.org/ Description: MTA layout package [I] virtual/mailx Available versions: 0 1 Installed versions: 1(15:34:53 04/26/14) Description: Virtual for mail implementations [I] dev-perl/MailTools Available versions: 2.120.0-r1 Installed versions: 2.120.0-r1(13:19:53 02/14/15) Homepage: http://search.cpan.org/dist/MailTools/ Description: Manipulation of electronic mail addresses [I] mail-mta/msmtp Available versions: 1.4.31-r1 ~1.4.32 ~1.6.0 ~1.6.1 {doc gnome-keyring gnutls idn libsecret +mta nls sasl ssl vim-syntax PYTHON_TARGETS="python2_7"} Installed versions: 1.4.31-r1(19:25:19 02/11/15)(doc gnutls mta nls sasl ssl -gnome-keyring -idn -vim-syntax) Homepage: http://msmtp.sourceforge.net/ Description: An SMTP client and SMTP plugin for mail user agents such as Mutt What reasons disable fcron to send mail to me or root? Best regards, mcc