On Sun, Feb 22, 2004 at 01:10:00AM +1100, Michael F. wrote: > A few php scripts using php mail() procedure/call don't work.. And I > suspect because when they call sendmail, which is symlink to exim, it > produces the output you show below. > > > # sendmail > > 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. > > And I get this error too. I've attempted to find an option to invoke it > so it will work much like sendmail when called from a command line but > no go. > > Any hints?
Yes, tell us what options you are trying. That's not an error, it's an informational -- it says you should supply arguments, and tells you where to look for a list :-) E.g. my queue is empty, # sendmail -qf # If you can't see arguments qmail is using, perhaps you could write a sendmail wrapper that spits out the command line it's using and then calls exim4. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html