| Summary: | mgetty fax notification mails are broken | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Frank Cringle <fdc-glb> |
| Component: | New packages | Assignee: | Steve Arnold <nerdboy> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
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.
Fix in portage: mgetty-1.1.30-r1.ebuild. |
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() {