strange mail behavior
-----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" [email protected] 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" [email protected] 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: [email protected]
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+bKkZzbInE6zNWa WhewuJ3LmuYVGgbiYRbKXeGUEqUbtzBhO46pUU9GwVwHTAMNm5f+VwXX16qNUZv0 iXMvNSdpQxT75YAXbue2pbyjq+ti982KJnxjhFeM+QUhA/F3hfKl8058hZFxue0c KaPDyLSUm+R9UjXD4nTmxWX4PhX4eH7X+azpHrNzxI2gCwM2utzV5+zpVvTQHFiE y9lB3tU4FMpJ1yTqsmMa9uYCf+PjQspSMjIqV+QIPO9zl9/KaxVKNm15yi3GN6ep x4nHOAFoxX7R4Ztgsvfrv+jRE+ZJX1doGNwyhEy1P0zwI8juRVpvV3AphX2HIbs= =3JiJ
-----END PGP SIGNATURE-----
Hi,
Does /var/log/mail.log say something useful ?
--
Nicolas Maupu
Quoted 5 lines · Yuri Csapo
--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Nicolas Maupu
Groupe Excilys
10-10 bis rue de Fontenay
92340 Bourg La Reine
Tél :+33 (0) 1 41 87 99 87
Fax:+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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 3 lines
[root@overlook mail]# ls|mail -s "test" [email protected] Unknown command: ""
Do you have either a ~/.mailrc file or a /etc/mail.rc file containing an error?
Signature · 1 line
Marshall Lake -- [email protected] -- http://mlake.net
-----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
Quoted 7 lines · Marshall Lake
Quoted 3 lines
[root@overlook mail]# ls|mail -s "test" [email protected] Unknown command: ""
Do you have either a ~/.mailrc file or a
/etc/mail.rcfile containing an error?
- --
Yuri Csapo
Academic Computing & Networking
Colorado School of Mines
CT-256
Phone: (303) 273-3503 Fax: (303) 273-3475 Email: [email protected]
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+VZYZrLrTJy lJgJ+VNukUiDRbRXCQs8b6vxdmksd0ZFq/cRKWDafKx8VaGusHLqvmMBgNbB56MX jkB4sXuFm5AhizJUczV0A6o3pNruqwoFizQ+lyfVpQOV8t10nYpCbjzgYTU5uthg 8yrrCJvIt5WD8hWSRtQ205twCXrGWw2RSer9iRBel0wMbNXyx9645Z7K27nc7JAd 2DgrAJIvmkLvJP436ez0MoL6l9xA4/6Ymc9QN21h37Q4e3XBF1Lol/CT8h83GSxg KPqLT3eZwSOnjIZ+Gyv1tV/HrRb5CJQJgimRpb9NTuUTOFESrsnvcSIQNTFPKIw= =aSr1
-----END PGP SIGNATURE-----