Yes, when i remove the reject_sender_login_mismatch it works fine. There only rejection or fail log is is the:
 
     <[EMAIL PROTECTED]>: Sender address rejected: not logged in (in
     reply to end of DATA command)
 
I'm going to check a little more. If i could not fix it, i'm gonna disable the multiple identities page, add by hand for people that needs and permit mynetworks (127.0.0.1). Thx ;)
 
On 04/02/06, Jonathan Angliss <[EMAIL PROTECTED]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Rodrigo,

Please try to keep the reply format the same... It makes following
threads so much easier.

On Friday, February 03, 2006, Rodrigo wrote:
>>> I'm having A problem with squirrelmail when sending messages. I'm
>>> using postfix + squirrelmail + sasl + mysql etc. Instead of
>>> relaying from 127.0.0.1, i would like users to log in before
>>> sending messages with that directive in postfix:

>>> smtpd_sender_restrictions =
>>>        reject_sender_login_mismatch
>>>        permit_sasl_authenticated
>>>        permit_mynetworks
>>
>> Isn't there supposed to be a , after each of those items?

>>> But squirrelmail returns an error when i try to send a message to
>>> any user, because it is not authenticating IMAP server (i guess)
>>> before sending the message:

[..]

>> Then you've not told SquirrelMail to login to your SMTP server, or you
>> have no added the server running SquirrelMail to the trusted
>> (permit_mynetworks).  Run the config/conf.pl script, select the
>> servers option, expand the SMTP option, and you should see extra
>> settings in there that you can adjust to login.

> Nice, i forgot to activate the smtp login suport in squirrelmail.
> Now i can return to INBOX page, but i receive a well known message
> now ;) :

> *Undelivered Mail Returned to Sender***
> I'm sorry to have to inform you that your message could not be
> be delivered  ....

> The Postfix program

> < [EMAIL PROTECTED]>: host 127.0.0.1[127.0.0.1] said: 553 5.1.0
>     <[EMAIL PROTECTED]>: Sender address rejected: not logged in (in
>     reply to end of DATA command)

This is unusual.  Unless your SMTP server accepts blindly, then
processes the information, and bounces back an error, you shouldn't be
getting this message.  You should be given a notification on attempts
to send that you were not permitted, rather than a notification at a
later point.

> when i go to smtpd log, everything looks fine:

> Feb  3 21:48:05 xxxx postfix/smtpd[4603]: > localhost[ 127.0.0.1]: 235
> Authentication successful

What's after this?  There should be one for the rejection too, that
might give a little more detail.  Have you tried removing the
reject_sender_login_mismatch option just to test?


- --
Jonathan Angliss
<[EMAIL PROTECTED]>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)

iD8DBQFD5D1dK4PoFPj9H3MRAqj5AKCBhdwaDc+Fxq7IyVxMQBEboGMT0gCaA/pO
zRVhbq4lz0glfyM8qSUSGeE=
=nomN
-----END PGP SIGNATURE-----




--
Rodrigo Fagner Brayner de Brito
Engenheiro da Computação
Coordenador Técnico de Voz sobre IP (VoIP) do PoP-PE
PoP-PE - Ponto de Presença da RNP em Pernambuco
RNP - Rede Nacional de Ensino e Pesquisa
[EMAIL PROTECTED]

--
"Não há nada que possamos fazer para Deus nos amar mais.
  Não há nada que possamos fazer para Deus nos amar menos."

Reply via email to