[rt-devel] overhauling the $MailCommand bit

Stanislav Sinyagin ssinyagin at yahoo.com
Mon Nov 11 17:07:05 EST 2002


That's where I made few extra loops today when installing RT on Solaris 8. 

The issues are: 

1). With default mail settings, RT doesn't send any message at 
all, with no error diagnostics. 

2). First thing that I saw in the config, was about "sendmailpipe". 
Until I looked into the code (grep sendmailpipe */*/*), it wasn't clear 
what I should change. 

3). Only after that, I found that sendmail path is invalid: it must 
be /usr/lib/sendmail, instead of in /usr/sbin. Isn't that the default 
path for most systems?

4). Finally it required masquerading, because default solaris 
sendmail.cf rewrites From: addresses into the host's name. 
This isn't RT issue, but nice to know. 

In fact, those with sendmail are the only Solaris-specific issues
that I encountered. Tomorrow I'll write a short OS note that Jesse 
can add to the installation guide.

So, first thing that I would change, is putting $SendmailPath  
to be the first mail-related config option. 
And it should be verified somehow at installation or runtime. 

Regards, 
Stan

--- seph <seph at commerceflow.com> wrote:
> The config varibles $MailCommand, $SendmailArguments, and
> $SendmailPath frequently confuse users. I was going to suggest
> re-naming them, but I'm not sure what to rename them too, and after
> staring at the code I think it needs to be tweaked a bit. 
> 
> I'm not yet sure how. Has anyone thought much about this? When I
> figure out how I think it should work, I'll send a patch, but I
> haven't figured that out yet.


__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2



More information about the Rt-devel mailing list