Re: [courier-users] SqWebMail cannot send mail

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 ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-09-2008
Milan Obuch
 
Posts: n/a
Default Re: [courier-users] SqWebMail cannot send mail

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:14 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0