Re: [Exim] Command line

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Phil Pennock
Ημερομηνία:  
Προς: Riccardo Baldanzi
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] Command line
Typing away merrily, Riccardo Baldanzi produced the immortal words:
> Out costumer normally use a cgi, written in perl, to generate e-mail from a
> web-form.
> But e-mail is redirect to root@localhost because web-server is on the same
> server as MTA (running exim).
> Can i use exim, and remove sendmail, from command line to send an e-mail?
> (like sendmail)


Yes. Easiest way is to not even change the scripts. Remove (or rename
and remove permissions from) the 'sendmail' binary. And 'mailq', whilst
you're at it. Replace them with symbolic links pointing to exim.

bash$ ls -l `type -p sendmail`
lrwxr-xr-x 1 root wheel 18 May 15 20:39 /usr/sbin/sendmail -> /usr/exim/bin/exim

Exim is pretty well command-compatible with sendmail. The common
options will certainly work. The only thing to be careful of is the
FAQ item Q5020:
<http://www.exim.org/FAQ.html#SEC248>

--
"We've got a patent on the conquering of a country through the use of force.
We believe in world peace through extortionate license fees." -Bluemeat