Article View: cu.decstation.managers
Article #91SUMMARY: Replacement for /usr/bin/mail ...
From: Thomas Leitner
Date: Wed, 20 Jan 1999 00:00
Date: Wed, 20 Jan 1999 00:00
51 lines
3125 bytes
3125 bytes
Hi,
Well: I took the easy route and kept /usr/bin/mail. Instead I've just
modified the majordomo username in /etc/passwd to be "majordom" and thus
avoid the /bin/mail message about the username being longer than 8 chars.
Thanks to Andre Springer <Andre.Springer@netmanagement.net> for pointing
me to the "deliver" Program which can be used as a drop in replacement
for /bin/mail. Fortunately I found an easier solution as the "deliver"
sources I found on the net, had no Ultrix support.
// Tom
Here's my original posting:
On Wed, 20 Jan 1999, Thomas Leitner wrote:
> I'm currently setting up a MajorDomo Mailing List on our Ultrix 4.4 Mail
> Server and I've tracked down a weird mail delivery problem to
> /usr/bin/mail. The problem is that the list-owner is not getting any
> e-mail from the list, even though sendmail 8.9.2 reports that the e-mail
> has successfully been sent.
>
> The command invoked by sendmail to send the local mail is:
>
> # /usr/bin/mail -r owner@opera.tu-graz.ac.at -d tom
>
> When this is started as root, mail is delivered correctly.
>
> However, when this is started as user "majordomo", I get:
>
> mail: unexpected username length, greater than 8 characters
>
> This is the reason for the majordomo list mail delivery to fail.
>
> So my question: Is there a /usr/bin/mail drop in replacement for the stock
> Ultrix 4.4 /usr/bin/mail command? I know of programs like "procmail" etc.
> but this is an overkill for me by far as everything else works flawlessly.
--
--------------------------------------------------------------------------
T o m L e i t n e r Dept. of Communications
Graz University of Technology,
e-mail : tom@radar.tu-graz.ac.at Inffeldgasse 12
Phone : +43-316-873-7455 A-8010 Graz / Austria / Europe
Fax : +43-316-463-697
Home page : http://wiis.tu-graz.ac.at/people/tom.html
PGP public key on : ftp://wiis.tu-graz.ac.at/pgp-keys/tom.asc or send
mail with subject "get Thomas Leitner" to pgp-public-keys@keys.pgp.net
--------------------------------------------------------------------------
Before we have the paperless office, we have the paperless toilet!
Technical Details
Message-ID:
<916838610.14012@news.Colorado.EDU>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<Pine.OSF.4.05.9901201349330.4816-100000@finwal01.tu-graz.ac.at>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1065d6,f74389022d737017,start X-Google-Attributes: gid1065d6,public From: Thomas Leitner <tom@radar.tu-graz.ac.at> Subject: SUMMARY: Replacement for /usr/bin/mail ... Date: 1999/01/20 Message-ID: <916838610.14012@news.Colorado.EDU> X-Deja-AN: 434800330 Distribution: cu Sender: daemon@lace.colorado.edu References: <Pine.OSF.4.05.9901201349330.4816-100000@finwal01.tu-graz.ac.at> Delivered-To: decstation-managers@sws1.ctd.ornl.gov X-Sender: tom@finwal01.tu-graz.ac.at Followup-To: poster Content-Type: TEXT/PLAIN; charset=US-ASCII X-Note1: message-id generated by recnews X-Note2: mail msgid was <Pine.OSF.4.05.9901201420020.4816-100000@finwal01.tu-graz.ac.at> Organization: University of Colorado at Boulder Mime-Version: 1.0 Newsgroups: cu.decstation.managers