View Single Post

  #8 (permalink)  
Old 06-23-2007
daveshow
 
Posts: n/a
Default Re: mailserver problem sending email onbehave of outside clients

Martin

I have tried the "relayhost=" smtp.myhost.com and it works, we can sendmail
to places that would never accept the mail before.
Thank you!

Only one problem, with this configuration we cannot send email to our
server.
Ex : If I am sending a message from Hotmail.com -> myServer.com
the message will not go though. myServer.com
"REJECTED", "RELAY ACCESS DENIED"

what could be the problem?
could it be I need to setup the "virtual" file for postfix or
transport.cf?



"daveshow" <daveshow@hotmail.com> wrote in message
news:a9KdndhTne355u3bnZ2dnUVZ_jKdnZ2d@rcn.net...
> Martin
>
> Thank you for the Class C explanation
>
> Thank you for all your good advise I will try all recommended possiblities
> Then I'll get back to you and let you know how things went
>
> Cheers!
>
> dave
>
> "Martin Gregorie" <martin@see.sig.for.address> wrote in message
> news:6lr5k4-f9m.ln1@zoogz.gregorie.org...
> > daveshow wrote:
> > >> 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.
> > >

> > Understood.
> >
> > >> 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"?
> > >

> > Its standard TCP/IP networking terminology. A class C network is by
> > definition a private network made up from up to 255 subnets, each
> > containing up to 255 terminal addresses, i.e. a maximum of 65025
> > addresses. A class C address always takes the form 192.168.x.y where 'x'
> > is the subnet address and 'y' is a host address within the subnet.
> >
> > Class C addresses are meaningless outside the private network: you need
> > a router do connect it to the wider internet and translate internal
> > addresses into full unrestricted IP addresses. Most small networks
> > connect via a NAT router that has a single external IP address (assigned
> > by the ISP from its user IP block) and knows how to handle connections
> > between the Internet and your internal systems.
> >
> > >> 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?
> > >

> > Its normal to route all your outgoing mail through your ISP's mail
> > server unless your mail traffic levels are high enough to require other
> > arrangements. There are reasons for this:
> >
> > - all too many Windows PC owners are clueless and run unprotected
> > PCs that get infected and turned into spam spewing members of 'bot
> > nets.
> >
> > - because of this a lot of ISPs and anti-spam blacklists block mail
> > coming directly from an ISP's user IP address range. If your ISP
> > has harbored spammers in the past it will probably be blocked this

way
> > and (by association) you will be blocked too. The way to avoid being
> > blocked this way is to route your mail through your ISP's SMTP

server,
> > which will scan outbound mail for infections and spam so it does not
> > get blocked in turn.
> >
> > Your ISP will tell you the name of its SMTP server. You set that as the
> > 'relay_host' argument and job done.
> >
> > Incoming spam and nastiness.
> >
> > Unless you know that your ISP is running anti-spam and AV filters you'd
> > do well to configure Postfix to provide your own. Spamassassin and
> > ClamAV are both well regarded and work well with Postfix. I use
> > Spamassassin. It 'just works'. I have no need to bother with AV, but
> > then I don't use Windoze boxes to handle mail. If/when I have that
> > requirement I'll probably install ClamAV.
> >
> >
> > --
> > martin@ | Martin Gregorie
> > gregorie. | Essex, UK
> > org |

>
>



Reply With Quote