meillo@0: Template: masqmail/manage_config_with_debconf meillo@0: Type: boolean meillo@0: Default: true meillo@0: _Description: Manage masqmail.conf using debconf? meillo@0: The /etc/masqmail/masqmail.conf file can be handled automatically meillo@0: by debconf, or manually by you. meillo@0: . meillo@0: Note that only specific, marked sections of the configuration file will be meillo@0: handled by debconf if you select this option; if those markers are absent, meillo@0: you will have to update the file manually, or move or delete the file. meillo@0: meillo@0: Template: masqmail/move_existing_nondebconf_config meillo@0: Type: boolean meillo@0: Default: false meillo@0: _Description: Replace existing /etc/masqmail/masqmail.conf file? meillo@0: The existing /etc/masqmail/masqmail.conf file currently on the system does meillo@0: not contain a marked section for debconf to write its data. meillo@0: . meillo@0: If you select this option, the existing configuration meillo@0: file will be backed up to /etc/masqmail/masqmail.conf.debconf-backup and a meillo@0: new file written to /etc/masqmail/masqmail.conf. If you do not select this meillo@0: option, the existing configuration file will not be managed by debconf, meillo@0: and no further questions about masqmail configuration will be meillo@0: asked. meillo@0: meillo@0: Template: masqmail/host_name meillo@0: Type: string meillo@0: Default: meillo@0: _Description: Masqmail host name: meillo@0: Please enter the name used by masqmail to identify itself to others. meillo@0: This is most likely your hostname. It is used in its SMTP greeting meillo@0: banner, for expanding unqualified addresses, the Message ID and so on. meillo@0: meillo@0: Template: masqmail/local_hosts meillo@0: Type: string meillo@0: _Description: Hosts considered local: meillo@0: Please enter a list of hosts, separated with semicolons (;), which are meillo@0: considered 'local', ie. mail to these hosts will be delivered to a meillo@0: mailbox (or Maildir or MDA) on this host. meillo@0: . meillo@0: You will most likely insert 'localhost', your hostname in its fully meillo@0: qualified form and just the simple hostname here. meillo@0: . meillo@0: You can also use wildcard expressions like '*' and '?'. meillo@0: meillo@0: Template: masqmail/local_nets meillo@0: Type: string meillo@0: _Description: Nets considered local: meillo@0: Please enter a list of hosts, separated with semicolons (;), which are meillo@0: on your local network, ie. they are always reachable, without a meillo@0: dialup connection. Mail to these hosts will be delivered immediately, meillo@0: without checking for the online status. meillo@0: . meillo@4: You can use wildcard expressions like '*' and '?', eg. *.yournet.local meillo@0: . meillo@0: If you have only one box, you can leave this empty. If you do not want meillo@0: to use masqmail as an offline MTA, and the whole internet or another mail meillo@0: server which accepts outgoing mail is at all times meillo@0: reachable to you, just insert '*'. meillo@0: meillo@0: Template: masqmail/listen_addresses meillo@0: Type: string meillo@0: Default: localhost:25 meillo@0: _Description: Interfaces for incoming connections: meillo@0: Masqmail, for security reasons, does not listen an all network meillo@0: interfaces by default. If there are no other hosts connected to your meillo@0: host, just leave the default 'localhost:25' value. If there are other meillo@0: hosts that may want to send SMTP messages to this host, add the meillo@0: address of your network interface here, eg.: meillo@0: localhost:25;192.168.1.2:25. meillo@0: . meillo@0: Of course you can also replace the '25' with another port number, however meillo@0: this is unusual. meillo@0: meillo@0: Template: masqmail/use_syslog meillo@0: Type: boolean meillo@0: Default: false meillo@0: _Description: Use syslogd for logs? meillo@0: You can decide whether masqmail should log via syslog or not. If not, meillo@0: logs will be written to /var/log/masqmail/masqmail.log. meillo@0: meillo@0: Template: masqmail/online_detect meillo@0: Type: select meillo@0: __Choices: file, pipe meillo@0: Default: file meillo@0: _Description: Online detection method: meillo@0: Masqmail has different methods to determine whether it is online or not, meillo@0: these are 'file','pipe'. meillo@0: . meillo@0: For 'file', masqmail checks for the existence of a file, and, if it meillo@0: exists, reads from it the name of the connection. meillo@0: . meillo@0: For 'pipe', masqmail calls a program or script, which outputs the name meillo@0: if online or nothing if not. You can use eg. the program guessnet for this. meillo@0: meillo@0: Template: masqmail/online_file meillo@0: Type: string meillo@0: Default: /var/run/masqmail-route meillo@0: _Description: File used to determine the online status: meillo@0: meillo@0: Template: masqmail/online_pipe meillo@0: Type: string meillo@0: Default: meillo@0: _Description: Name of the program used to determine the online status: meillo@0: Please choose the program to use to determine the online meillo@0: status. Please note that, when this program is called, masqmail has meillo@0: the user id 'mail'. meillo@0: meillo@0: Template: masqmail/mbox_default meillo@0: Type: select meillo@0: Choices: mbox, mda, maildir meillo@0: Default: mbox meillo@0: _Description: Local delivery style: meillo@0: Local mail can be delivered to a mailbox, to an MDA (eg. procmail) meillo@0: or to a qmail style Maildir in the users home dir. meillo@0: . meillo@0: You can select the default style here. You can configure this also meillo@0: on a per-user basis with the options mbox_users, mda_users and meillo@0: maildir_users. meillo@0: meillo@0: Template: masqmail/mda meillo@0: Type: string meillo@0: Default: /usr/bin/procmail -Y -d ${rcpt_local} meillo@0: _Description: MDA command line (including options): meillo@0: Please choose the path to the mail delivery agent (MDA), including meillo@0: its arguments. You can use substitution values here, meillo@0: eg. ${rcpt_local} for the user name. meillo@0: . meillo@0: For other substitutions please see the man page. meillo@0: . meillo@0: This question is also asked if you did not set mbox_default to mda, meillo@0: since you can use mda for a set of users specially. meillo@0: meillo@0: Template: masqmail/alias_local_caseless meillo@0: Type: boolean meillo@0: Default: false meillo@4: _Description: Should alias expansion regard case? meillo@0: Masqmail uses the file /etc/aliases to redirect local addresses. meillo@0: The search for a match in /etc/aliases can be regarding upper/lower meillo@0: case or insensitive to case. meillo@0: meillo@0: Template: masqmail/init_smtp_daemon meillo@0: Type: boolean meillo@0: Default: true meillo@0: _Description: Start SMTP listening daemon? meillo@0: Please choose whether you want masqmail to start as an SMTP listening meillo@0: daemon. You will need this if: meillo@0: - there are other hosts in your local network that may want to send meillo@0: mail via this host meillo@0: - you use a mail client that sends mail via SMTP (netscape, meillo@0: mozilla are examples) meillo@0: meillo@0: Template: masqmail/init_queue_daemon meillo@0: Type: boolean meillo@0: Default: true meillo@0: _Description: Start SMTP queue running daemon? meillo@0: Please choose this option if you want masqmail to start as a queue meillo@0: running daemon. You're very likely to need this. It is used for mail meillo@0: that cannot delivered immediately, either because of delivery meillo@0: failures or because you were not online on the first attempt to send meillo@0: a mail. meillo@0: meillo@0: Template: masqmail/queue_daemon_ival meillo@0: Type: string meillo@0: Default: -q10m meillo@0: _Description: Interval for the queue running daemon: meillo@0: Please choose the interval for the queue running daemon. -q10m means meillo@0: flush the queue every 10 minutes. meillo@0: . meillo@0: The format is -q, followed by an numeric value and one of the letters s,m,h,d,w for meillo@0: seconds, minutes, hours, days or weeks respectively. meillo@0: . meillo@0: Reasonable values are between 5 minutes (-q5m) and 2 hours (-q2h). meillo@0: meillo@0: Template: masqmail/init_fetch_daemon meillo@0: Type: boolean meillo@0: Default: false meillo@0: _Description: Start POP3 fetch daemon? meillo@0: Please choose this option if you want masqmail to start as a fetch meillo@0: daemon. If you do so, masqmail will try to fetch mail from POP3 meillo@0: servers that you configure in regular intervals, detecting the online meillo@0: status first. meillo@0: . meillo@0: No matter what you choose here, you can later select whether you want to fetch meillo@0: mail the moment you get online. meillo@0: meillo@0: Template: masqmail/fetch_daemon_ival meillo@0: Type: string meillo@0: Default: -go5m meillo@0: _Description: Interval for the fetch daemon: meillo@0: Please choose the interval for the fetch daemon. meillo@0: . meillo@0: The format is -go, followed by an numeric value and one of the letters s,m,h,d,w for meillo@0: seconds, minutes, hours, days or weeks respectively. meillo@0: . meillo@0: Reasonable values are between 2 minutes (-go2m) and 2 hours (-go2h). meillo@0: meillo@0: Template: masqmail/ipup_runqueue meillo@0: Type: boolean meillo@0: Default: true meillo@0: _Description: Flush mail queue when you get online? meillo@0: Please choose whether you want masqmail to immediately flush its mail meillo@0: queue as soon as you go online. This will be done in the ip-up script meillo@0: in /etc/ppp/ip-up or in /etc/network/if-up.d/. meillo@0: meillo@0: Template: masqmail/ipup_fetch meillo@0: Type: boolean meillo@0: Default: false meillo@0: _Description: Fetch mail when you get online? meillo@0: Please choose whether you want masqmail to immediately fetch mail meillo@0: from POP3 servers as soon as you go online. This will be done in the meillo@0: ip-up script in /etc/ppp/ip-up or in /etc/network/if-up.d/. meillo@0: meillo@0: Template: masqmail/ifup_ifaces meillo@0: Type: string meillo@0: Default: all meillo@0: _Description: List of interfaces used for masqmail online detection: meillo@0: Please choose a list of network interfaces which will trigger queue meillo@0: runs and/or fetching mails when going up. The list will be used in meillo@0: the /etc/ppp/ip-up and /etc/network/if-up.d/ scripts, when the meillo@0: interface goes up. meillo@0: . meillo@0: A reasonable choice is eg. 'ppp0' for a desktop at home, or 'ppp0 eth0' for meillo@0: a notebook. meillo@0: . meillo@0: Set to 'all' for all interfaces, or 'none' for no interfaces. meillo@0: