File: 03-debian-locations.patch

package info (click to toggle)
dma 0.14-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 440 kB
  • sloc: ansic: 3,087; makefile: 127; sh: 90; yacc: 89; lex: 24
file content (41 lines) | stat: -rw-r--r-- 1,417 bytes parent folder | download | duplicates (4)
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
Description: Customize the /etc/dma configuration files for Debian.
 On Debian, the aliases file lives in /etc, not /etc/mail.
 Define a smarthost by default, albeit an invalid one.
Origin: other: http://svn.ringlet.net/svn/ringlet/mail/dma/
Forwarded: not-needed
Author: Peter Pentchev <roam@ringlet.net>
Last-Update: 2010-07-27

--- a/dma.8
+++ b/dma.8
@@ -165,7 +165,7 @@ can be configured in
 .Pa dma.conf .
 .Bl -tag -width 4n
 .It Ic SMARTHOST Xo
-(string, default=empty)
+(string, default=mail.example.com)
 .Xc
 If you want to send outgoing mails via a smarthost, set this variable to
 your smarthosts address.
--- a/dma.conf
+++ b/dma.conf
@@ -4,7 +4,7 @@
 # smarthost support.
 # NOTE: on Debian systems this is handled via debconf!
 # Please use dpkg-reconfigure dma to change this value.
-#SMARTHOST
+#SMARTHOST mail.example.com
 
 # Use this SMTP port.  Most users will be fine with the default (25)
 #PORT 25
@@ -50,7 +50,9 @@
 # If not set or empty, the result of gethostname(2) is used.
 # If MAILNAME is an absolute path to a file, the first line of this file
 # will be used as the hostname.
-#MAILNAME mail.example.net
+# NOTE: on Debian systems this is handled via debconf!
+# Please use dpkg-reconfigure dma to change this value.
+MAILNAME /etc/mailname
 
 # Masquerade envelope from addresses with this address/hostname.
 # Use this if mails are not accepted by destination mail servers because