Re: [Exim] relaying problems - URGENT

Top Page
Delete this message
Reply to this message
Author: volker augustin
Date:  
To: James P. Roberts, exim-users
Subject: Re: [Exim] relaying problems - URGENT
hi,

>You need to look into SMTP AUTH. Google it, study the Exim docs,
>whatever it takes. The idea is to require a username/password (which
>can be encrypted with TLS if you like), before allowing ANYONE to relay
>through your machine. This is the only way I know of to setup remote
>mail users (other than direct dial-up customers) without becoming an
>open relay.


but what if someone want to send a mail to some of your accounts, using
e.g. a yahoo account or gmx?
i tried around with auth, but dont find any possibility to set it to
'smtp to non-localdomains only if authorized'

smtp auth is described in the docs , and working fine, but how to
prevent to send mails from unauthorized hosts to non-localhosts?

im fighting the same problem since some weeks...
i use courier, and there is no chance to do pop / imap before smtp
so i think i will try elliots script posted to the list , thanks! :)

somebody has any other ideas? or an idea to do such auth?


thanks in advance :)
volker

> through your machine. This is the only way I know of to setup remote
> mail users (other than direct dial-up customers) without becoming an
> open relay.
>
> Regards.
>
> Jim Roberts
> Punster Productions, Inc.
>
>
>>I have users outside of my IP block who have email accounts with my,
>>wouldn't that stop them from
>>sending mail?
>>
>>I have no idea.
>>
>>
>>THX
>>
>>DG
>>
>>
>>>----------
>>>From: Elliot Finley
>>>Reply To: Elliot Finley
>>>Sent: Wednesday, October 16, 2002 1:49 PM
>>>To: Gatenby, Damon; exim-users@???
>>>Subject: Re: [Exim] relaying problems - URGENT
>>>
>>>I believe the problem is this line:
>>>
>>>host_accept_relay = gatenby.net
>>>
>>>I'm sure someone will correct me if I'm wrong, but this line enables
>>>spammers to set their from address to anything@??? and your
>
> server
>
>>>will allow them to relay.
>>>
>>>You need to change that line to include only IP blocks rather than
>
> domain
>
>>>name(s).
>>>
>>>HTH
>>>
>>>Elliot
>>>
>>>----- Original Message -----
>>>From: "Gatenby, Damon" <dgatenby@???>
>>>To: <exim-users@???>
>>>Sent: Wednesday, October 16, 2002 11:40 AM
>>>Subject: [Exim] relaying problems - URGENT
>>>
>>>
>>>I have had my mail server up for months without an issue yesterday
>
> it
>
>>>started relaying mail from spammers off my server so I edited my
>
> exim
>
>>>config
>>>file, now i have no spammers, but no user on my server can send mail
>
> to an
>
>>>outside domain because exim refuses
>>>to relay. I'm sure its just a minor bug in my conf, but i cant find
>
> it.
>
>>>Please help. Here is a link to my current exim config file:
>>>http://www.gatenby.net/exim.conf.txt
>>>
>>>this is extremely important, thanks in advance for the help
>>>
>>>
>>>
>>>--
>>>
>>>## List details at http://www.exim.org/mailman/listinfo/exim-users
>
> Exim
>
>>>details at http://www.exim.org/ ##
>>>
>>>
>>>
>>>
>>
>>
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>