The K Desktop Environment

Next Previous Table of Contents

3. Configure mgetty+sendfax

In your directory /etc/mgetty+sendfax/ you can find these specific mgetty+sendfax configuration files. Since sendfaKs currently does not support fax-receiving, only the files faxrunq.config and faxheader need to be configured by the user.

  1. faxrunq.config contains some options for the daemon faxrunqd, that control its behavior during all its operations. Each option has an extensive explanation, so there is no need to describe it here. Just check this file an make your modifications.
  2. faxheader consists of only one line, which forms the headline of every fax. You have to modify your name and your faxnumber in it. This line will be the default faxheader, as long as you wish to use it in that way. Normally you only need to insert a name and your faxnumber in the predefined sections of the line. All other parts (@..@) are variables to the programm faxspool and will be filled in the moment you spool your fax. Here is an example for a default faxheader:

    FAX FROM: your_name your_faxnumber TO: @T@ PAGE: @P@ OF @M@

  3. fax.allow contains the names of the users, who are allowed to use the faxspool program. This file normally does not exist in the given directory /etc/mgetty+sendfax/. You will have to create it yourself. Each line in this file consists of only one username, eg.:
    #any comment is proceeded by a #
    root
    michael
    guest
    paul
    
    If faxspool can not find this file, you will get an error-message in the Message window. In that case only root is allowed to use faxspool.

It is recommended, to auto-start faxrunqd every time you boot your machine. In my system I made an entry in the file /sbin/init.d/boot.local like this:

/usr/sbin/faxrunqd &

Don't forget the & because faxrunq does not put itself in the backround.

Next Previous Table of Contents