This is a discussion on Re: [courier-users] SqWebMail cannot send mail within the Courier-Imap forums, part of the Mail Servers and Related category; On Wednesday 09 January 2008, Thodoris wrote: > O/H Milan Obuch ??????: > > On Wednesday 09 January 2008, Thodoris ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Wednesday 09 January 2008, Thodoris wrote:
> O/H Milan Obuch ??????: > > On Wednesday 09 January 2008, Thodoris wrote: > >> Hi, > >> I have a FreeBSD 6.2-RELEASE mail server with courier (as expected) > >> installed from ports. I also added sqwebmail support but when I am > >> trying to send mail using the web interface then I get this error: > >> > >> exec: @mailer@: not found > >> > >> Does anybody know what is this about ?? On the other hand I have no > >> problem to make filters read mail or use any of the other functionality > >> offered by the interface. > >> > >> Thodoris > > [snip] > I don't think this has something to do with apache configuration. This was shown just how I did it... not necessarily the only or the right way. But it works for me. And no file copying was necessary. > I suspect that there is something wrong with my mailer.conf > /etc/mail/mailer.conf > # > # Execute the Courier sendmail program, named /usr/local/bin/sendmail > # > sendmail /usr/local/bin/sendmail > send-mail /usr/local/bin/sendmail > mailq /usr/local/bin/mailq > newaliases /usr/local/sbin/makealiases > hoststat /usr/local/bin/sendmail > purgestat /usr/local/bin/sendmail > > Is this sane can you please check if there is something that I need to add. > In my case there is # # Execute the Courier sendmail program, named /usr/local/bin/sendmail # sendmail /usr/local/bin/sendmail send-mail /usr/local/bin/sendmail mailq /usr/local/bin/mailq newaliases /usr/local/sbin/makealiases so I think you are just fine in this case. > PS The installation is clean copying just did the job. OK, but you are stating you have some troubles whereas my clean install (to recap: cd /usr/ports/mail/courier; make install clean) just works. So you must have something incorrectly done, most probably not from clean port install. Any way, if I remember this correctly, there is sendit.sh file in /usr/local/share/courier/sqwebmail directory, which actually does the sending. You could modify it for test by adding line id > /tmp/debug before final exec, and you will see whether this command gets invoked and id under which it is ran. This last line, by the way, should read exec /usr/local/bin/sendmail $DSN -f "$1" If it reads exec @mailer@ $DSN -f "$1" you did not installed courier port correctly. This is what your error message suggest. Regards, Milan -- This address is used only for mailing list response. Do not send any personal messages to it, use milan in address instead. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216...et/marketplace _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users |