summaryrefslogtreecommitdiff
path: root/messages/hu/README.QMAIL.hu
blob: 9963961d123c7689c90e4539dc6c6ca80e92f1d3 (plain)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
Mailman - The GNU Mailing List Management System
Copyright (C) 1998-2003 by the Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA

QMAIL TAN�CSOK

A k�vetkez�kben p�r hasznos tan�csot olvashatnak azok a felhaszn�l�k,
akik levelez�szerver�k�n qmailt haszn�lnak. Fontos megjegyezn�nk, hogy
a f�fejleszt�k k�z�l senkisem haszn�l qmailt, ez�rt az itt tal�lhat�
le�r�sok a Mailman felhaszn�l�i csoportt�l, f�leg Martin Preishubert�l
�s Christian Tismert�l sz�rmaznak, p�r kieg�sz�t�ssel Balazs Nagyt�l(BN)
�s Norbert Bollowt�l (NB).

- A mail-gid felhaszn�l�nak val�sz�n�, hogy telep�t�skor a --with-mail-gid
  kapcsol�val vagy a "qmail", vagy a "mailman" vagy a "nofiles" �rt�ket
  kell megadnunk.   

  BN: hogy val�j�ban melyiket kell haszn�lnunk a fentiek k�z�l, az f�gg
  a g�p�nk�n be�ll�tott jogosults�gokt�l. P�ld�ul, ha egyszer�en az 
  ~ alias/.qmail-* �llom�nyokat haszn�ljuk, akkor a megfelel� �rt�ket
  megtudhajtuk az `id -g alias` paranccsal. Azonban, ha a /var/qmail/users
  mellett d�nt�nk, akkor a megfelel� felhaszn�l�i azonos�t�t kell
  haszn�lnunk.

- Ha a rendszeren tal�lhat� `mailman' felhaszn�l�, akkor a
  `mailman-owner' alias csak a ~mailman k�nyvt�rban fog m�k�dni.
  Ezen bejegyz�s l�trehoz�s�hoz a ~mailman k�nyvt�rban egy
  "touch .qmail-owner" parancsot kell kiadni.

  NB: Egy m�sik, �s tal�n jobb megold�s a `chown root ~mailman'
  parancs haszn�lata, amellyel megel�zhet�, hogy a qmail a
  `mailman' felhaszn�l�t �gy kezelje, mint akinek k�zbes�teni lehet
  a leveleket. (B�vebben a t�m�r�l `man 8 qmail-getpw'.)

- Az el�z�h�z hasonl� probl�ma az, amikor az egyik levelez�list�nk
  nev�vel megegyez� felhaszn�l�i n�v is tal�lhat� a rendszeren, vagy
  a lista nev�ben van `-' karakter. A felhaszn�l� k�nyvt�r�ba el-
  helyezett .qmail �tirany�t�s ilyenkor nem m�k�dik, mivel a Mailman
  wrapper programja nem a megfelel� GID-del ker�l megh�v�sra. Megold�s
  a probl�m�ra a k�vetkez� sor elhelyez�se a /var/qmail/users/assign
  �llom�nyban:

  +zope-:alias:112:11:/var/qmail/alias:-:zope-:
  .

  ahol p�ld�ul a listaneve zope-users.

  NB: M�sik megold�s lehet, hogy a list�t egy m�sik virtu�lis 
  tartom�nyban m�k�dtetj�k, �s a /var/qmail/control/virtualdomains
  �llom�nyban megadjuk, hogy a mailman felhaszn�l� kezelje ezt a
  virtu�lis tartom�nyt.

- BN: If inbound messages are delivered by another user than mailman,
  it's necessary to allow it to access ~mailman.  Be sure that
  ~mailman has group writing access and setgid bit is set.  Then put
  the delivering user to mailman group, and you can deny access to
  ~mailman to others.  Be sure that you can do the same with the WWW
  service.

  By the way the best thing is to make a virtual mail server to handle
  all of the mail.  NB: E.g. make an additional "A" DNS record for the
  virtual mailserver pointing to your IP address, add the line
  `lists.kva.hu:mailman' to /var/qmail/control/virtualdomains and a
  `lists.kva.hu' line to /var/qmail/control/rcpthosts file.  Don't
  forget to HUP the qmail-send after modifying "virtualdomains".  Then
  every mail to lists.kva.hu will arrive to mail.kva.hu's mailman
  user.

  Then make your aliases:
      .qmail              => mailman@...'s letters
      .qmail-owner        => mailman-owner's letters


  For list aliases, you can either create them manually:
      .qmail-list         => posts to the 'list' list
      .qmail-list-admin   => posts to the 'list's owner
      .qmail-list-request => requests to 'list'
      etc

  or for automatic list alias handling (when using the lists.kva.hu virtual
  as above), see "contrib/qmail-to-mailman.py" in the Mailman distribution.
  Modify the "~mailman/.qmail-default" to include:

      |/path/to/python /path/to/qmail-to-mailman.py

  and new lists will automatically be picked up.

- You have to make sure that the localhost can relay.  If you start
  qmail via inetd and tcpenv, you need some line the following in your 
  /etc/hosts.allow file:

  tcp-env: 127. 10.205.200 : setenv RELAYCLIENT

  where 10.205.200. is your IP address block.  If you use tcpserver, then you
  need something like the following in your /etc/tcp.smtp file:

  10.205.200.:allow,RELAYCLIENT=""
  127.:allow,RELAYCLIENT=""

- BN: Bigger /var/qmail/control/concurrencyremote values work better
  sending outbound messages, within reason.  Unless you know your system
  can handle it (many if not most cannot) this should not be set to a value
  greater than 120.

- More information about setting up qmail and relaying can be found in 
  the qmail documentation.

BN: V�g�l, de nem utolj�ra itt egy kis programocska a list�k bejegyz�seinek
l�trehoz�s�hoz (ha valami�rt m�g sem akarod, vagy tudod haszn�lni a
"contrib/qmail-to-mailman.py" programot az automatikus listakezel�shez):

Ezt a programot haszn�ljuk a Mailman 2.0-as sorozathoz:
#!/bin/sh
if [ $# = 1 ]; then
    i=$1
    echo Making links to $i in the current directory...
    echo "|preline /home/mailman/mail/mailman post $i" > .qmail-$i
    echo "|preline /home/mailman/mail/mailman mailowner $i" > .qmail-$i-admin
    echo "|preline /home/mailman/mail/mailman mailowner $i" > .qmail-$i-owner
    echo "|preline /home/mailman/mail/mailman mailowner $i" > .qmail-owner-$i
    echo "|preline /home/mailman/mail/mailman mailcmd $i" > .qmail-$i-request
fi

Ezt a programot haszn�ljuk a Mailman 2.1-es sorozathoz:
Megjegyzes: egy frissen telep�tett 2.1-es Mailmanhoz haszn�lhat�. Azok a
            felhaszn�l�k, akik 2.0-as verzi�r�l frissitenek, azoknak
            az /usr/local/mailman el�r�si �tvonal�t mindenhol �t kell
            �rniuk /home/mailman -re. Tov�bbi inform�ci��rt olvassuk el
            a configure --prefix kapcsol�n�l tal�lhat� megjegyz�st.
            
#!/bin/sh
if [ $# = 1 ]; then
    i=$1
    echo Making links to $i in the current directory...
    echo "|preline /usr/local/mailman/mail/mailman post $i" > .qmail-$i
    echo "|preline /usr/local/mailman/mail/mailman admin $i" > .qmail-$i-admin
    echo "|preline /usr/local/mailman/mail/mailman bounces $i" > .qmail-$i-bounces
    # The following line is for VERP
    # echo "|preline /usr/local/mailman/mail/mailman bounces $i" > .qmail-$i-bounces-default
    echo "|preline /usr/local/mailman/mail/mailman confirm $i" > .qmail-$i-confirm
    echo "|preline /usr/local/mailman/mail/mailman join $i" > .qmail-$i-join
    echo "|preline /usr/local/mailman/mail/mailman leave $i" > .qmail-$i-leave
    echo "|preline /usr/local/mailman/mail/mailman owner $i" > .qmail-$i-owner
    echo "|preline /usr/local/mailman/mail/mailman request $i" > .qmail-$i-request
    echo "|preline /usr/local/mailman/mail/mailman subscribe $i" > .qmail-$i-subscribe
    echo "|preline /usr/local/mailman/mail/mailman unsubscribe $i" > .qmail-$i-unsubscribe
fi

INFORM�CI�K A VERP HASZN�LAT�R�L

A feljebb l�that�, 2.1-es sorozathoz haszn�lhat� bejegyz�seket l�trehoz�
programban a VERP-pel kapcsolatos sor ki van 

You will note in the alias generating script for 2.1 above, there is a
line for VERP that has been commented out.  If you are interested in VERP
there are two options.  The first option is to allow Mailman to do the
VERP formatting.  To activate this, uncomment that line and add the
following lines to your mm_cfg.py file:

VERP_FORMAT = '%(bounces)s-+%(mailbox)s=%(host)s'
VERP_REGEXP = r'^(?P<bounces>.*?)-\+(?P<mailbox>[^=]+)=(?P<host>[^@]+)@.*$'

The second option is a patch on SourceForge located at:

http://sourceforge.net/tracker/?func=detail&atid=300103&aid=645513&group_id=103

This patch currently needs more testing and might best be suitable for
developers or people well familiar with qmail.  Having said that, this
patch is the more qmail-friendly approach resulting in large performance
gains.

VIRTU�LIS MAIL SZERVER

As mentioned in the ISSUES area for a virtual mail server, a patch under
testing is located at:

http://sf.net/tracker/index.php?func=detail&aid=621257&group_id=103&atid=300103

Fontos, hogy ezt a jav�t�st csak azok haszn�lj�k akik j�rtassak a
qmail telep�t�s�ben, be�ll�t�s�ban.

TOV�BBI INFORM�CI�K

Norbert Bollow le�r�sa a Mailman l�bl�ceinek m�dos�t�s�r�l a k�vetkez�
c�men �rhet� el:

    http://mailman.cis.to/qmail-verh/


Local Variables:
mode: text
indent-tabs-mode: nil
End: