Re: [exim] exim -t

Góra strony
Delete this message
Reply to this message
Autor: Nigel Metheringham
Data:  
Dla: 91change
CC: exim-users
Temat: Re: [exim] exim -t
[Please read the documentation - exim has extensive documentation
online at http://docs.exim.org/current/ as well as a comprehensive
book available from UIT http://www.uit.co.uk/exim-book/ . This
mailing list is *not* a substitute for the documentation]

On 27 Aug 2008, at 11:26, 91change wrote:
>
> My aim is to have script similar to below
>
> MAIL_CMD     = "/usr/bin/exim -t"
> FROM         = "bas@localhost"
> SUBJECT     = Hey, user, clean up your account!
> CC_TO         = "sysadm@localhost

>
>
> I got the above script from a sendmail configured machine , I want
> replace sendmail with exim ...


Well if thats the script I guess it never worked.

You could have something like this (after the header section you
provided):-

${MAIL_CMD} << END_OF_MESSAGE
From: ${FROM}
To: ${TO}
Subject: ${SUBJECT}

You know, I really should have put some message content here...
END_OF_MESSAGE

>>>>>>> exim -t wont connect to exim daemon
> is there any way to make it connect ?


Not really - it puts messages directly into the local queue.

> is there any MUA in exim ? or i hve to use some other MUA (like
> mailman
> ,fetchmail ) ?


Exim is not an MUA. Neither are mailman (which is a MLM) or fetchmail
(not quite sure of the classification for that - probably a mail relay
client of some sort).

Personally I would normally use an MUA here rather than directly
calling the MTA - so something like mail, nail, Mail or even mutt.

    Nigel.
--
[ Nigel Metheringham             Nigel.Metheringham@??? ]
[ - Comments in this message are my own and not ITO opinion/policy - ]