ohmynux의 test 홈페이지 입니다.

linux

qmail 구조도

Mail 조회 수 889 추천 수 0 2010.03.05 16:11:58
extra_vars1 :  
extra_vars2 :  

Local to local

        Original message:

To: fred
Hi.

qmail-inject Fill in the complete envelope and header:

| (envelope) from joe@heaven.af.mil to fred@heaven.af.mil
| From: joe@heaven.af.mil
| To: fred@heaven.af.mil
|
| Hi.
V

qmail-queue Store message safely on disk.
Trigger qmail-send.
|
V

qmail-send Look at envelope recipient, fred@heaven.af.mil.
| Is heaven.af.mil in locals? Yes.
| Deliver locally to fred@heaven.af.mil.
V

qmail-lspawn ./Mailbox

| Look at mailbox name, fred.
| Is fred listed in qmail-users? No.
| Is there a fred account? Yes.
| Is fred's uid nonzero? Yes.
| Is ~fred visible to the qmailp user? Yes.
| Is ~fred owned by fred? Yes.
| Give control of the message to fred.
| Run qmail-local.
V

qmail-local fred ~fred fred '' '' heaven.af.mil joe@heaven.af.mil ./Mailbox

Does ~fred/.qmail exist? No.
Write message to ./Mailbox in mbox format.


Local to local extension

          Original message:

To: fred-sos
Hi.

qmail-inject Fill in the complete envelope and header:

| (envelope) from joe@heaven.af.mil to fred-sos@heaven.af.mil
| From: joe@heaven.af.mil
| To: fred-sos@heaven.af.mil
|
| Hi.
V

qmail-queue Store message safely on disk.
Trigger qmail-send.
|
V

qmail-send Look at envelope recipient, fred-sos@heaven.af.mil.
| Is heaven.af.mil in locals? Yes.
| Deliver locally to fred-sos@heaven.af.mil.
V

qmail-lspawn ./Mailbox

| Look at mailbox name, fred-sos.
| Is fred-sos listed in qmail-users? No.
| Is there a fred-sos account? No.
| Is there a fred account? Yes.
| Is fred's uid nonzero? Yes.
| Is ~fred visible to the qmailp user? Yes.
| Is ~fred owned by fred? Yes.
| Give control of the message to fred.
| Run qmail-local.
V

qmail-local fred ~fred fred-sos - sos heaven.af.mil joe@heaven.af.mil ./Mailbox

Does ~fred/.qmail-sos exist? Yes: "./Extramail".
Write message to ./Extramail in mbox format.


Local to virtual

      Original message:

To: dude@tommy.gov
Hi.

qmail-inject Fill in the complete envelope and header:

| (envelope) from joe@heaven.af.mil to dude@tommy.gov
| From: joe@heaven.af.mil
| To: dude@tommy.gov
|
| Hi.
V

qmail-queue Store message safely on disk.
Trigger qmail-send.
|
V

qmail-send Look at envelope recipient, dude@tommy.gov.
| Is tommy.gov in locals? No.
| Is dude@tommy.gov in virtualdomains? No.
| Is tommy.gov in virtualdomains? Yes: "tommy.gov:fred".
| Deliver locally to fred-dude@tommy.gov.
V

qmail-lspawn ./Mailbox

| Look at mailbox name, fred-dude.
| Is fred-dude listed in qmail-users? No.
| Is there a fred-dude account? No.
| Is there a fred account? Yes.
| Is fred's uid nonzero? Yes.
| Is ~fred visible to the qmailp user? Yes.
| Is ~fred owned by fred? Yes.
| Give control of the message to fred.
| Run qmail-local.
V

qmail-local fred ~fred fred-dude - dude tommy.gov joe@heaven.af.mil ./Mailbox

Does ~fred/.qmail-dude exist? No.
Does ~fred/.qmail-default exist? Yes: "./Mail.tommy".
Write message to ./Mail.tommy in mbox format.


Local to local alias

      Original message:

To: help
Hi.

qmail-inject Fill in the complete envelope and header:

| (envelope) from joe@heaven.af.mil to help@heaven.af.mil
| From: joe@heaven.af.mil
| To: help@heaven.af.mil
|
| Hi.
V

qmail-queue Store message safely on disk.
Trigger qmail-send.
|
V

qmail-send Look at envelope recipient, help@heaven.af.mil.
| Is heaven.af.mil in locals? Yes.
| Deliver locally to help@heaven.af.mil.
V

qmail-lspawn ./Mailbox

| Look at mailbox name, help.
| Is help listed in qmail-users? No.
| Is there a help account? No.
| Give control of the message to alias.
| Run qmail-local.
V

qmail-local alias ~alias help - help heaven.af.mil joe@heaven.af.mil ./Mailbox

Does ~alias/.qmail-help exist? Yes: "john".
Forward message to john.


Local to remote

 Original message:

To: bill@irs.gov
Hi.

qmail-inject Fill in the complete envelope and header:

| (envelope) from joe@heaven.af.mil to bill@irs.gov
| From: joe@heaven.af.mil
| To: bill@irs.gov
|
| Hi.
V

qmail-queue Store message safely on disk.
Trigger qmail-send.
|
V

qmail-send Look at envelope recipient, bill@irs.gov.
| Is irs.gov in locals? No.
| Is bill@irs.gov in virtualdomains? No.
| Is irs.gov in virtualdomains? No.
| Is .gov in virtualdomains? No.
| Deliver remotely to bill@irs.gov.
V

qmail-rspawn Run qmail-remote.

|
V

qmail-remote Look at host name, irs.gov.
Is irs.gov listed in smtproutes? No.
Look up DNS MX/A for irs.gov and connect to it by SMTP:

MAIL FROM:<joe@heaven.af.mil>
RCPT TO:<bill@irs.gov>


Null client

    Original message:

To: bill@irs.gov
Hi.

qmail-inject Fill in the complete envelope and header:

| (envelope) from joe@heaven.af.mil to bill@irs.gov
| From: joe@heaven.af.mil
| To: bill@irs.gov
|
| Hi.
V

qmail-queue Store message safely on disk.
Trigger qmail-send.
|
V

qmail-send Look at envelope recipient, bill@irs.gov.
| Is irs.gov in locals? No.
| Is bill@irs.gov in virtualdomains? No.
| Is irs.gov in virtualdomains? No.
| Is .gov in virtualdomains? No.
| Deliver remotely to bill@irs.gov.
V

qmail-rspawn Run qmail-remote.

|
V

qmail-remote Look at host name, irs.gov.
Is irs.gov listed in smtproutes? Yes: ":bigbang.af.mil".
Look up DNS A for bigbang.af.mil and connect by SMTP:

MAIL FROM:<joe@heaven.af.mil>
RCPT TO:<bill@irs.gov>


Remote to local
qmail-smtpd     Receive message by SMTP from another host:

| MAIL FROM:<bill@irs.gov>
| RCPT TO:<joe@heaven.af.mil>
|
| Is $RELAYCLIENT set? No.
| Is heaven.af.mil in rcpthosts? Yes.
| Accept RCPT.
V

qmail-queue Store message safely on disk.
Trigger qmail-send.
|
V

qmail-send Look at envelope recipient, joe@heaven.af.mil.
| Is heaven.af.mil in locals? Yes.
| Deliver locally to joe@heaven.af.mil.
V

qmail-lspawn ./Mailbox

| Look at mailbox name, joe.
| Is joe listed in qmail-users? No.
| Is there a joe account? Yes.
| Is joe's uid nonzero? Yes.
| Is ~joe visible to the qmailp user? Yes.
| Is ~joe owned by joe? Yes.
| Give control of the message to joe.
| Run qmail-local.
V

qmail-local joe ~joe joe '' '' heaven.af.mil bill@irs.gov ./Mailbox

Does ~joe/.qmail exist? No.
Write message to ./Mailbox in mbox format.


Unauthorized relaying
qmail-smtpd     Receive message by SMTP from another host:

MAIL FROM:<spammer@aol.com>
RCPT TO:<bill@irs.gov>

Is $RELAYCLIENT set? No.
Is irs.gov in rcpthosts? No.
Reject RCPT.


Authorized relaying
qmail-smtpd     Receive message by SMTP from another host:

| MAIL FROM:<joe@heaven.af.mil>
| RCPT TO:<bill@irs.gov>
|
| Is $RELAYCLIENT set? Yes: "".
| Accept RCPT.
V

qmail-queue Store message safely on disk.
Trigger qmail-send.
|
V

qmail-send Look at envelope recipient, bill@irs.gov.
| Is irs.gov in locals? No.
| Is bill@irs.gov in virtualdomains? No.
| Is irs.gov in virtualdomains? No.
| Is .gov in virtualdomains? No.
| Deliver remotely to bill@irs.gov.
V

qmail-rspawn Run qmail-remote.

|
V

qmail-remote Look at host name, irs.gov.
Is irs.gov listed in smtproutes? No.
Look up DNS MX/A for irs.gov and connect to it by SMTP:

MAIL FROM:<joe@heaven.af.mil>
RCPT TO:<bill@irs.gov>

출처: http://cr.yp.to/qmail/pictures.html
List of Articles
번호 제목 글쓴이 날짜 조회 수
공지 Linux 안녕에 +오라클9i 설치하기 secret ohmynux 2006-06-07 3
공지 Linux Linux Proxy Server - Squid secret ohmynux 2009-01-09 7
공지 Databases mysql 여러가지 유형의 join secret ohmynux 2009-01-29 3
공지 Script Perl secret ohmynux 2009-01-19 2
공지 Apache apache에서 이미지 캐싱 처리(mod_expires) secret ohmynux 2009-04-24 2
공지 Apache GeoIP 활용(아파치 웹로그에 국가코드 남기기 외) secretimage ohmynux 2009-04-24 2
공지 Linux 주기적으로 체크/수행 해줘야 하는 항목 secret ohmynux 2009-04-30 2
공지 Windows Tip 현업 서버 관리자교육 자료(보안체크리스트) secret ohmynux 2009-04-30 5
공지 Linux 리눅스 서버 보안 실무 (요약) secret ohmynux 2009-05-26 7
274 Network ipTIME 공유기를 스위치(허브)로 변경하는 방법 image ohmynux 2010-03-21 2351
273 Linux /etc/cron.daily/rpm errors ohmynux 2010-03-19 1715
272 Script 파일다운로드 ohmynux 2010-03-19 1875
271 Script FTP로 지워지지 않는 파일 삭제방법 (퍼미션변경 및 파일/폴더삭제방법) ohmynux 2010-03-15 2482
270 Script php 함수 - mysql_fetch_assoc [1] ohmynux 2010-03-11 2512
269 Script 카피라이트(Copyright)에 연도를 자동으로 변경하자 ohmynux 2010-03-11 1577
268 etc secure crt 설정 ohmynux 2010-03-09 2564
267 Script 간단한 네트웍 트래픽 측정 스크립트 ohmynux 2010-03-09 1751
» Mail qmail 구조도 ohmynux 2010-03-05 889
265 Linux 우분투에서 rpm 설치하기 ohmynux 2010-03-05 2218
264 Linux xferlog 파일 분석 ohmynux 2010-03-05 1123
263 Network eth0 속도 확인하기 및 변경하기 ohmynux 2010-03-05 1313
262 Linux 시그널의 종류 ohmynux 2010-03-05 1618
261 Linux script 명령으로 특정계정의 화면 제어하기 ohmynux 2010-03-04 1021
260 Linux history 시간표시 ohmynux 2010-03-04 1110
259 Linux awstats 설치 [1] ohmynux 2010-03-03 1675
258 Linux 20 Linux System Monitoring Tools Every SysAdmin Should Know image ohmynux 2010-02-18 756
257 Linux Zabbix vs Nagios 비교 ohmynux 2010-02-17 2096
256 Databases yum 설치시 my.cnf 설정사항 image ohmynux 2010-02-16 1799
255 Linux apache + tomcat 연동 mod_proxy_ajp ohmynux 2010-02-06 2309

서비스 링크

아이디가 없으신 분은

회원가입 후 이용하실 수 있습니다.