Re: Sample _complete_ /etc/tmdarc file?

Lloyd Zusman <[email protected]>
Newsgroups gmane.mail.spam.tmda.user
Message-ID <[email protected]>
[email protected] (Jason R. Mastaler) writes:

> Lloyd Zusman <[email protected]> writes:
>
>> Is there a sample /etc/tmdarc file that contains all of the
>> configuration variables and short descriptions of them?  I'm looking
>> for one that goes with version 1.1.11.
>
> What you want is the configuration variables reference. See
>
> http://wiki.tmda.net/ConfigurationVariables
>
> The tarball also includes a PDF of this information for easier printed
> reading.

Thank you, but actually, I was looking for something that is already in
the format of a valid /etc/tmdarc file.  I already know about this
reference documentation, but the older version of TMDA that I first
downloaded a few years ago had a file that I could simply drop into
place as an /etc/tmdarc and then edit.  Each configuration variable
appeared with a short description, its default value, etc.

I'm putting a short excerpt at the end of this message.  The original
had more than 1300 lines.

I guess that such a thing doesn't exist any more in the more recent
versions of TMDA, correct?  If so, then I'll make do, but I was just
hoping ...

Anyway, here's the short excerpt:

  ... etc. ...
  #
  # RECIPIENT_DELIMITER
  # A single character which specifies the separator between user names
  # and address extensions (e.g, user-ext).
  # The default under qmail is `-', while the default for Sendmail and
  # friends is likely `+'. The default for MMDF is '='.
  #
  # Default is "-"
  #
  RECIPIENT_DELIMITER = "-"
  
  # ALLOW_MODE_640
  # Set this variable to True if you want to allow a mode 640 CRYPT_KEY_FILE.
  #
  # Default is False (turned off)
  #
  ALLOW_MODE_640 = False
  
  # MAIL_TRANSPORT
  # Final delivery method for all outgoing mail (server and client).
  # Possible values include:
  #
  # "smtp"
  #    Deliver messages by handing them off to an SMTP server (i.e,
  #    smarthost).  Be sure that the "SMTPHOST" variable (see below) is
  #    set correctly.
  #
  # "sendmail"
  #    Deliver messages via the command line interface to the sendmail
  #    program (e.g, /usr/sbin/sendmail).
  #
  # Default is "sendmail"
  #
  MAIL_TRANSPORT = "smtp"
  
  # SMTPHOST
  # SMTP host and optional port, when MAIL_TRANSPORT is "smtp".
  # If the hostname or IP address ends with a colon (":") followed by a
  # number, that suffix will be stripped off and the number interpreted
  # as the port number to use.  Otherwise, the standard SMTP port (25)
  # will be used.
  #
  # Examples:
  #
  # SMTPHOST = "localhost"
  # SMTPHOST = "172.16.78.20:2525"
  # SMTPHOST = "mailhost.company.com"
  # SMTPHOST = "mailhost.company.com:1234"
  #
  # Default is "localhost" (port 25 on the local host)
  #
  SMTPHOST = "localhost:25"
  
  # SMTPAUTH_USERNAME
  # The username to authenticate with if your SMTP server requires
  # authentication.  You must also define SMTPAUTH_PASSWORD if you use
  # this option.  Requires Python 2.2 or greater.
  #
  # Examples:
  #
  # SMTPAUTH_USERNAME = "johndoe"
  #
  # No default.
  #
  ... etc. ...



-- 
 Lloyd Zusman
 [email protected]
 God bless you.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.