Re: mailserver problem sending email onbehave of outside clients
Martin,
First I would like to thank you very dearly for helping and getting back so
fast.
also
> mynetworks = 192.168.1.101, 127.0.0.1
>That looks OK, but if its always been set that way, how come you're
>saying that you've been relaying mail that doesn't originate locally?
the reason was initally "mynetworks" was set to our IP address which was
wrong, this was changed
about 3-4 weeks ago to the values you see here.
> In that case why are you restricting your mail sources to a private
> Class C network?
I do not know what you mean by Class C? I am still new to the mailsystem
with very limited experience. can you please
clearify the term "Class C"?
> relay_host = my.ISP's.smtp_server
I guess in sense our server is an ISP, but then we have an ISP above us
which is RCN.com Would this mean we would have to contact RCN for
the name of their smtp?
Reguard
Dave
"Martin Gregorie" <martin@see.sig.for.address> wrote in message
news:3qg5k4-h3l.ln1@zoogz.gregorie.org...
> daveshow wrote:
> > To clarify we are sending greeting E-cards on behave of clients/users
via
> > html form
> >
> >> - limit where you accept mail from to your own users (relay_domain)
> > "relay_domain" varible is not set, should this be set to our main
> > domain?
> > relay_domain=
> >
> Mine is set to:
>
> relay_domains = $mydomain
>
> which will prevent Postfix sending mail directory to anybody outside my
LAN.
> In order to send mail across the internet I also set:
>
> relay_host = my.ISP's.smtp_server
>
> > Our settings for Postfix "main.cf" relaying are local
> > mynetworks = 192.168.1.101, 127.0.0.1
>
> That looks OK, but if its always been set that way, how come you're
> saying that you've been relaying mail that doesn't originate locally?
>
> > disable_dns_lookup = yes
> >
> This won't restrict where mail can be sent to but may interfere with
> legit. outgoing mail.
>
> > relay_host=
> > the "relay_host" variable is not set. Should this be set to our
> > domain/ip?
> >
> See above for the setting and the reason for doing it.
>
> >> - always send mail via your ISP's mail server (relay_host)
> > please explain more detail how to set the "relay_host" varible.
> > We are a server/mailserver
> >
> In that case why are you restricting your mail sources to a private
> Class C network?
>
> How is your mail server connected to the wider internet?
>
>
> --
> martin@ | Martin Gregorie
> gregorie. | Essex, UK
> org |
|