/[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.4 - (hide annotations)
Thu Feb 28 21:59:52 2002 UTC (22 years, 6 months ago) by cvsbasti
Branch: MAIN
Changes since 1.3: +6 -3 lines
File MIME type: text/plain
modify explantion about 'sendmail.cw'

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

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