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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (hide annotations)
Sun Jan 19 00:31:26 2003 UTC (21 years, 8 months ago) by jonen
Branch: MAIN
Changes since 1.6: +2 -1 lines
File MIME type: text/plain
+ test

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

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