Relay access denied;

This is a discussion on Relay access denied; within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; I wonder if someone could help ? I'm trying to configure postfix on Suse 9.1 and I'm having ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.postfix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-19-2004
Mr Ter
 
Posts: n/a
Default Relay access denied;


I wonder if someone could help ?

I'm trying to configure postfix on Suse 9.1 and I'm having problems. I can
read my mail (via kmail on another machine and even from iMac) but I can't
send any mail. The moment I try to send anything I get error "Relay access
denied;". I took main.cf file from another machine, that I know works, and
did diff on it and I couldn't find any difference apart from hostname. Yet
that machine works and mine does not. Could someone point me in the right
direction I'm lost as to what may be the resone for this error.

Thanks - Tom

--
---
if you would like to reply directly please remove [no #spam] from the email
address below
Mr.Ter[no #spam]ntlworld.com
Reply With Quote
  #2 (permalink)  
Old 09-20-2004
Nils Gehrig
 
Posts: n/a
Default Re: Relay access denied;

one6699@hotmail.com (Mr Ter) wrote in <2r64jlF166va1U1@uni-berlin.de>:

>I wonder if someone could help ?
>
>I'm trying to configure postfix on Suse 9.1 and I'm having problems. I
>can read my mail (via kmail on another machine and even from iMac) but
>I can't send any mail. The moment I try to send anything I get error
>"Relay access denied;". I took main.cf file from another machine, that I
>know works, and did diff on it and I couldn't find any difference apart
>from hostname. Yet that machine works and mine does not. Could someone
>point me in the right direction I'm lost as to what may be the resone
>for this error.
>
>Thanks - Tom
>


Did you fill in main.cf the variable
mynetworks = 192.168.1.0/24, 127.0.0.0/8
or similar?

Regards,
Nils
Reply With Quote
  #3 (permalink)  
Old 09-20-2004
Mr Ter
 
Posts: n/a
Default Re: Relay access denied;

Nils Gehrig wrote:

> one6699@hotmail.com (Mr Ter) wrote in <2r64jlF166va1U1@uni-berlin.de>:
>
>>I wonder if someone could help ?
>>
>>I'm trying to configure postfix on Suse 9.1 and I'm having problems. I
>>can read my mail (via kmail on another machine and even from iMac) but
>>I can't send any mail. The moment I try to send anything I get error
>>"Relay access denied;". I took main.cf file from another machine, that I
>>know works, and did diff on it and I couldn't find any difference apart
>>from hostname. Yet that machine works and mine does not. Could someone
>>point me in the right direction I'm lost as to what may be the resone
>>for this error.
>>
>>Thanks - Tom
>>

>
> Did you fill in main.cf the variable
> mynetworks = 192.168.1.0/24, 127.0.0.0/8
> or similar?
>
> Regards,
> Nils


Yes I did.
mynetworks = 192.168.123.0/24, 127.0.0.0/8

Tom

--
---
if you would like to reply directly please remove [no #spam] from the email
address below
Mr.Ter[no #spam]ntlworld.com
Reply With Quote
  #4 (permalink)  
Old 09-21-2004
Paul-Wilhelm Hermsen
 
Posts: n/a
Default Re: Relay access denied;

Mr Ter schrieb:
> I wonder if someone could help ?
>
> I'm trying to configure postfix on Suse 9.1 and I'm having problems. I can
> read my mail (via kmail on another machine and even from iMac) but I can't
> send any mail. The moment I try to send anything I get error "Relay access
> denied;". I took main.cf file from another machine, that I know works, and
> did diff on it and I couldn't find any difference apart from hostname. Yet
> that machine works and mine does not. Could someone point me in the right
> direction I'm lost as to what may be the resone for this error.
>
> Thanks - Tom
>

Probably you are sending your mail via smtp. Try sending via sendmail.
That could help you for the first. AFAIK sending via smtp needs some
more postfix typical configurations for example domain and sender
specifications and this is only helpful, if you want to handle any
restrictions.
Bye
Paul-Wilhelm

Reply With Quote
  #5 (permalink)  
Old 09-21-2004
Mr Ter
 
Posts: n/a
Default Re: Relay access denied;

Paul-Wilhelm Hermsen wrote:

> Mr Ter schrieb:
>> I wonder if someone could help ?
>>
>> I'm trying to configure postfix on Suse 9.1 and I'm having problems. I
>> can
>> read my mail (via kmail on another machine and even from iMac) but I
>> can't send any mail. The moment I try to send anything I get error "Relay
>> access denied;". I took main.cf file from another machine, that I know
>> works, and did diff on it and I couldn't find any difference apart from
>> hostname. Yet that machine works and mine does not. Could someone point
>> me in the right direction I'm lost as to what may be the resone for this
>> error.
>>
>> Thanks - Tom
>>

> Probably you are sending your mail via smtp. Try sending via sendmail.
> That could help you for the first. AFAIK sending via smtp needs some
> more postfix typical configurations for example domain and sender
> specifications and this is only helpful, if you want to handle any
> restrictions.
> Bye
> Paul-Wilhelm


Thanks for your suggestion. I've solved the problem by specifying default
$mynetworks instead of 192.168.123.0/24.

Tom

--
---
if you would like to reply directly please remove [no #spam] from the email
address below
Mr.Ter[no #spam]ntlworld.com
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:59 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0