Networking Forums

Networking Forums > Computer Networking > Linux Networking > lmtp server using xinetd and procmail

Reply
Thread Tools Display Modes

lmtp server using xinetd and procmail

 
 
Guest
Posts: n/a

 
      02-08-2005, 12:30 AM

--
I'm trying to set up an lmtp server using xinetd and procmail, with the
"-z" flag. I've searched, and seen that a few other people are doing
this successfully, though perhaps with a few (acceptable) oddities.

After some fiddling, the best I get on the Postfix side is:
postfix/lmtp[31357]: 14F0B5B5E5: to=<(E-Mail Removed)>,
relay=localhost[127.0.0.1], delay=0, status=deferred (lost connection
with localhost[127.0.0.1] while sending LHLO)
And on the lmtp side I get:
05/2/7@19:47:25: START: lmtp pid=31576 from=127.0.0.1
05/2/7@19:47:25: EXIT: lmtp status=64 pid=31576 duration=0(sec)

It appears to me that "procmail -z" doesn't like something here, but
"status=64" isn't terribly informative, either by RTFM or UTSL.

Does anyone out there have a suggestion?

Incidentally, there's a good reason to take on the extra complexity...
It will let me *completely* chroot Postfix while still making local
deliveries.

Thanks,
Dale Pontius
 
Reply With Quote
 
 
 
 
Guest
Posts: n/a

 
      02-13-2005, 10:47 PM
In article <(E-Mail Removed)>,
(E-Mail Removed)lid () writes:
>
> --
> I'm trying to set up an lmtp server using xinetd and procmail, with the
> "-z" flag. I've searched, and seen that a few other people are doing
> this successfully, though perhaps with a few (acceptable) oddities.
>
> After some fiddling, the best I get on the Postfix side is:
> postfix/lmtp[31357]: 14F0B5B5E5: to=<(E-Mail Removed)>,
> relay=localhost[127.0.0.1], delay=0, status=deferred (lost connection
> with localhost[127.0.0.1] while sending LHLO)
> And on the lmtp side I get:
> 05/2/7@19:47:25: START: lmtp pid=31576 from=127.0.0.1
> 05/2/7@19:47:25: EXIT: lmtp status=64 pid=31576 duration=0(sec)
>
> It appears to me that "procmail -z" doesn't like something here, but
> "status=64" isn't terribly informative, either by RTFM or UTSL.
>
> Does anyone out there have a suggestion?
>
> Incidentally, there's a good reason to take on the extra complexity...
> It will let me *completely* chroot Postfix while still making local
> deliveries.
>

My problem was that the default Gentoo ebuild for procmail didn't add
lmtp support. I ran the ebuild step-by-step instead of with emerge, and
at the right spot, tweaked things to tell it to add lmtp support.

My problem was that I don't have telnet installed at all on the machine,
so I couldn't take the obvious step of telnet'ing into the lmtp port.
The Gentoo telnet ebuild includes the server as well as the client, and
I didn't even want telnetd at all on my machines. I ended up using
putty from a different machine into the lmtp port. (I had to bind the
lmtp server to a lan port, instead of loopback, to do this.)

Dale Pontius
 
Reply With Quote
Reply

Thread Tools
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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
xinetd : Bad line received from identity server NO-USER Gregoire Avot Linux Networking 2 09-24-2007 02:42 PM
procmail suvo Linux Networking 1 01-18-2007 01:05 AM
Procmail Jenda Mudron Linux Networking 6 07-22-2005 04:28 PM
procmail Thomas B Linux Networking 0 07-15-2003 11:08 AM
Re: procmail Kenneth A Kauffman Linux Networking 0 06-25-2003 12:06 PM



1 2 3 4 5 6 7 8 9 10 11