File: README.debian

package info (click to toggle)
bsmtpd 2.3pl8b-6
  • links: PTS
  • area: main
  • in suites: potato
  • size: 220 kB
  • ctags: 236
  • sloc: ansic: 1,928; makefile: 178; sh: 31
file content (85 lines) | stat: -rw-r--r-- 2,517 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
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
bsmtpd for DEBIAN
=================

I removed the daemon behavior of bsmtpd from the Debian package,
because you anyhow need sendmail as a mail-transport-agent. So 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 this 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:
=====================================

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

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

spinnaker.rhein.de      bsmtp:luv

(all mail for system spinnaker.rhein.de is sent using bsmtp to the
uucp system luv).


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

And 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/sbmtp uucpneighbor
chat-program		/usr/lib/bsmtp/sbmtp uucpneighbor



Roland Rosenfeld <roland@debian.org>
$Id: README.debian,v 1.6 1999/12/23 21:48:23 roland Exp $