Tek Support wrote:
> Wow, that's a good eye you have.  I first tried to view the new
> preline (copied over) in vi and it's a binary.  So then I tried to
> view the 'orig.preline' and it is a script. What is odd, is that it
> contains a "hello" string at first, and then it shows the same kind of
> thing I needed in my .qmail-user file.  Here are the contents.
> 
> --All one line---
> hello /home/vpopmail/tmda-1.1.12/bin/tmda-filter -c
> /home/vpopmail/domains/mydomain.com/.tmdarc-myuser
> 
> I think it would be obvious that this file got overwritten - by me
> somehow?  But I don't know how or why.  So I'm claiming ignorance.
> ;-)
> 
> But to have "mydomain.com" and "myuser" is odd enough - which was also
> the first user I created with qmailadmin - I don't know how it got
> there.  And I'm 99.9% sure that I didn't do it manually.  For one, the
> "hello" at position 1 is not included in the .qmail-user file.  So how
> did that get there?  If I had copied  (by accident) my .qmail-user
> file ontop of this, it wouldn't have the "hello" there.
> 
> Is there anything in qmailadmin/admin-toaster that would/could do
> this?  Maybe something in the TMDA install?  I know that this version
> of TMDA I installed is a newer version than what I used previously.

Hard to say. A simple script error might do this, such as:
(somecommand) >/var/qmail/bin/preline ...
vs
(somecommand) |/var/qmail/bin/preline ...
Could've been any number of things.

> I am now wishing I had a clean box to re-test this all on and see at
> what step it happend.

VMs are a good thing. ;)

> But I might have a window into what might have
> happened and it would suggest TMDA.  I have my own server which I
> share with a friend.  He has been complaining about my original OS and
> website and wanted to do some newer things (Slackware, qmail-rocks,
> TMDA, apache 1, PHP 4, mysql 3), etc.  So after finding that CentOS 5
> was going to be the new standard for qmailtoaster I decided to upgrade
> mine as well.  So I got a new server for work and it's a 64bit and
> installed the Toaster and TMDA.  And then re-installed my own but
> without TMDA.  My own is a (32bit) and is also running qmail-toaster
> CentOS 5 just fine, but since work comes first, I haven't yet
> installed TMDA on my own.  So either something is different in the
> 32bit to 64bit (not too likely) or something in TMDA might have
> overwritten preline.

Yeah, likely that later.

Glad you got it all working! TMDA *is* pretty slick once you get it going.

> Thanks
> John
> 
> 
> 
> On Thu, Sep 4, 2008 at 3:39 PM, Eric Shubert <[EMAIL PROTECTED]> wrote:
>> Tek Support wrote:
>>> I did keep the preline binary - I can send it to you here or off list.
>> I'm just curious to know if it's really a binary or not. The error message
>> appears as though it's some sort of script, but that's not necessarily the
>> case. If it's a script I'd like to see it. If it's binary, no need.
>>
>>> But from what I've seen during the install, the rpmbuild stuff seems
>>> to clean up all of the source files, so wouldn't it also clean up the
>>> build messages?  If you can tell me where to look or what file(s) you
>>> need I would be happy to send them along.
>> The build messages simply go to the screen (and are lost) unless you
>> redirect them somewhere. If you were to use qtp-newmodel, the messages are
>> logged in the /usr/src/qtp-upgrade/log/ directory.
>>
>>> Thanks
>>> John
>>>
>>>
>>> On Thu, Sep 4, 2008 at 9:03 AM, Eric Shubert <[EMAIL PROTECTED]> wrote:
>>>> Glad you got it working. You didn't happen to keep the bogus preline file
>>>> around, did you? I'd be curious to know if it was actually a binary or not.
>>>> I'd also want to have a look at the build messages for preline.
>>>> Unfortunately, I don't have a 64-bit machine to do any testing on.
>>>>
>>>> Tek Support wrote:
>>>>> Well I decided to copy the preline file from a (CentOS 5) i386 machine
>>>>> which the preline was giving the correct messges on, and put it onto
>>>>> my (CentOS 5) x86_64 machine and it worked.  My assumption was that
>>>>> preline would not work coming for a different architecture, but it did
>>>>> and I re-setup a test TMDA account and it too worked correctly.
>>>>>
>>>>> So, it was preline and this is now solved.
>>>>>
>>>>> Thank you for your help,
>>>>> John
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Sep 3, 2008 at 7:02 PM, Tek Support <[EMAIL PROTECTED]> wrote:
>>>>>> Hi Eric, I can contact you off list but I want to be clear, the
>>>>>> problem isn't with TMDA, it's with preline.  And preline is part of
>>>>>> the qmail-1.03 package.  I need some help understanding if preline is
>>>>>> compatable with the 64bit OS and if (and how) I can recompile it to
>>>>>> work.
>>>>>>
>>>>>> We are in the situation where TMDA is going to be required.  We were
>>>>>> using it on our last server in our "qmailrocks" setup.  Now that I've
>>>>>> switched us over to qmailtoaster the install worked fine, but it
>>>>>> wouldn't run.  I've narrowed it down to preline giving a weird error,
>>>>>> and it must be either incompatable with 64 bit or corrupted.  In
>>>>>> addition I have tried using TMDA without the preline and it worked for
>>>>>> the initial incoming email.  But after the sender gets the
>>>>>> confirmation, and returns the comfirmation, preline is required - (per
>>>>>> the TMDA website).
>>>>>>
>>>>>> If preline cannot do what I need, I'll have to find another option to
>>>>>> do what preline did.
>>>>>>
>>>>>> By the way, the currently installed spam filters do seem to block
>>>>>> emails to us that we would consider 'valid'.  They also seem to let
>>>>>> through spam that we would not like to get.  TMDA resolves both of
>>>>>> these issues.  With TMDA we didn't have this problem, and the owner
>>>>>> wants it back.  And as far as I know, there are no technical issues
>>>>>> with compatability or anything like that from installing TMDA.
>>>>>>
>>>>>> So I'm looking for some instructions on rebuiding preline?  Or does
>>>>>> anyone know if preline is incompatable with CentOS 5 64bit?  If it is,
>>>>>> I'll have to try something else.
>>>>>>
>>>>>> Thanks
>>>>>> John
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Wed, Sep 3, 2008 at 8:43 AM, Eric Shubert <[EMAIL PROTECTED]> wrote:
>>>>>>> I generally recommend not using TMDA for several reasons, but I realize 
>>>>>>> that
>>>>>>> it can be useful in some circumstances. That being said, I have 
>>>>>>> installed
>>>>>>> and configured TMDA on a toaster on a contract basis. Please contact me 
>>>>>>> off
>>>>>>> list if you're interested.
>>>>>>>
>>>>>>> FWIW, I don't recall having to use preline at all. That might have been 
>>>>>>> due
>>>>>>> to the way TMDA was implemented though.
>>>>>>>
>>>>>>> Tek Support wrote:
>>>>>>>> Hi all, I'm trying to run TMDA on my fresh (for a few months) x86_64
>>>>>>>> CentOS 5 install.  I have had nothing but trouble and after many hours
>>>>>>>> I have finally tracked it down to '/var/qmail/bin/preline'.  Or at
>>>>>>>> least it's part of the problem if not the whole thing.
>>>>>>>>
>>>>>>>> TMDA requires the usage of 'preline' in the .qmail-user file like such.
>>>>>>>>
>>>>>>>> | preline tmda-filter...blah blah...
>>>>>>>>
>>>>>>>> At first I thought the problem was in TMDA, but after much testing,
>>>>>>>> what's happening is that preline is spitting out this error:
>>>>>>>>
>>>>>>>> /var/qmail/bin/preline: line 1: hello: command not found
>>>>>>>>
>>>>>>>> I have received a bounce email from the intented recipient with this
>>>>>>>> error shown, and I have tried to run preline from the shell and got
>>>>>>>> the exact same error.  So in trying to be diligent I have looked at
>>>>>>>> the preline.c source to see if I could figure out what might cause the
>>>>>>>> above error.  I couldn't find anything related.  So I greped the full
>>>>>>>> source tree for qmail-1.03 and still nothing came up.  The source for
>>>>>>>> preline has nothing in it with 'line 1:', nor for 'hello", nor for
>>>>>>>> "command not found'.  So that's why I greped the tree and no files
>>>>>>>> seemed to have those.  The documentation for preline is very slim, but
>>>>>>>> it appears that there are 3 possible arguments (f, r, d).  But those
>>>>>>>> don't do anything different for me, using them all produce the same
>>>>>>>> error.
>>>>>>>>
>>>>>>>> Can anyone help me?
>>>>>>>>
>>>>>>>> Preline add's some headers to the email and then forwards it onto the
>>>>>>>> tmda-filter program.  So I can't live without it.  Could preline be
>>>>>>>> corrupt?  Can I rebuild it by itself, and if so, what would be the
>>>>>>>> shell commands to use?  I can read 'C' and even mess around a bit with
>>>>>>>> it, but I'm not a full blown C programmer.
>>>>>>>>
>>>>>>>> Or, is this something someone has seen before?  I have searched the
>>>>>>>> toaster documention and googled for it but I'm not finding anything,
>>>>>>>> which is odd, as I'm rarely the first person to ever encounter a
>>>>>>>> problem.
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>> John
>>>>>>>>
>>>> --
>>>> -Eric 'shubes'
>>>>
>>
>> --
>> -Eric 'shubes'


-- 
-Eric 'shubes'

---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to