This is a discussion on Re: General Command Line LMTP Client within the mailing.postfix.users forums, part of the Mail Servers and Related category; On Mon, 10 May 2004 ms419@freezone.co.uk wrote: > I need a general purpose, command line LMTP client, ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Mon, 10 May 2004 ms419@freezone.co.uk wrote:
> I need a general purpose, command line LMTP client, with SASL support. > So far, I'ven't found one. Looking through Weitse Venema's beautiful, > well documented code, I thought I could use the Postfix LMTP client for > this purpose. > Take any existing ESMTP client: - If required add support for connecting to unix domain sockets - Don't do MX record lookups when making TCP connections. Connect to the "lmtp" port (24 not 25). - Replace "EHLO" with "LHLO". - After ".", read a separate "2XX", "4XX" or "5XX" response for each accepted "RCPT TO" command, instead of a single response for the whole message. If you only submit mail for one recipient at a time, this is not different from the SMTP case. - Use appropriate (likely more generous than SMTP) timeouts. The rest is the same. -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:majordomo@postfix.org?body=unsubscribe%20p ostfix-users> |