Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
ofmipd(8)		    System Manager's Manual		     ofmipd(8)

NAME
       ofmipd -	accept outgoing	mail through OFMIP

SYNOPSIS
       ofmipd [	name.cdb ]

DESCRIPTION
       ofmipd  accepts	mail messages through the Old-Fashioned	Mail Injection
       Protocol	(OFMIP), rewrites them according to local rules,  and  invokes
       qmail-queue  to	deposit	 them into the outgoing	queue.	ofmipd must be
       supplied	several	environment variables; see tcp-environ(5).

       See http://pobox.com/~djb/proto/ofmip.html for further  information  on
       OFMIP.

USING OFMIP
       You  can	use tcpserver to set up	ofmipd on a free TCP port.  Some sites
       use port	26.  Some sites	use port 25 on an IP address that does not re-
       ceive incoming mail.

       Note  that ofmipd will relay messages to	any destination.  It should be
       invoked only for	connections from preauthorized users.  With  tcpserver
       you  can	 deny  connections  that do not	come from preauthorized	IP ad-
       dresses such as 127.0.0.1.

       Most MUAs that claim to be ``SMTP clients'' are actually	OFMIP clients.
       You  should  point  them	 at ofmipd rather than qmail-smtpd.  Some MUAs
       will use	port 26	of server if you tell them that	the ``SMTP server'' is
       server:26.

MESSAGE	REWRITING
       ofmipd  rewrites	 each message in essentially the same way that new-in-
       ject does.  It transforms each envelope address as discussed in rewrit-
       ing(5); it cleans up address lists in To, Cc, Notice-Requested-Upon-De-
       livery-To, From,	Sender,	Reply-To, Mail-Reply-To, and Mail-Followup-To;
       it  adds	 Date and Message-ID; it discards Bcc, Apparently-To, Content-
       Length, and Return-Path;	and it moves various fields to the top of  the
       message.

       ofmipd also transforms envelope sender addresses	and From lines accord-
       ing to name.cdb if name.cdb is supplied.	 See ofmipname(8) for  further
       details.

       ofmipd accepts LF and CR	LF as line terminators inside messages.

       ofmipd does not do hop counting or local-IP-address recognition.

SEE ALSO
       new-inject(1),	tcpserver(1),  addresses(5),  tcp-environ(5),  rewrit-
       ing(5), qmail-control(5), qmail-queue(8), ofmipname(8)

								     ofmipd(8)

NAME | SYNOPSIS | DESCRIPTION | USING OFMIP | MESSAGE REWRITING | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=ofmipd&sektion=8&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help