Bug 772291 - using commands in aliases doesn't work
Summary: using commands in aliases doesn't work
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: sendmail
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-06 17:21 UTC by Eddie Lania
Modified: 2012-01-06 17:58 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-06 17:58:51 UTC
Type: ---


Attachments (Terms of Use)

Description Eddie Lania 2012-01-06 17:21:13 UTC
Description of problem: I am trying to make sendmail extract attachments from mail for a specific purpose.

I added a line to /etc/aliases:

emailorder: |"/usr/bin/ripmime -i - --mailbox -d /mnt/data/emailorder"

 and ran "newaliases" afterwards.

The program /usr/bin/ripmime is symlinked to /etc/smrsh/ripmime

When a message for "emailoder" arrives, the command seems to work an no error is reported in /var/logmaillog or /var/log/messages.
I also see no selinux denials.

However, nothing is being written to /mnt/data/emailorder.

When i manually pipe an email message containing an attachment through the same command everything works as aspected.

I also tried other programs as commands in /etc/aliases but none of them work while they manually all do their job fine.


Version-Release number of selected component (if applicable):

sendmail-8.14.5-11.fc16.i686


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Eddie Lania 2012-01-06 17:58:51 UTC
Sorry, i already found it: it was a permissions problem.


Note You need to log in before you can comment on or make changes to this bug.