Gentoo Archives: gentoo-user

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