From: per@erix.ericsson.se (Per Hedeland)
Subject: Re: sendmail and symbolic links
Date: 1998/05/06 [thread overview]
Message-ID: <6iqoi8$j8g$1@news.du.etx.ericsson.se> (raw)
In-Reply-To: 354E72D5.277D0975@pt.lu
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
prev parent reply other threads:[~1998-05-06 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-05-05 4:00 sendmail and symbolic links Edouard Lauer at P & T
1998-05-06 4:00 ` Per Hedeland [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox