🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: demon.tech.unix
3 messages
3 total messages Started by Chris Calvey Wed, 12 Jul 2000 00:00
sendmail & mail forward question
#231
Author: Chris Calvey
Date: Wed, 12 Jul 2000 00:00
6 lines
848 bytes
I hope the following is not off topic here, but can
anyone help?

I've just upgraded from RedHat 5.2 to 6.2 and have noticed
that all my user .forward files refuse to work. The mail
sent the these user's is bounced with a message similar to:-
Re: sendmail & mail forward question
#232
Author: Richard Senior
Date: Thu, 13 Jul 2000 00:00
33 lines
1872 bytes
In article <HlqagAAiPPb5EwXG@enigmathica.demon.co.uk>,
	Chris Calvey <nobody@enigmathica.demon.co.uk> writes:

> I've just upgraded from RedHat 5.2 to 6.2 and have noticed
> that all my user .forward files refuse to work. The mail
> sent the these user's is bounced with a message similar to:-

[snip]

> I gather that it must be some security feature of sendmail but
> I've not been able to find out what. Can anyone offer any
> advice?

Later versions of sendmail use the Sendmail Restricted Shell (smrsh) for
internal shell operations and this doesn't allow redirection, as this
little test shows:

root-# /usr/sbin/smrsh -c 'cat /etc/sendmail.cf > ~/temp.txt'
/usr/sbin/smrsh: cannot use > in command

You should be able to solve this by recompiling your sendmail.cf from the
M4 source without FEATURE(`smrsh').

When I did the same upgrade I ran into problems because relaying is denied
by default. This is clearly a good thing and prompted me to set up proper
restrictions but it's something you might like to keep in mind if you have
more problems.

-- 
Regards,

Richard Senior
Mill Dam Consulting Limited
Re: sendmail & mail forward question
#235
Author: Andrew Gierth
Date: Sat, 15 Jul 2000 00:00
14 lines
1093 bytes
>>>>> "James" == James R Grinter <jrg@blodwen.demon.co.uk> writes:

 > Chris Calvey <nobody@enigmathica.demon.co.uk> writes:
 >> "|cat > mymail.txt"

 James> Seeing this has brought to mind a question - does Sendmail
 James> guarantee to run deliveries to commands one at a time

no

procmail is useful in such cases

-- 
Andrew.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads