strange mail behavior

strange mail behavior

am 01.07.2010 19:05:41 von Yuri Csapo

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all, I have a number of identical virtual Linux machines (All RedHat Enterprise AS release 4
(Nahant Update 8)) and on one of them, invoking the 'mail' command generates an error, although the
command itself gets executed correctly. This is what I mean:

[root@overlook mail]# ls|mail -s "test" ycsapo@mines.edu
Unknown command: ""

But I do receive the message. To compare, here's the same thing on one of the other boxes:

[root@trailhead ycsapo]# ls|mail -s "test" ycsapo@mines.edu
Null message body; hope that's ok

And I also receive the message. By the way, I see the same thing even if I invoke mail all by itself
with no params.

I can't find a difference in configuration between the boxes. Any ideas where to look?

Thanks

Yuri

- --
Yuri Csapo
Academic Computing & Networking
Colorado School of Mines
CT-256
Phone: (303) 273-3503
Fax: (303) 273-3475
Email: ycsapo@mines.edu

Please use the following link to open a service request:
http://helpdesk.mines.edu
===========================================
The idea that an arbitrary human should be able to properly use a given tool
without training or understanding is even more wrong for computing than it is
for other tools (e.g. automobiles, airplanes, guns, power saws).
- -- Doug Gwyn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMLMrlAAoJEKIAUGoymiHAbGUIALMn0EhBI+bKkZzbInE6 zNWa
WhewuJ3LmuYVGgbiYRbKXeGUEqUbtzBhO46pUU9GwVwHTAMNm5f+VwXX16qN UZv0
iXMvNSdpQxT75YAXbue2pbyjq+ti982KJnxjhFeM+QUhA/F3hfKl8058hZFx ue0c
KaPDyLSUm+R9UjXD4nTmxWX4PhX4eH7X+azpHrNzxI2gCwM2utzV5+zpVvTQ HFiE
y9lB3tU4FMpJ1yTqsmMa9uYCf+PjQspSMjIqV+QIPO9zl9/KaxVKNm15yi3G N6ep
x4nHOAFoxX7R4Ztgsvfrv+jRE+ZJX1doGNwyhEy1P0zwI8juRVpvV3AphX2H Ibs=
=3JiJ
-----END PGP SIGNATURE-----
--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: strange mail behavior

am 01.07.2010 20:47:05 von nmaupu

Hi,

Does /var/log/mail.log say something useful ?

--
Nicolas Maupu


On Thu, Jul 1, 2010 at 19:05, Yuri Csapo wr=
ote:
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-admin=
" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at =A0http://vger.kernel.org/majordomo-info.html



--
Nicolas Maupu
Groupe Excilys
10-10 bis rue de Fontenay
92340 Bourg La Reine

T=E9l :+33 (0) 1 41 87 99 87
=46ax:+33 (0) 1 47 40 03 41
--
To unsubscribe from this list: send the line "unsubscribe linux-admin" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: strange mail behavior

am 01.07.2010 21:16:07 von Marshall Lake

> [root@overlook mail]# ls|mail -s "test" ycsapo@mines.edu
> Unknown command: ""

Do you have either a ~/.mailrc file or a /etc/mail.rc file containing an
error?

--
Marshall Lake -- mlake@mlake.net -- http://mlake.net
--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: strange mail behavior

am 01.07.2010 21:33:40 von Yuri Csapo

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marshall, that did it! Somehow my /etc/mail.rc ended up replaced by a tarball of /etc/mail. I bet
it's autocompletion playing its tricks again...

Problem solved, thanks!

Yuri

On 7/1/10 1:16 PM, Marshall Lake wrote:
>
>> [root@overlook mail]# ls|mail -s "test" ycsapo@mines.edu
>> Unknown command: ""
>
> Do you have either a ~/.mailrc file or a /etc/mail.rc file containing an
> error?
>

- --
Yuri Csapo
Academic Computing & Networking
Colorado School of Mines
CT-256
Phone: (303) 273-3503
Fax: (303) 273-3475
Email: ycsapo@mines.edu

Please use the following link to open a service request:
http://helpdesk.mines.edu
===========================================
The idea that an arbitrary human should be able to properly use a given tool
without training or understanding is even more wrong for computing than it is
for other tools (e.g. automobiles, airplanes, guns, power saws).
- -- Doug Gwyn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMLO2UAAoJEKIAUGoymiHAM5sH/iQv4BaSg1lYQ+VZYZrL rTJy
lJgJ+VNukUiDRbRXCQs8b6vxdmksd0ZFq/cRKWDafKx8VaGusHLqvmMBgNbB 56MX
jkB4sXuFm5AhizJUczV0A6o3pNruqwoFizQ+lyfVpQOV8t10nYpCbjzgYTU5 uthg
8yrrCJvIt5WD8hWSRtQ205twCXrGWw2RSer9iRBel0wMbNXyx9645Z7K27nc 7JAd
2DgrAJIvmkLvJP436ez0MoL6l9xA4/6Ymc9QN21h37Q4e3XBF1Lol/CT8h83 GSxg
KPqLT3eZwSOnjIZ+Gyv1tV/HrRb5CJQJgimRpb9NTuUTOFESrsnvcSIQNTFP KIw=
=aSr1
-----END PGP SIGNATURE-----
--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html