File: msg2smtp.1

package info (click to toggle)
anubis 4.1%2Bdfsg1-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 5,908 kB
  • ctags: 2,607
  • sloc: ansic: 17,022; sh: 4,795; yacc: 1,432; exp: 912; lisp: 697; lex: 415; makefile: 350; perl: 118; awk: 62; sed: 16
file content (60 lines) | stat: -rw-r--r-- 1,564 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
.\" -*- nroff -*-
.TH MSG2SMTP 1 "2007 Aug 26"
.SH NAME
msg2smtp \- a 'bridge' between MUA and GNU Anubis
.SH SYNOPSIS
.B msg2smtp
.RI
\-h HOST [\-p PORT] [\-e HELO_DOMAIN] [\-U USERNAME] [\-P PASSWORD] [\-m MECHANISM] [\-d]
.SH DESCRIPTION
This manual page documents briefly the
.B msg2smtp
command.
.PP
.B msg2smtp
is a program that takes a mail message on STDIN and relays it to an SMTP server.
.PP
MUA (Mutt) --> msg2smtp.pl --> Anubis --> remote or local MTA
.PP
This can be used whenever you want to convert a mail message on STDIN
and talk to an SMTP server as output. Just like sendmail do.
.PP
If you want to use this script with Mutt, add this to Mutt configuration file:
.PP
set sendmail="/PATHTO/msg2smtp.pl -h localhost"
.PP
If you run GNU Anubis on port 4000, you would put this line in your muttrc:
.PP
set sendmail="/PATHTO/msg2smtp.pl -h localhost -p 4000"
.SH OPTIONS
A summary of options is included below:
.TP
.B \-h HOST
hostname of SMTP server, often 'localhost',
.TP
.B \-p PORT
port of the SMTP server,
.TP
.B \-e HELO_DOMAIN
domain we use when to say helo to smtp server,
.TP
.B \-U USERNAME
ESMTP auth username,
.TP
.B \-P PASSWORD
ESMTP auth password,
.TP
.B \-m MECHANISM
ESMTP auth mechanism - default is PLAIN,
.TP
.B \-d
shows SMTP conversation and perl debugging.
.SH SEE ALSO
.BR anubis (1),
.BR sendmail (1),
.BR mutt (1).
.SH AUTHOR
msg2smtp was written by Michael de Beer <michael@debeer.org>.
.PP
This manual page was written by Krzysztof Burghardt <krzysztof@burghardt.pl>,
for the Debian project (but may be used by others).