7 messages in net.sourceforge.lists.courier-usersRe: [courier-users] GNU mailutils /us...
FromSent OnAttachments
Jesse MolinaJun 22, 2007 12:39 am 
Stefan HornburgJun 22, 2007 12:59 am 
Alessandro VeselyJun 22, 2007 1:00 am 
Jesse MolinaJun 22, 2007 1:55 pm 
Jesse MolinaJun 22, 2007 1:56 pm 
Jérôme BlionJun 22, 2007 5:34 pm 
Jesse MolinaJun 23, 2007 12:00 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] GNU mailutils /usr/bin/mail can't send mail from root with courier-mta on DebianActions...
From:Jesse Molina (jes@opendreams.net)
Date:Jun 22, 2007 1:55:40 pm
List:net.sourceforge.lists.courier-users

Thanks for the effort, but you either didn't really think about what I had written or I didn't describe my situation well enough. I'd love to be told RTFM, if only I thought this was something that stupid. =)

Remember that I didn't say that this was a problem sending mail TO root, but a problem with sending mail FROM root on the command line when using mailutil's mail binary.

Think of a cron job running as root and sending mail to any valid recipient. Cron jobs running as root can't send mail. Cron jobs running as any other users send mail just fine.

NEW INFO:

Doing this as root works;

echo "To: root" | /usr/sbin/sendmail"

So, this does seem to isolate the problem as communication between GNU mailutil's mail and Courier's sendmail substitute. Though, I'm not sure who is at fault.

If it wasn't for some of the bofh features such as what you mentioned below, I don't think I would suspect Courier as being the culprit here.

I would think that someone somewhere would wonder where their root cron job mail was going after not getting it. I sure am.

Alessandro Vesely wrote:

Sending mail from other users on these systems works perfectly. This is also not a problem of the MTA accepting inbound mail to the root user, as I successfully receive those mails.

check http://www.courier-mta.org/install.html#aliases