Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236371 - sys-process/dcron-3.2 doesn't send mail
Summary: sys-process/dcron-3.2 doesn't send mail
Status: RESOLVED DUPLICATE of bug 189660
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All DragonFly
: High normal (vote)
Assignee: Cron Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-01 17:36 UTC by Beppe
Modified: 2009-05-31 18:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Beppe 2008-09-01 17:36:52 UTC
cron log shows that it try to use /usr/lib/sendmail which should be /usr/sbin/sendmail.
If we define __DragonFly__ at compile time this will change to the working path.
My suggestion is to add this in the ebuild "sys-process/dcron/dcron-3.2.ebuild"
in "src_compile" funtion
src_compile() {
        append-cppflags -D_GNU_SOURCE # for asprintf()
        append-cppflags -D__DragonFly__ # for sendmail
        emake CC="$(tc-getCC)" || die
}

Regards,
Beppe

Reproducible: Always

Steps to Reproduce:
1.create a cron job :: echo -e "send this"



Actual Results:  
Look in /var/log/cron.log

Expected Results:  
mail sent
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-09-01 20:53:58 UTC
CC'ing myself here to learn more about the Gentoo/Alt "Product". :)
Comment 2 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-05-12 21:06:31 UTC
which MTA do you have this problem with?

i have ssmtp installed and it provides a symlink

$ ls -l /usr/lib/sendmail
lrwxrwxrwx 1 root root 15 2009-01-27 21:10 /usr/lib/sendmail -> /usr/sbin/ssmtp

could this be a dupe of #189660 (where exim doesnt provide the link)?

thanks 
Comment 3 Beppe 2009-05-31 18:14:50 UTC
Duplicate it is.
I'm using sendmail, feels more like a dcron issue,
Anyway symlink works fine 2!


Many thanks,
Beppe

*** This bug has been marked as a duplicate of bug 189660 ***