Re: ..:: Postfix authentication requered for relay ::..

2012-11-13 Thread Jeroen Geilman

On 11/13/2012 12:41 AM, Alfonso Alejandro Reyes Jiménez wrote:

snipped
The SASL auth is working on the smtpd server and it works fine, but 
when we try to send anything from the other server we don't even see 
the login attempt.




So...what does the postfix log say on the sending side ?

If an SASL connection is made, this will be logged.

--
J.



Re: ..:: Postfix authentication requered for relay ::..

2012-11-13 Thread Alfonso Alejandro Reyes Jiménez

On 11/13/12 12:36 PM, Jeroen Geilman wrote:

On 11/13/2012 12:41 AM, Alfonso Alejandro Reyes Jiménez wrote:

snipped
The SASL auth is working on the smtpd server and it works fine, but 
when we try to send anything from the other server we don't even see 
the login attempt.




So...what does the postfix log say on the sending side ?

If an SASL connection is made, this will be logged.

There's no connection at all, the log says: relay acces denied. On the 
other side we have the sasl working and we have authentication logs but 
not from that server. I think somehow it is not taking the sasl 
configuration.


Any ideas?

Thanks.


Re: ..:: Postfix authentication requered for relay ::..

2012-11-13 Thread Jerry
On Tue, 13 Nov 2012 12:39:52 -0600
Alfonso Alejandro Reyes Jiménez articulated:

 On 11/13/12 12:36 PM, Jeroen Geilman wrote:
  On 11/13/2012 12:41 AM, Alfonso Alejandro Reyes Jiménez wrote:
  snipped
  The SASL auth is working on the smtpd server and it works fine,
  but when we try to send anything from the other server we don't
  even see the login attempt.
 
 
  So...what does the postfix log say on the sending side ?
 
  If an SASL connection is made, this will be logged.
 
 There's no connection at all, the log says: relay acces denied. On
 the other side we have the sasl working and we have authentication
 logs but not from that server. I think somehow it is not taking the
 sasl configuration.

http://www.postfix.com/DEBUG_README.html#mail

Better, provide output from the postfinger tool. This can be found at
http://ftp.wl0.org/SOURCES/postfinger.

If the problem is SASL related, consider including the output from the
saslfinger tool. This can be found at
http://postfix.state-of-mind.de/patrick.koetter/saslfinger/.

-- 
Jerry ✌
postfix-u...@seibercom.net
_
TO REPORT A PROBLEM see http://www.postfix.org/DEBUG_README.html#mail
TO (UN)SUBSCRIBE see http://www.postfix.org/lists.html


Re: ..:: Postfix authentication requered for relay ::..

2012-11-13 Thread /dev/rob0
On Tue, Nov 13, 2012 at 12:39:52PM -0600,
   Alfonso Alejandro Reyes Jiménez wrote:
 On 11/13/12 12:36 PM, Jeroen Geilman wrote:
 On 11/13/2012 12:41 AM, Alfonso Alejandro Reyes Jiménez wrote:
 snipped
 The SASL auth is working on the smtpd server and it works
 fine, but when we try to send anything from the other
 server we don't even see the login attempt.
 
 So...what does the postfix log say on the sending side ?
 
 If an SASL connection is made, this will be logged.
 
 There's no connection at all,

If the logs show no AUTH attempt, the client did not attempt to 
authenticate.

 the log says: relay acces denied.

This is what you wanted, right -- to prevent unauthenticated 
relaying?

 On the other side we have the sasl working and we have 
 authentication logs but not from that server. I think somehow
 it is not taking the sasl configuration.
 
 Any ideas?

If the client which should authenticate is Postfix:

http://www.postfix.org/SOHO_README.html#client_sasl_enable
http://www.postfix.org/DEBUG_README.html#mail

If not, seek support for it in an appropriate place.
-- 
  http://rob0.nodns4.us/ -- system administration and consulting
  Offlist GMX mail is seen only if /dev/rob0 is in the Subject:


Re: ..:: Postfix authentication requered for relay ::..

2012-11-12 Thread Jeroen Geilman

On 11/13/2012 12:21 AM, Alfonso Alejandro Reyes Jiménez wrote:

Hi everyone.

We have 2 postfix servers, one for every email from our company and 
the other inside our LAN just sending Nagios notifications. The thing 
is that we need to configure the SMTP authentication in the 
notifications server to allow relay. We don't want to put the server's 
IP on mynetworks because we don't really trust on it.


We have all the configuration steps we found on the internet but it is 
not working, we cant see any authentication attempt on the server.


Any help will be great.

Here's the configuration of the server:



snipped


smtp_sasl_auth_enable = yes


This concerns smtp(8), the smtp CLIENT.


smtpd_sasl_path = inet:172.16.18.100:12345
smtpd_sasl_type = dovecot


This concerns smtpd(8), the smtp SERVER.

You need to enable SASL auth in the smtpd(8) SERVER.

--
J.



Re: ..:: Postfix authentication requered for relay ::..

2012-11-12 Thread Alfonso Alejandro Reyes Jiménez

On 11/13/2012 12:21 AM, Alfonso Alejandro Reyes Jiménez wrote:

Hi everyone.

We have 2 postfix servers, one for every email from our company and 
the other inside our LAN just sending Nagios notifications. The thing 
is that we need to configure the SMTP authentication in the 
notifications server to allow relay. We don't want to put the 
server's IP on mynetworks because we don't really trust on it.


We have all the configuration steps we found on the internet but it 
is not working, we cant see any authentication attempt on the server.


Any help will be great.

Here's the configuration of the server:



snipped


smtp_sasl_auth_enable = yes


This concerns smtp(8), the smtp CLIENT.


smtpd_sasl_path = inet:172.16.18.100:12345
smtpd_sasl_type = dovecot


This concerns smtpd(8), the smtp SERVER.

You need to enable SASL auth in the smtpd(8) SERVER.

The SASL auth is working on the smtpd server and it works fine, but when 
we try to send anything from the other server we don't even see the 
login attempt.


Any ideas?

Thanks!!