postfix, mailscanner, mail relay
Ugo Bellavance
ugob at CAMO-ROUTE.COM
Sun Jan 4 16:48:01 GMT 2004
Sorry, forgot to send to the list...
> -----Message d'origine-----
> De : Harondel J. Sibble [mailto:help at pdscc.com]
> Envoyé : Sunday, January 04, 2004 10:54 AM
> À : Ugo Bellavance
> Objet : RE: postfix, mailscanner, mail relay
>
>
>
>
> On 4 Jan 2004 at 8:54, Ugo Bellavance wrote:
> > > contents of the transport file
> > > somedomain.com smtp:10.10.10.21
> >
> > here it should be :
> > somedomain.com smtp:[10.10.10.21]
> > or
> > somedomain.com esmtp:[10.10.10.21]
>
> Ugo, I made that change, but still having same problem...
> <sigh>. I modified
> the transport file, rehashed it and restarted MS.
>
Have you tried deleting the account you want to be relayed to your internal server?
> the /etc/postfix.in/mail.cf is setup thusly.
>
> queue_directory = /var/spool/postfix.in
> myhostname = mailscan.somedomain.com
> mydomain = somedomain.com
> myorigin = $mydomain
> inet_interfaces = all
> mydestination = $myhostname, localhost.$mydomain, $mydomain
> local_recipient_maps =
> mynetworks_style = subnet
> the mynetworks value is not defined
> relay_domains =
> there is no transport map defined
> alias_maps = hash:/etc/postfix/aliases # ?should this be
> changed postfix.in?
>
> the /etc/postfix/mail.cf is as follows, maybe I've got
> something crossed
> between the 2 files?
>
> > > 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
>
> --
> 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