From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,fc2c223731210536 X-Google-Attributes: gidfee84,public X-Google-Thread: 10de99,fc2c223731210536 X-Google-Attributes: gid10de99,public From: per@erix.ericsson.se (Per Hedeland) Subject: Re: sendmail and symbolic links Date: 1998/05/06 Message-ID: <6iqoi8$j8g$1@news.du.etx.ericsson.se>#1/1 X-Deja-AN: 350918626 References: <354E72D5.277D0975@pt.lu> Organization: Ericsson Telecom, Stockholm, Sweden NNTP-Posting-User: per Newsgroups: comp.mail.sendmail,comp.unix.osf.osf1 In article <354E72D5.277D0975@pt.lu> Edouard Lauer at P & T 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