postfix, mailscanner, mail relay

Harondel J. Sibble mailscanner at pdscc.com
Sun Jan 4 05:30:33 GMT 2004


On 31 Dec 2003 at 19:55, Ugo Bellavance wrote:

> Please show us your main.cf.

I'll assume you mean the main.cf governing the outbound queue. Comments and
stuff not modified by me have been removed for ease of reading.  The
mailscanner machine is at 10.10.10.20. The sonicwall nat router allows port
25 in to this box only. The expected behaviour is that once the mailscanner
box has checked the mail, it forwards all mail to the internal mailserver.
The internal mailserver is at 10.10.10.21.

queue_directory = /var/spool/postfix
mail_owner = postfix
myhostname = mailscan.somehost.com
mydomain = somehost.com
myorigin = $mydomain
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, $mydomain
local_recipient_maps =
mynetworks_style = subnet
mynetworks = 10.10.10.0/24
relay_domains = $mydestination
#relay_domains =
### added dec 28/03 in conjunction with mailscanner setup
transport_maps = hash:/etc/postfix/transport

contents of the transport file

somedomain.com       smtp:10.10.10.21
--
Harondel J. Sibble
Sibble Computer Consulting
Creating solutions for the small business and home computer user.
help at pdscc.com (use pgp keyid 0x3AD5C11D) http://www.pdscc.com
(604) 739-3709 (voice/fax)      (604) 686-2253 (pager)



More information about the MailScanner mailing list