Main Page | Report this Page
Linux Forum Index  »  Linux Networking  »  lmtp server using xinetd and procmail
Page 1 of 1    

lmtp server using xinetd and procmail

Author Message
Guest
Posted: Mon Feb 07, 2005 8:30 pm
--
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=<alanbrady@edgehp.net>,
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
 
Guest
Posted: Sun Feb 13, 2005 6:47 pm
In article <hbhld2x5fv.ln2@homer.edgehp.net>,
dale@edgehp.invalid () writes:
Quote:

--
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=<alanbrady@edgehp.net>,
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
 
 
Page 1 of 1    
All times are GMT - 5 Hours
The time now is Sun Dec 06, 2009 11:47 am