OFMIP drives me crazy

1999-05-02 Thread fre

Hi there,

First of all- I'm no that much of a Linux/Unix wizard!

I'm trying to set up a qmail (ucspi) on Redhat 5.2, along with mess822
Qmail works fine, aliases.cdb works fine also.
Because i want to rewrite the FROM: field, i installed mess822.
According to the man files, ofmip should do the rewriting for me.
(or new-inject, but i can't understand who does what)
I copied  /etc/rc.d/init.d/qmail-smtpd.init to /etc/rc.d/init.d/ofmipd.init
The only thing i changed is : set PORT to 26 and set PROG to ofmipd
This seems to work fine, because i'm able to telnet to port 26
and i can send mail through prot 26 with Outlook. (i know, i'm very sorry).
I also made a name.txt with this content:
[EMAIL PROTECTED]:Fre de Vries:[EMAIL PROTECTED]:
After that ik made a name.cdb with:
/cdb-0.55/12tocdbm < /etc/name.txt  |  /cdb-0.5/cdbmake /etc/name.cdb
name.tmp

I'm sending with [EMAIL PROTECTED]  to [EMAIL PROTECTED] There is an alias that says
[EMAIL PROTECTED] has to be forwarded to [EMAIL PROTECTED], wich it does.
I want the returnpath [EMAIL PROTECTED] to be rewritten to [EMAIL PROTECTED]

What else do i need to get my from: header rewritten???


Thanks,
Fre de Vries




Re: OFMIP drives me crazy

1999-05-12 Thread D. J. Bernstein

[EMAIL PROTECTED] writes:
> 12tocdbm < /etc/name.txt | /cdb-0.5/cdbmake /etc/name.cdb name.tmp

Don't do that. Use the ofmipname program in the mess822 package, and
make sure you pass /etc/name.cdb to ofmipd as a command-line argument.

---Dan