
nigel.metheringham at dev
Aug 27, 2008, 3:54 AM
Post #4 of 4
(218 views)
Permalink
|
[.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[at]localhost" > SUBJECT = Hey, user, clean up your account! > CC_TO = "sysadm[at]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[at]InTechnology.com ] [. - Comments in this message are my own and not ITO opinion/policy - ] -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
|