File: README.debian

package info (click to toggle)
bsmtpd 2.3pl8b-16
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 228 kB
  • ctags: 241
  • sloc: ansic: 2,008; makefile: 180; sh: 24
file content (86 lines) | stat: -rw-r--r-- 2,593 bytes parent folder | download | duplicates (2)
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
bsmtpd for DEBIAN
=================

I removed the daemon behavior of bsmtpd from the Debian package,
because you need sendmail or postfix as a mail-transport-agent anyway.
Hence this package was only created as a bsmtp extension for sendmail.

I don't know whether bsmtpd works with other mail-transport-agents.
If you got this running with other MTAs, please inform me about this
and tell me how to configure the MTA to do so.  In this case I will
add support for that particular MTA in prospective versions.



Receiving BSMTP batches:
========================

Simply add the following line to the corresponding system entry in
/etc/uucp/sys:

commands	rmail rnews rbsmtp rsmtp cbsmtp rcsmtp rgsmtp 



Creating BSMTP batches using sendmail:
======================================

Add the following line to your /etc/mail/sendmail.mc:

MAILER(bsmtp)

Then you can use the mailer "bsmtp" as the smarthost like this:

define(`SMART_HOST', `bsmtp:uucpneighbor')

where "uucpneighbor" is the receiving UUCP system name.  You can use
the mailer bsmtp in them mailertable in the same way.

The maximal size of outgoing mail is limited to 500KB by default.  You
can change this by the command 

define(`BSMTP_MAILER_MAX', `1000000')

in your sendmail.mc file, where "1000000" is the maximal allowed
message size in bytes.


Creating BSMTP batches using postfix or postfix-tls:
====================================================

To use bsmtpd in combination with the postfix MTA you have to add the
following two lines to your /etc/postfix/master.cf (the second line is 
longer than 80 chars, so take care that there are no unneeded line
wraps):

bsmtp   unix  -       n       n       -       -       pipe
	flags=F user=bsmtp argv=/usr/lib/bsmtp/bsmtp -d -t$nexthop -f$sender $recipient

From now you can use the new "mailer" bsmtp in /etc/postfix/transport
like this:

spinnaker.does-not-exist.org	bsmtp:luv

(all mail for system spinnaker.does-not-exist.org is sent using bsmtp
to the uucp system luv).


Compressing BSMTP batches:
==========================

Don't forget to create a UUCP batch using the command

/usr/lib/bsmtp/sbsmtp uucpneighbor

either regularly via cron (you only have to know, _when_ the optimal
time will come) or use the called-chat-program (for incoming uucp
calls) or chat-program (for outgoing calls) in the following way in
/etc/uucp/sys:

system uucpneighbor
called-chat-program	/usr/lib/bsmtp/sbsmtp uucpneighbor
chat-program		/usr/lib/bsmtp/sbsmtp uucpneighbor


Roland Rosenfeld <roland@debian.org>
$Id: README.debian,v 1.9 2001/11/03 12:06:27 roland Exp $