---
name: "bsmtp"
section: "8"
platform: "linux"
package: "bsmtpd"
version: "2.3pl8b-16"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/bsmtp/8"
---

# bsmtp(8)

append mail to bsmtp batch

## NAME

bsmtp - append mail to bsmtp batch

## SYNOPSIS

**bsmtp -t** *host* **-f** *from* **\[***options***\]** *recipient(s)*

## DESCRIPTION

**bsmtp** is a program which is called by [**sendmail**(8)](/sendmail/8.md) to append the mail to the batch for *host* created by the sender *from* and addressed to *recipient(s)*.

## OPTIONS

- **-t** *host*

  destination host

- **-f** *from*

  sender address (FQDN)

- **-s** *size*

  maximum message size (default: 0)

- **-T** *seconds*

  timeout in seconds (default: 900)

- **-U** *path*

  path to uux (default: /usr/bin/uux)

- **-C** *path*

  path to compress (default: /usr/bin/compress)

- **-F** *path*

  path to freeze (default: /usr/local/bin/freeze)

- **-b** *path*

  path to bzip2 (default: /usr/bin/bzip2)

- **-G** *path*

  path to gzip (default: /bin/gzip)

- **-B** *path*

  path to batchparms (default: /etc/mail/batchparms)

- **-d**

  duplicate all dots in the first column ("hiddendot"), because some mail programs otherwise see this dot as the end of the mail. You will need this option if your mail transport agent doesn't duplicate the dots itself. **-k** stop creating backup files of the outgoing batches.

## FILES

**/var/spool/bsmtp/out** Directory for outgoing batches.\
 **/etc/mail/batchparms** batch parameters\
 **/var/log/bsmtp/Log** log file\
 **/var/log/bsmtp/Debug** debug output

## SEE ALSO

[**sbsmtp**(8)](/sbsmtp/8.md), [**batchparms**(5)](/batchparms/5.md), [**sendmail**(8)](/sendmail/8.md), [**uux**(1)](/uux/1.md), [**gzip**(1)](/gzip/1.md), [**compress**(1)](/compress/1.md), **freeze**(1), [**bzip2**(1)](/bzip2/1.md)

## AUTHOR

The bsmtpd package was written by Axel Zinser \<fifi@hiss.org\>.

This manual page was written by Roland Rosenfeld \<roland@spinnaker.de\> for the Debian GNU/Linux system (but may be used by others).
