# /etc/mailgw/mailgw.conf # # General configuration for the nntp/smtp <> pbbs gateway. # # Local fqdn (the address we get our smtp mail as) HostName on0baf.baf.be.ampr.org # Callsign used on packet Callsign on0baf # Full pbbs hierarchical address HRoute ON0BAF.LM.BEL.EU # QTH string, inserted on the R: line Qth "Sint-Truiden, JO20OS" # # Logging # # Loglevel: Sum of the following options: # #define L_ERR 1 /* Error conditions (file trouble, etc) */ #define L_R_ERR 2 /* Routing errors (no route mappings) */ #define L_ROUTING 4 /* How each message was routed */ #define L_START 8 /* Starting and stopping of nntp_rcv and pbbs_rcv #define L_INFO 16 /* Informative messages (non-problems) */ #define L_DEBUG 32 /* Debugging messages (verbose) */ #define L_STATS 64 /* Statistics (message counts, etc) */ LogLevel 127 # LogDest: Sum of the following options: # #define L_STDERR 1 /* Log to stderror - breaks smtp_rcv with some # mailers */ #define L_SYSLOG 2 /* Log to syslog */ LogDest 2 # # Files # # pbbs import file (which we write the messages to) ImportFile /var/spool/mailgw/mail.in # Lock file for the import file ImportLock /var/lock/mailgw.in # pbbs export file (which the pbbs forwards to) ExportFile /var/spool/mailgw/mailgw.out # Lock file for the export file ExportLock /var/lock/mailgw.lck # smpt/nntp export spool directory (must be created before starting mailgw!) # Temporary directory used for feeding articles to inn and the smtp MTA. SpoolDir /var/spool/mailgw # Where innxmit and sendmail (or equivalent) hide InnXmit /usr/lib/news/bin/innxmit Sendmail /usr/sbin/sendmail #Sendmail /usr/mail/bin/dumb-mailer