Re: Mailwrapper not working

2001-03-12 Thread Henning Brauer

On Mon, Mar 12, 2001 at 10:50:20AM -0800, Alex Le Fevre wrote:
> > qmail-inject can't work, you need the
> > sendmail-wrapper - normally
> > /var/qmail/bin/sendmail. This does work as it should
> > normally. Id it doesn't
> > there are some serious misconfigurations.
> 
> How can I test /var/qmail/bin/sendmail? 

===
#!/usr/bin/perl

open SM, "|/var/qmail/bin/sendmail [EMAIL PROTECTED]";
print SM "From: Test\nTo: Test\nSubject: test\n\n";
print SM "This is a test.\n";
close SM;
===

FormMail works without modifications on a proper configured OpenBSD/qmail
system.

-- 
Henning Brauer | BS Web Services
Hostmaster BSWS| Roedingsmarkt 14
[EMAIL PROTECTED] | 20459 Hamburg
http://www.bsws.de | Germany



Re: Mailwrapper not working

2001-03-12 Thread Alex Le Fevre

> qmail-inject can't work, you need the
> sendmail-wrapper - normally
> /var/qmail/bin/sendmail. This does work as it should
> normally. Id it doesn't
> there are some serious misconfigurations.

How can I test /var/qmail/bin/sendmail? Do you think
there would be a way to check to make sure my script
is actually calling the binary?

Alex

__
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/



Re: Mailwrapper not working

2001-03-12 Thread Henning Brauer

On Mon, Mar 12, 2001 at 10:20:23AM -0800, Alex Le Fevre wrote:
> I
> can't get FormMail.pl (from
> www.worldwidemart.com/scripts) to send e-mail. I've
> only got to the question about mailwrappers because
> that's where I was led in search of a fix for this
> problem. The script, by default, calls the mail
> program as /usr/lib/sendmail, which didn't work; I've
> been toying around with everything from a symlinked
> /usr/sbin/sendmail to /var/qmail/bin/qmail-inject, and
> none of those work. Can anyone provide help relevant
> to that problem?

qmail-inject can't work, you need the sendmail-wrapper - normally
/var/qmail/bin/sendmail. This does work as it should normally. Id it doesn't
there are some serious misconfigurations.

-- 
Henning Brauer | BS Web Services
Hostmaster BSWS| Roedingsmarkt 14
[EMAIL PROTECTED] | 20459 Hamburg
http://www.bsws.de | Germany



Re: Mailwrapper not working

2001-03-12 Thread Alex Le Fevre

> DJB posted to this list once, pointing out problems
> with mailer.conf -- if
> the system fails to open it (out of fds, etc), it
> defaults to using
> sendmail -- hardly what you want.
> 
> The symlink solution is more reliable, and no files
> need to be parsed either.
> 
You're still both missing my original point -- not
that my mail as a whole isn't working, but that I
can't get FormMail.pl (from
www.worldwidemart.com/scripts) to send e-mail. I've
only got to the question about mailwrappers because
that's where I was led in search of a fix for this
problem. The script, by default, calls the mail
program as /usr/lib/sendmail, which didn't work; I've
been toying around with everything from a symlinked
/usr/sbin/sendmail to /var/qmail/bin/qmail-inject, and
none of those work. Can anyone provide help relevant
to that problem?

Thanks,
Alex

__
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/



Re: Mailwrapper not working

2001-03-12 Thread Charles Cazabon

Henning Brauer <[EMAIL PROTECTED]> wrote:
> 
> in OpenBSD you shouldn't touch /usr/sbin/sendmail, you should modify
> /etc/mailer.conf like
> 
> sendmail /var/qmail/bin/sendmail
> send-mail /var/qmail/bin/sendmail
> 
> and so on. works without any problem.

DJB posted to this list once, pointing out problems with mailer.conf -- if
the system fails to open it (out of fds, etc), it defaults to using
sendmail -- hardly what you want.

The symlink solution is more reliable, and no files need to be parsed either.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: Mailwrapper not working

2001-03-12 Thread Henning Brauer

On Mon, Mar 12, 2001 at 07:59:07AM -0800, Alex Le Fevre wrote:
> I've posted several questions to this list recently on
> this topic, none of which have been satisfactorily
> answered. I apologize for any redundancy.
> 
> The root of my problem is that my mail wrapper seems
> to be malfunctioning. Neither /usr/sbin/sendmail --
> from OBSD 2.8's default install of Sendmail 

in OpenBSD you shouldn't touch /usr/sbin/sendmail, you should modify
/etc/mailer.conf like

sendmail /var/qmail/bin/sendmail
send-mail /var/qmail/bin/sendmail

and so on. works without any problem.

-- 
Henning Brauer | BS Web Services
Hostmaster BSWS| Roedingsmarkt 14
[EMAIL PROTECTED] | 20459 Hamburg
http://www.bsws.de | Germany



Re: Mailwrapper not working

2001-03-12 Thread Alex Le Fevre

> Put symlinks in place as the qmail docs tell you.

I have, I kill -HUP'ed qmail-send, and it still
doesn't work. Why wouldn't it work

Alex

__
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/



Re: Mailwrapper not working

2001-03-12 Thread Peter van Dijk

On Mon, Mar 12, 2001 at 07:59:07AM -0800, Alex Le Fevre wrote:
[snip]
> How can I test my mailwrapper for functionality? Would
> it be possible to reinstall the mailwrapper without
> reinstalling all of qmail if I find it's not
> functional? Are there any config files I need to be
> checking?

Don't use BSD's mailwrapper. It's terribly unreliable.

Put symlinks in place as the qmail docs tell you.

Greetz, Peter.



Mailwrapper not working

2001-03-12 Thread Alex Le Fevre

I've posted several questions to this list recently on
this topic, none of which have been satisfactorily
answered. I apologize for any redundancy.

The root of my problem is that my mail wrapper seems
to be malfunctioning. Neither /usr/sbin/sendmail --
from OBSD 2.8's default install of Sendmail -- or
/var/qmail/bin/sendmail seem to work at all. When I
point a popular Perl script at them (FormMail.pl), the
script executes but produces nothing in
/var/log/maillog.

How can I test my mailwrapper for functionality? Would
it be possible to reinstall the mailwrapper without
reinstalling all of qmail if I find it's not
functional? Are there any config files I need to be
checking?

Thanks for your help.

Alex Le Fevre

__
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/