File: FAQ

package info (click to toggle)
renattach 1.1.1-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 144 kB
  • ctags: 45
  • sloc: ansic: 694; sh: 209; makefile: 62
file content (20 lines) | stat: -rw-r--r-- 739 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[Q] renattach doesn't work! Mail bounces.
[A] System logs (and www.google.com/linux) are your friends! ;)

> "|/usr/sbin/renattach -b"
>     (reason: 550 Unsafe for mailing to programs)
>     (expanded from: username)

For some reason sendmail has decided that it doesn't want to allow
this. There are a few possible reasons:

- Permissions on .forward might be too loose. Try
chmod 640 .forward

- sendmail restricted shell (smrsh). This is mentioned in the
renattach manpage

Edit sendmail.cf and look for the line that refers to the restricted shell.
Try searching for "restricted shell" and "smrsh". The renattach executable
has to be placed in this directory, it might be /usr/libexec/smrsh or 
/etc/smrsh from what I've seen so far.