Java(tm) Mailserver 

Meaning of entries in the jmailsrv.cfg:
 
  • LocalDomain
    # sample: LocalDomain=yourdomain.com
    # syntax: LocalDomain=domain name of the local domain
    # local domain name will be used to differentiate between local and remote mail
  • Home
    # sample: Home=D\:\\mailserver
    # syntax: Home=valid path to the mailserver work directory
    # full path to the directory where the usermaildirectories will be
    # and status files can be created
  • DNServer
    # sample: DNServer=192.168.100.100
    # syntax: DNServer=IP address of your DNS Server
    # Domain Name Server that should be used for nameresolution
    # and status files can be created
  • POP3.localPort
    # sample: POP3.localPort=110
    # syntax: POP3.localPort=portnumber
    # the local POP server - 110 is default
  • POP3.timeout
    # sample: POP3.timeout=30000
    # syntax: POP3.timeout=milliseconds
    # porttimeout in milliseconds

  • Fetch
    # sample: Fetch0=pop.yourISP1.com;username1;password1;110
    # sample: Fetch1=pop.yourISP2.com;username2;password2;110
    # syntax: Fetchx=Popservername;Username;Password;PopServer Port
    # to fetch automatically mail from remote POP accounts
    # the usernames used for this accounts MUST be either valid mailserver users
    # or alias of existing users !!
  • SMTP.server
    # sample: SMTP.server=mail.youISP.com
    # syntax: SMTP.server=name of your ISPs mailserver
    # your ISPs SMTP server, where all outgouing mail will be forwarded to
    # if no DNSServer is specified or no MX record for a specific domain is found
  • SMTP.remotePort
    # sample: SMTP.remotePort=25
    # syntax: SMTP.remotePort=portnumber
    # the port for the remote SMTP server (your ISPs), for outgoing mail
    # will only be used if SMTP.server is specified and no DNSServer is used
  • SMTP.localPort
    # sample: SMTP.localPort=25
    # syntax: SMTP.localPort=portnumber
    # the port for the local SMTP server, for incomming requests
  • SMTP.timeout
    # sample: SMTP.timeout=30000
    # syntax: SMTP.timeout=milliseconds
    # Socket timeout in milliseconds
  • SMTP.filterClass
    # sample: SMTP.filterClass=at.jps.mailserver.ProhibitRelayFilter
    # syntax: SMTP.filterClass=full qualified classname implementing at.jps.mailserver.IncomingMailFilter
    # this class has to be in you CLASSPATH and will be instantiated
    # once at startup. It will be used to filter incoming mail
    # can be used for filtering spammail and to prohibit mail relaying
    # ! not used in this release !

  • User.username
    # sample: User.bob=Bobby;Postmaster;AndSoOn
    # syntax: User.username=alias1;alias2;alias3
    # specify several alias' for an existing useraccount
    # caution ! alle usernames are stored in lowercase ! therefore 'username' has also to be specified in lower case
  • User.unknown
    # sample: User.unknown=Bob
    # syntax: User.unknown=existingusername
    # this property specifies an existing user to which all undeliverable local mail
    # will be send to
  • User.admin
    # sample: User.admin=Bob
    # syntax: User.admin=existingusername
    # this property specifies an existing user how will be treated as postmaster
    # all allerts (copies if any) and bugreports will be sent to

  • Logfile.POP3
    # sample: Logfile.POP3=D\:\\mailserver\\pop3.log
    # syntax: Logfile.POP3=filename of logfile
    # logfile for POP3 traffic
  • Logfile.SMTP
    # sample: Logfile.SMTP=D\:\\mailserver\\smtp.log
    # syntax: Logfile.SMTP=filename of logfile
    # logfile for SMTP traffic
  • Logfile.Sender
    # sample: Logfile.Sender=D\:\\mailserver\\sender.log
    # syntax: Logfile.Sender=filename of logfile
    # logfile for outgoing mail traffic
  • Logfile.Fetcher
    # sample: Logfile.Fetcher=D\:\\mailserver\\fetcher.log
    # syntax: Logfile.Fetcher=filename of logfile
    # logfile for mail fetched from remote mail accounts
  • Logfile.Status
    # sample: Logfile.Status=D\:\\mailserver\\status.log
    # syntax: Logfile.Status=filename of logfile
    # logfile for status reports
  • Logfile.Transaction
    # sample: Logfile.Transaction=D\:\\mailserver\\tx.log
    # syntax: Logfile.Transaction=filename of logfile
    # logfile for transaction logs

  • Fetcher.delay_time
    # sample: Fetcher.delay_time=10
    # syntax: Fetcher.delay_time=time in minutes
    # delay between accesses to remote mailbox by fetcher daemon
  • Fetcher.runDaemon
    # sample: Fetcher.runDaemon=true
    # syntax: Fetcher.runDaemon=true/false
    # enable/disable fetcher daemon ie. collect remote mail locally
    # use this setting only if your mailserver has permanent internet access
  • Sender.runDaemon
    # sample: Sender.runDaemon=true
    # syntax: Sender.runDaemon=true/false
    # enable/disable sender daemon ie. to send outgoing mail immediatly
    # use this setting only if your mailserver has permanent internet access
  • Sender.reply_timeout
    # sample: Sender.reply_timeout=500
    # syntax: Sender.reply_timeout=milliseconds
    # timeout for incoming mail, to avoid broken connections waiting forever
  • Sender.wait_timeout
    # sample: Sender.wait_timeout=20
    # syntax: Sender.wait_timeout=minutes
    # retry time for undeliveravle outgoing mails

  • BigBrother
    # sample: BigBrother=true
    # syntax: BigBrother=true/false
    # send a copy of each mail incoming & outgoing to the mail admin
    # should be used for testing purpose only
  • ShowStatusWindow
    # sample: ShowStatusWindow=true
    # syntax: ShowStatusWindow=true/false
    # opens a swing gui window for displaying mail transaction results
    # not fully supported in this release
  • RegisterRMIInterface
    # sample: RegisterRMIInterface=false
    # syntax: ShowStatusWindow=true/false
    # allows remote administration of a running server instance
    # not fully supported in this release

  • JDBC.enabled
    # sample: JDBC.enabled=false
    # syntax: JDBC.enabled=true/false
    # use a JDBC database instead of the local filesystem as mailstore
  • JDBC.driver
    # sample: JDBC.Driver=org.gjt.mm.mysql.Driver
    # syntax: JDBC.Driver=full qualified classname of JDBC driver
    # the JDBC driver class has to be in your CLASSPATH
  • JDBC.URL
    # ssample: JDBC.URL=jdbc\:mysql\://www.yourdomain.com\:3306/MAIL?User=Bob&Password=pwd&autoReconnect=true
    # syntax: JDBC.URL=a valid URL for your JDBC driver ( see JDBC driver doc for details)
    # the JDBC driver class has to be in your CLASSPATH