nightmaremail

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

PIC.local2virt (1709B)


      1                 Original message:
      2                    
      3                    To: dude@tommy.gov
      4                    Hi.
      5                    
      6 qmail-inject    Fill in the complete envelope and header:
      7                    
      8      |             (envelope) from joe@heaven.af.mil to dude@tommy.gov
      9      |             From: joe@heaven.af.mil
     10      |             To: dude@tommy.gov
     11      |             
     12      |             Hi.
     13      V             
     14                    
     15 qmail-queue     Store message safely on disk.
     16                 Trigger qmail-send.
     17      |             
     18      V             
     19                    
     20 qmail-send      Look at envelope recipient, dude@tommy.gov.
     21      |          Is tommy.gov in locals? No.
     22      |          Is dude@tommy.gov in virtualdomains? No.
     23      |          Is tommy.gov in virtualdomains? Yes: "tommy.gov:fred".
     24      |          Deliver locally to fred-dude@tommy.gov.
     25      V          
     26                    
     27 qmail-lspawn ./Mailbox
     28                    
     29      |          Look at mailbox name, fred-dude.
     30      |          Is fred-dude listed in qmail-users? No.
     31      |          Is there a fred-dude account? No.
     32      |          Is there a fred account? Yes.
     33      |          Is fred's uid nonzero? Yes.
     34      |          Is ~fred visible to the qmailp user? Yes.
     35      |          Is ~fred owned by fred? Yes.
     36      |          Give control of the message to fred.
     37      |          Run qmail-local.
     38      V          
     39                    
     40 qmail-local fred ~fred fred-dude - dude tommy.gov joe@heaven.af.mil ./Mailbox
     41                    
     42                 Does ~fred/.qmail-dude exist? No.
     43                 Does ~fred/.qmail-default exist? Yes: "./Mail.tommy".
     44                 Write message to ./Mail.tommy in mbox format.