Skip to main content  
        IBM System i home   |   Easy400     |   MMail  
Public-Source
 
Introduction
Installation
Define users
Work as user
Appendix A - Setting the environment for local mail users
Appendix B - Mail receiving and delivering system
Appendix C - Processing incoming mail your own way
Appendix D - Tools
Appendix E - AMailer commands
FAQ
Index
 
Download
 
 

 
Search   
AMailer - Appendix E
Commands

MMAIL comtains a great deal of commands.
The most commonly used commands are documented in this page.
With regard to AMailer we have three classes of commands:

1. Set up commands

  • AMCOMPILE
    This command is used during MMAIL installation to create all the programs making up AMailer.
  • AMINSTALL
    This command is used during MMAIL installation complete AMailer installation.
  • AMUNINSTALL
    This command is is available to uninstall AMailer from MMAIL.
  • AMNEWLUSR
    This command may be used by a class SECOFR user profile to generate AMailer local users, as an alternative to use the CGI program MAILUSERS (see this page).
    Before using command AMNEWLUSR, make sure to run the following commands
    • ENDTCPSVR *POP
    • ENDTCPSVR *SMTP

2. Control commands

  • REROUTE
    Use this command to reroute to a different address the e-mail messages received - within a given date interval - for a given AMailer user.
  • SETPOSTMAN
    Use this command to set the idle time for the batch never-ending mail-receiving job POSTMAN.
  • STRPOSTMAN
    Starts the batch never-ending mail-receiving job POSTMAN.
  • ENDPOSTMAN
    Ends the batch never-ending mail-receiving job POSTMAN.
  • Pop trace commands used to log a trace of the requests sent to POP servers from service program MMAIL/SOCKETMAIL (POP trace can help understanding what could be wrong with a POP server):
    POPTRC_STRStart POP trace
    POPTRC_ENDEnd POP trace
    POPTRC_CLRClear POP trace
    POPTRC_DSPDisplay POP trace

3. Commands used within AMailer
The following commands are used by AMailer programs:

  • AMDETACH
    Used to detach attachments from e-mail messages.
  • AMEXTBODY
    Used to extact a body from an e-mail message.
  • AMGETMAILB
    Used to run a non-ending program intended to receive incoming mail.
  • AMQPDECODE
    Used to decode a quoted-printable stream.
  • AM64DECODE
    Used to decode a base64 stream.
  • AM64ENCODE
    Used to encode a stream to base64 stream.

4. AMailer-developer commands
The following commands are used by the MMAIL author to test AMailer individual functions:

  • AMDEBODY
    Used to test program AMDEBODY, that detachs a message body from an e-mail message.
  • AMIFOUTOF
    Used to test program AMIFOUTOF, that files out-of-office information.
  • AMPROPERT
    Used to test message properties.



    Contact