* sendmail and symbolic links
@ 1998-05-05 4:00 Edouard Lauer at P & T
1998-05-06 4:00 ` Per Hedeland
0 siblings, 1 reply; 2+ messages in thread
From: Edouard Lauer at P & T @ 1998-05-05 4:00 UTC (permalink / raw)
Hello,
we've installed DU4.0B with the base sendmail utility coming on the OS.
Our mail spool file
for the users is a symbolic link to the real file who resides on an
other disk thus in order to
have the same mail files when our system crashes and there is a
fail-over of the disks on another
system.
i.e /usr/spool/mail/e4901 is a symbolic link to /PROD/users/mail/e4901
Problem is that sendmail apparently doesn't handle this because we
receive following error msg when
typing the command mailx -v -s "Test" e4901 < /etc/motd :
e4901... Connecting to (local) ...
binmail: /usr/spool/mail/e4901 has more than one link or is a
symbolic link
Mail saved in dead.letter
e4901... Service unavailable
Does someone know how to configure sendmail to handle this properly?
Please send also a copy of the answer (if one) as e-mail.
Many thanks in advance,
Edi Lauer
elauer@pt.lu
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: sendmail and symbolic links
1998-05-05 4:00 sendmail and symbolic links Edouard Lauer at P & T
@ 1998-05-06 4:00 ` Per Hedeland
0 siblings, 0 replies; 2+ messages in thread
From: Per Hedeland @ 1998-05-06 4:00 UTC (permalink / raw)
In article <354E72D5.277D0975@pt.lu> Edouard Lauer at P & T
<elauer@pt.lu> writes:
>i.e /usr/spool/mail/e4901 is a symbolic link to /PROD/users/mail/e4901
>
>Problem is that sendmail apparently doesn't handle this
Correct, sendmail doesn't handle this - it has nothing to do with user
mailboxes.
> binmail: /usr/spool/mail/e4901 has more than one link or is a
>symbolic link
As you can see, the complaint comes from a program that calls itself
"binmail" - presumably that's /bin/mail on your system; in any case it's
the mail delivery agent specified in the Mlocal definition in your
sendmail.cf.
It probably has good cause to complain, as it is probably setuid-root,
and following a symlink, that might have been created by a malicious
user, when writing the mail would probably be a very bad idea.
You may have better luck making a symlink from /usr/spool/mail to
/PROD/users/mail, or perhaps better still mounting /usr/spool/mail
wherever you want it.
>Please send also a copy of the answer (if one) as e-mail.
OK.
--Per Hedeland
per@erix.ericsson.se
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-05-06 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-05 4:00 sendmail and symbolic links Edouard Lauer at P & T
1998-05-06 4:00 ` Per Hedeland
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox