/[cvs]/nfo/doc/computing/sysadmin/linux/howto-freevsd-vhost-sendmail.txt
ViewVC logotype

Contents of /nfo/doc/computing/sysadmin/linux/howto-freevsd-vhost-sendmail.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations)
Sun Jan 19 00:51:15 2003 UTC (21 years, 7 months ago) by jonen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
File MIME type: text/plain
+ test

1 $Id: howto-freevsd-vhost-sendmail.txt,v 1.11 2003/01/19 00:42:26 jonen Exp $
2 $Log: howto-freevsd-vhost-sendmail.txt,v $
3 Revision 1.5 2003/01/19 00:01:34 jonen
4 + updated
5
6 Revision 1.4 2002/02/28 21:59:52 cvsbasti
7 modify explantion about 'sendmail.cw'
8
9 Revision 1.3 2002/02/11 03:32:37 cvsbasti
10 first checkin'
11
12
13 =============================
14 main server
15 =============================
16
17 BTW: if you want to have most mail config-scripts in one directory you have to move the files
18 '/etc/sendmail.cw' and '/etc/virtusertable' to '/etc/mail/'.
19 then you *must* change the entry 'FW/etc/sendmail.cw/' in your '/etc/sendmail.cf'
20 to 'FW/etc/mail/sendmail.cw'.
21 for 'aliases' make a link like: #ln -s /etc/aliases /etc/mail/aliases
22 (i did so because of more overview and sure i've been used to do so ;-)
23
24
25 - edit 'sendmail.cf' (i explained above) and
26 add to 'sendmail.cw' all domains for which sendmail should recieve mails
27
28
29 ============================
30 virtuser
31 ============================
32
33 - edit 'virtusertable' and add all mail-users which mail should be recieved for
34 e.g.:
35 user@domain user # for a real-user
36 info@domain info # aliases (see aliases section)
37 user@domain user@other-domain # forwarding
38 @domain account@some.domain # forward all mails to @domain
39 which could not delivered by rules before
40
41
42
43 - build virtusertable.db from virtusertable
44 e.g.:
45 #makemap hash /etc/mail/virtusertable </etc/mail/virtusertable
46
47
48
49 ============================
50 aliases
51 ============================
52
53 - edit 'aliases' and add an aliases which you want to map on some user or mail-address or mailing-list
54 e.g:
55 info: admin,user2,user2 # deliver all mails for alias 'info' to admin,user1,user2
56 info: user@domain.com # forward all mails for alias 'info' to user@domain.com
57 info-list: :include:/<path-to-your-file>/info-list # deliver all mails for alias 'info-list' to every
58 user recorded in file 'info-list'
59
60 - create aliases with:
61
62 # newaliases
63
64
65 - know you see the little trick of using 'included'-file for e.g. mailing-lists
66 because you only have to edit the plain-text-formated 'iclided'-file
67 and don't need a '#newalises' if you changed it
68 sample for a 'included'-file:
69
70 user1@domain.com
71 user2@domain.com
72
73

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed