View previous topic :: View next topic |
Author |
Message |
spline n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Nov 2003 Posts: 13
|
Posted: Tue Feb 17, 2004 8:54 am Post subject: Exim problems: mail -s doesn't work |
|
|
Hi,
i tried to set up exim as MTA.
When I try to send a simple mail with the command
mail -s "bla" root
I get the error message:
exim abandoned: unknown, malformed, or incomplete option -s
Details:
>which mail
/usr/bin/mail
>ls -l /usr/bin/mail
/usr/bin/mail -> ../sbin/exim
What's going wrong?
Regards
spline |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Janne Pikkarainen Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/10433783463f526aba4144d.jpg)
Joined: 29 Jul 2003 Posts: 1143 Location: Helsinki, Finland
|
Posted: Tue Feb 17, 2004 9:00 am Post subject: |
|
|
Maybe the mail command exim bundles isn't the standard mail we all know and love? If you write "mail --help" (or some other gibberish, --help isn't actually an option...), does it return Code: | mail: invalid option -- -
Usage: mail [-iInv] [-s subject] [-c cc-addr] [-b bcc-addr] to-addr ...
[- sendmail-options ...]
mail [-iInNv] -f [name]
mail [-iInNv] [-u user]
|
_________________ Yes, I'm the man. Now it's your turn to decide if I meant "Yes, I'm the male." or "Yes, I am the Unix Manual Page.". |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
spline n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Nov 2003 Posts: 13
|
Posted: Tue Feb 17, 2004 9:02 am Post subject: |
|
|
Hi,
here is the result:
Code: |
>mail
Exim is a Mail Transfer Agent. It is normally called by Mail User Agents,
not directly from a shell command line. Options and/or arguments control
what it does when called. For a list of options, see the Exim documentation. |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Janne Pikkarainen Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/10433783463f526aba4144d.jpg)
Joined: 29 Jul 2003 Posts: 1143 Location: Helsinki, Finland
|
Posted: Tue Feb 17, 2004 9:04 am Post subject: |
|
|
Well that explains a lot. Read the exim documentation, it should tell you what options are available to its mail. If it isn't supposed to work like the traditional mail, then you'll have to figure out if you can still emerge mailx without destroying your exim installation. _________________ Yes, I'm the man. Now it's your turn to decide if I meant "Yes, I'm the male." or "Yes, I am the Unix Manual Page.". |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
spline n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Nov 2003 Posts: 13
|
Posted: Tue Feb 17, 2004 9:12 am Post subject: |
|
|
Thank you Janne,
now i will emerge mailx and try to fix things up.
I had a - short - look into the exim man page but didn't find the answer.
So mailx will hopefully do the right things.
spline |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|