Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44231 - mgetty fax notification mails are broken
Summary: mgetty fax notification mails are broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-10 03:48 UTC by Frank Cringle
Modified: 2004-05-06 23:36 UTC (History)
0 users

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 Frank Cringle 2004-03-10 03:48:20 UTC
The mgetty-1.1.30.ebuild should set ECHO to "echo -e" in the Makefile after unpacking.  The value is used in fax/faxrunq to build mail notifications and needs the -e flag when run by bash.

Reproducible: Always
Steps to Reproduce:
1. Send a fax
2. Expect a sucess or failure mail
3. Empty mail arrives.  Content is hidden in the headers.

Actual Results:  
Figure out reason for failure.  File a bug report.

Expected Results:  
Worked correctly.

diff -u /usr/portage/net-dialup/mgetty/mgetty-1.1.30.ebuild
/usr/local/portage/net-dialup/mgetty/mgetty-1.1.30.ebuild
--- /usr/portage/net-dialup/mgetty/mgetty-1.1.30.ebuild 2004-02-18
13:10:16.000000000 +0100
+++ /usr/local/portage/net-dialup/mgetty/mgetty-1.1.30.ebuild   2004-03-10
12:14:47.235791285 +0100
@@ -38,6 +38,7 @@
                -e 's:\(\#define FAX_NOTIFY_PROGRAM\).*:\1
"/etc/mgetty+sendfax/new_fax":' \
                policy.h-dist > policy.h
        sed -i -e "s:phone_group phone:phone_group fax:g" voice/voice.conf-dist
+       sed -i 's:ECHO="echo":ECHO="echo -e":' Makefile
 }
 
 src_compile() {
Comment 1 Joe Stroller 2004-03-29 09:17:08 UTC
Hmmmn... I'm not getting notification emails when faxes are received.
The source says:
    #define MAIL_TO         "faxadmin"
I have added faxadmin to Postfix's /etc/mail/aliases & mail to other aliases works fine

Could this  be he reason..?

Oh! And hello, nerdboy. LTNS   8-D. Belated congrats on becoming a dev.
Comment 2 Steve Arnold archtester gentoo-dev 2004-05-06 23:36:28 UTC
Fix in portage: mgetty-1.1.30-r1.ebuild.