Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Exim problems: mail -s doesn't work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
spline
n00b
n00b


Joined: 27 Nov 2003
Posts: 13

PostPosted: Tue Feb 17, 2004 8:54 am    Post subject: Exim problems: mail -s doesn't work Reply with quote

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
View user's profile Send private message
Janne Pikkarainen
Veteran
Veteran


Joined: 29 Jul 2003
Posts: 1143
Location: Helsinki, Finland

PostPosted: Tue Feb 17, 2004 9:00 am    Post subject: Reply with quote

Maybe the mail command exim bundles isn't the standard mail we all know and love? :wink: 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
View user's profile Send private message
spline
n00b
n00b


Joined: 27 Nov 2003
Posts: 13

PostPosted: Tue Feb 17, 2004 9:02 am    Post subject: Reply with quote

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
View user's profile Send private message
Janne Pikkarainen
Veteran
Veteran


Joined: 29 Jul 2003
Posts: 1143
Location: Helsinki, Finland

PostPosted: Tue Feb 17, 2004 9:04 am    Post subject: Reply with quote

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
View user's profile Send private message
spline
n00b
n00b


Joined: 27 Nov 2003
Posts: 13

PostPosted: Tue Feb 17, 2004 9:12 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum