/[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.1 - (hide annotations)
Mon Feb 11 03:29:47 2002 UTC (22 years, 7 months ago) by cvsbasti
Branch: MAIN
File MIME type: text/plain
first checkin'

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

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