Gentoo Archives: gentoo-user

From: Meino.Cramer@×××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Problems with "mailto" (fcrontab)
Date: Sun, 24 May 2015 01:34:29
Message-Id: 20150524013409.GA4555@solfire
In Reply to: Re: [gentoo-user] Problems with "mailto" (fcrontab) by wabenbau@gmail.com
1 wabenbau@×××××.com <wabenbau@×××××.com> [15-05-24 03:21]:
2 > Meino.Cramer@×××.de wrote:
3 >
4 > > Hi,
5 > >
6 > > In my fcrontab file I added:
7 > > &b(1),mailto(root) * * */14 * * /home/mccramer/bin/check.sh
8 > >
9 > > I would exspect to get mail each time the command is run.
10 > >
11 > >
12 > > &b(1),mailto(root) */2 * * * * /home/mccramer/bin/check.sh
13 > >
14 > > "check.sh"'s last line is 'date' so this command prints something.
15 > >
16 > > I would exspect to reveive mail from fcron but: no.
17 > >
18 > >
19 > > Is there something else to configure? Do I need to setup a
20 > > complete mailserver for log mails? Do I have to create a
21 > > fully fledge email account?
22 > >
23 > > Slightly confused...
24 > > Meino
25 > >
26 >
27 > You need some kind of mta. On my system, mail-mta/ssmtp does the job
28 > for me.
29 >
30 > --
31 > Regards
32 > wabe
33 >
34
35 Hi wabe,
36
37 sorry...forgot to mention:
38 I am receiving mail from the internet and I am able to send mail
39 to the internet.
40 Installed is:
41 [I] mail-client/mailx
42 Available versions: 8.1.2.20050715-r6
43 Installed versions: 8.1.2.20050715-r6(05:08:10 09/08/12)
44 Homepage: http://www.debian.org/
45 Description: The /bin/mail program, which is used to send mail via shell scripts
46
47 [I] mail-client/mailx-support
48 Available versions: 20060102-r1
49 Installed versions: 20060102-r1(22:47:46 09/12/10)
50 Homepage: http://www.openbsd.org/
51 Description: Provides lockspool utility
52
53 [I] mail-filter/procmail
54 Available versions: 3.22-r10 {mbox selinux}
55 Installed versions: 3.22-r10(23:42:13 09/12/10)(-mbox -selinux)
56 Homepage: http://www.procmail.org/
57 Description: Mail delivery agent/filter
58
59 [I] net-mail/fetchmail
60 Available versions: 6.3.26-r2 {hesiod kerberos nls socks ssl tk PYTHON_TARGETS="python2_7"}
61 Installed versions: 6.3.26-r2(19:33:49 11/07/14)(nls ssl tk -hesiod -kerberos -socks PYTHON_TARGETS="python2_7")
62 Homepage: http://www.fetchmail.info/
63 Description: the legendary remote-mail retrieval and forwarding utility
64
65 [I] net-mail/mailbase
66 Available versions: 1 1.1 {pam}
67 Installed versions: 1.1(18:39:22 01/16/13)(pam)
68 Homepage: http://www.gentoo.org/
69 Description: MTA layout package
70
71 [I] virtual/mailx
72 Available versions: 0 1
73 Installed versions: 1(15:34:53 04/26/14)
74 Description: Virtual for mail implementations
75
76 [I] dev-perl/MailTools
77 Available versions: 2.120.0-r1
78 Installed versions: 2.120.0-r1(13:19:53 02/14/15)
79 Homepage: http://search.cpan.org/dist/MailTools/
80 Description: Manipulation of electronic mail addresses
81
82 [I] mail-mta/msmtp
83 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"}
84 Installed versions: 1.4.31-r1(19:25:19 02/11/15)(doc gnutls mta nls sasl ssl -gnome-keyring -idn -vim-syntax)
85 Homepage: http://msmtp.sourceforge.net/
86 Description: An SMTP client and SMTP plugin for mail user agents such as Mutt
87
88 What reasons disable fcron to send mail to me or root?
89
90 Best regards,
91 mcc

Replies

Subject Author
Re: [gentoo-user] Problems with "mailto" (fcrontab) covici@××××××××××.com
Re: [gentoo-user] Problems with "mailto" (fcrontab) Walter Dnes <waltdnes@××××××××.org>