Bluehost.com Web Hosting $6.95

Re: relay access denied

This is a discussion on Re: relay access denied within the mailing.postfix.users forums, part of the Mail Servers and Related category; This is a multi-part message in MIME format. ------=_NextPart_000_0192_01C45206.6349D140 Content-Type: text/plain; charset="iso-8859-1&...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-14-2004
CutMaster
 
Posts: n/a
Default Re: relay access denied

This is a multi-part message in MIME format.

------=_NextPart_000_0192_01C45206.6349D140
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


----- Original Message -----=20
From: Roy S. Rapoport=20
To: postfix-users@postfix.org=20
Sent: Monday, June 14, 2004 11:42 AM
Subject: Re: relay access denied


On Mon, Jun 14, 2004 at 11:38:22AM +0200, CutMaster wrote:
> my linux server is at the address 192.168.14.97 and I need to allow =

all
> users from our network (192.168.0.*) to use postfix as their smtp
> server... But when I do my test, using outlook express, the info =

file
> contains :

[...]
> mynetworks =3D 127.0.0.0/8


Add 192.168.0.* to mynetworks, thus:
mynetworks =3D 127.0.0.0/8, 192.168.0.0/24

(though you probably could stand to change the 127 addr to =
127.0.0.1/32)

I changed the mynetworks like you said, then restart... Still the same =
:S
I tried to change inet_interfaces to all (just for testing) and it's =
still the same.
The computer from which I want to send an email is having it's ip by =
another DHCP server (not the linux one)
on a windows domain. But the IP masks are the same for everyone : =
192.168.154.*
Where's my error ?

Here's the new postconf -n :

alias_maps =3D hash:/etc/postfix/aliases
command_directory =3D /usr/sbin
config_directory =3D /etc/postfix
daemon_directory =3D /usr/lib/postfix
delay_warning_time =3D 1h
disable_dns_lookups =3D yes
html_directory =3D /usr/share/doc/postfix-2.1.1/html
inet_interfaces =3D all
mail_owner =3D postfix
mailbox_command =3D
mailq_path =3D /usr/bin/mailq.postfix
manpage_directory =3D /usr/share/man
mydestination =3D localhost, intranet, intranet.chati, =
serveur.intranet.chati, georgin, georgin_chati
mydomain =3D intranet.chati
myhostname =3D serveur.intranet.chati
mynetworks =3D 127.0.0.0/8, 192.168.0.0/24
mynetworks_style =3D host
newaliases_path =3D /usr/bin/newaliases.postfix
owner_request_special =3D no
queue_directory =3D /var/spool/postfix
readme_directory =3D /usr/share/doc/postfix-2.1.1/README_FILES
recipient_delimiter =3D +
relayhost =3D mail.georgin.com
sample_directory =3D /usr/share/doc/postfix-2.1.1/samples
sender_canonical_maps =3D hash:/etc/postfix/canonical
sendmail_path =3D /usr/sbin/sendmail.postfix
setgid_group =3D postdrop
smtpd_banner =3D $myhostname ESMTP $mail_name ($mail_version) (Mandrake =
Linux)
smtpd_sasl_path =3D /etc/postfix/sasl:/usr/lib/sasl2
unknown_local_recipient_reject_code =3D 450


And here's the tail /var/log/mail/info :

Jun 14 11:58:20 intranet postfix/smtpd[14097]: connect from =
unknown[192.168.154.111]
Jun 14 11:58:20 intranet postfix/smtpd[14097]: NOQUEUE: reject: RCPT =
from unknown[192.168.154.111]: 554 <my.test@georgin.com>: Relay access =
denied; from=3D<my.test@georgin.com> to=3D<my.test@georgin.com> =
proto=3DESMTP helo=3D<WPTECHNOLOGY>
Jun 14 11:58:20 intranet postfix/smtpd[14097]: NOQUEUE: reject: RCPT =
from unknown[192.168.154.111]: 554 <laurent@vlproduction.com>: Relay =
access denied; from=3D<my.test@georgin.com> =
to=3D<laurent@vlproduction.com> proto=3DESMTP helo=3D<WPTECHNOLOGY>
Jun 14 11:58:20 intranet postfix/smtpd[14097]: disconnect from =
unknown[192.168.154.111]


Finaly, tail /var/log/mail/errors :

Jun 14 11:23:47 intranet postfix/smtpd[13048]: fatal: no SASL =
authentication mechanisms
Jun 14 11:24:48 intranet postfix/smtpd[13078]: fatal: no SASL =
authentication mechanisms
Jun 14 11:24:48 intranet postfix/smtpd[13080]: fatal: no SASL =
authentication mechanisms
Jun 14 11:26:40 intranet postfix/smtpd[13353]: fatal: no SASL =
authentication mechanisms
Jun 14 11:27:03 intranet postfix/smtpd[13465]: fatal: no SASL =
authentication mechanisms




-roy


------=_NextPart_000_0192_01C45206.6349D140
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000080 size=3D2></FONT>&nbsp;</DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000080 2px solid; MARGIN-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A title=3Dpostfix-users@ols.inorganic.org=20
href=3D"mailto:postfix-users@ols.inorganic.org">Roy S. Rapoport</A> =
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dpostfix-users@postfix.org=20
=
href=3D"mailto:postfix-users@postfix.org">postfix-users@postfix.org</A> =
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Monday, June 14, 2004 =
11:42=20
AM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: relay access =
denied</DIV>
<DIV><FONT color=3D#000080 size=3D2></FONT><BR></DIV>
<DIV>On Mon, Jun 14, 2004 at 11:38:22AM +0200, CutMaster =
wrote:<BR>&gt; my=20
linux server is at the address 192.168.14.97&nbsp; and I need to allow =

all<BR>&gt; users from our network (192.168.0.*) to use postfix as =
their=20
smtp<BR>&gt; server...&nbsp; But when I do my test, using outlook =
express, the=20
info file<BR>&gt; contains :<BR>[...]<BR>&gt; mynetworks =3D=20
127.0.0.0/8<BR><BR>Add 192.168.0.* to mynetworks, thus:<BR>mynetworks =
=3D=20
127.0.0.0/8, 192.168.0.0/24<BR><BR>(though you probably could stand to =
change=20
the 127 addr to 127.0.0.1/32)</DIV>
<DIV>&nbsp;</DIV><FONT color=3D#000080 size=3D2></FONT></BLOCKQUOTE>
<DIV><FONT color=3D#000080 size=3D2>I changed the mynetworks like you =
said, then=20
restart... Still the same :S</FONT></DIV>
<DIV><FONT color=3D#000080 size=3D2>I tried to change inet_interfaces to =
all (just=20
for testing) and it's still the same.</FONT></DIV>
<DIV><FONT color=3D#000080 size=3D2>The computer from which I want to =
send an email=20
is having it's ip by another DHCP server (not the linux =
one)</FONT></DIV>
<DIV><FONT color=3D#000080 size=3D2>on a windows domain. But the IP =
masks are the=20
same for everyone : 192.168.154.*<BR>Where's my error ?<BR><BR>Here's =
the new=20
postconf -n :</FONT></DIV>
<DIV><FONT color=3D#000080 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>alias_maps =3D =
hash:/etc/postfix/aliases<BR>command_directory =3D=20
/usr/sbin<BR>config_directory =3D /etc/postfix<BR>daemon_directory =3D=20
/usr/lib/postfix<BR>delay_warning_time =3D 1h<BR>disable_dns_lookups =3D =

yes<BR>html_directory =3D =
/usr/share/doc/postfix-2.1.1/html<BR>inet_interfaces =3D=20
all<BR>mail_owner =3D postfix<BR>mailbox_command =3D<BR>mailq_path =3D=20
/usr/bin/mailq.postfix<BR>manpage_directory =3D =
/usr/share/man<BR>mydestination =3D=20
localhost, intranet, intranet.chati, serveur.intranet.chati, georgin,=20
georgin_chati<BR>mydomain =3D intranet.chati<BR>myhostname =3D=20
serveur.intranet.chati<BR>mynetworks =3D 127.0.0.0/8,=20
192.168.0.0/24<BR>mynetworks_style =3D host<BR>newaliases_path =3D=20
/usr/bin/newaliases.postfix<BR>owner_request_special =3D =
no<BR>queue_directory =3D=20
/var/spool/postfix<BR>readme_directory =3D=20
/usr/share/doc/postfix-2.1.1/README_FILES<BR>recipient_delimiter =3D=20
+<BR>relayhost =3D mail.georgin.com<BR>sample_directory =3D=20
/usr/share/doc/postfix-2.1.1/samples<BR>sender_canonical_maps =3D=20
hash:/etc/postfix/canonical<BR>sendmail_path =3D=20
/usr/sbin/sendmail.postfix<BR>setgid_group =3D postdrop<BR>smtpd_banner =
=3D=20
$myhostname ESMTP $mail_name ($mail_version) (Mandrake =
Linux)<BR>smtpd_sasl_path=20
=3D =
/etc/postfix/sasl:/usr/lib/sasl2<BR>unknown_local_recipient_reject_code =
=3D=20
450</FONT></DIV>
<DIV><FONT color=3D#000080 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000080 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000080 size=3D2>And here's the tail =
/var/log/mail/info=20
:</FONT></DIV>
<DIV><FONT color=3D#000080 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Jun 14 11:58:20 intranet postfix/smtpd[14097]: =
connect from=20
unknown[192.168.154.111]<BR>Jun 14 11:58:20 intranet =
postfix/smtpd[14097]:=20
NOQUEUE: reject: RCPT from unknown[192.168.154.111]: 554 &lt;<A=20
href=3D"mailto:my.test@georgin.com"><FONT=20
color=3D#000000>my.test@georgin.com</FONT></A>&gt;: Relay access denied; =

from=3D&lt;<A href=3D"mailto:my.test@georgin.com"><FONT=20
color=3D#000000>my.test@georgin.com</FONT></A>&gt; to=3D&lt;<A=20
href=3D"mailto:my.test@georgin.com"><FONT=20
color=3D#000000>my.test@georgin.com</FONT></A>&gt; proto=3DESMTP=20
helo=3D&lt;WPTECHNOLOGY&gt;<BR>Jun 14 11:58:20 intranet =
postfix/smtpd[14097]:=20
NOQUEUE: reject: RCPT from unknown[192.168.154.111]: 554 &lt;<A=20
href=3D"mailto:laurent@vlproduction.com"><FONT=20
color=3D#000000>laurent@vlproduction.com</FONT></A>&gt;: Relay access =
denied;=20
from=3D&lt;<A href=3D"mailto:my.test@georgin.com"><FONT=20
color=3D#000000>my.test@georgin.com</FONT></A>&gt; to=3D&lt;<A=20
href=3D"mailto:laurent@vlproduction.com"><FONT=20
color=3D#000000>laurent@vlproduction.com</FONT></A>&gt; proto=3DESMTP=20
helo=3D&lt;WPTECHNOLOGY&gt;<BR>Jun 14 11:58:20 intranet =
postfix/smtpd[14097]:=20
disconnect from unknown[192.168.154.111]<BR></FONT></DIV>
<DIV><FONT color=3D#000080 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000080 size=3D2>Finaly, tail /var/log/mail/errors =
:</FONT></DIV>
<DIV><FONT color=3D#000080 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000080 size=3D2><FONT color=3D#000000>Jun 14 =
11:23:47 intranet=20
postfix/smtpd[13048]: fatal: no SASL authentication mechanisms<BR>Jun 14 =

11:24:48 intranet postfix/smtpd[13078]: fatal: no SASL authentication=20
mechanisms<BR>Jun 14 11:24:48 intranet postfix/smtpd[13080]: fatal: no =
SASL=20
authentication mechanisms<BR>Jun 14 11:26:40 intranet =
postfix/smtpd[13353]:=20
fatal: no SASL authentication mechanisms<BR>Jun 14 11:27:03 intranet=20
postfix/smtpd[13465]: fatal: no SASL authentication=20
mechanisms</FONT><BR></FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000080 2px solid; MARGIN-RIGHT: 0px">
<DIV><FONT color=3D#000080 size=3D2></FONT>&nbsp;</DIV>
<DIV><BR><BR>-roy<BR><BR></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0192_01C45206.6349D140--

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 10:52 AM.


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