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 ....
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)
<[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)
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
I don't want to open relay for squirrelmail because of multiple identities function of squirrelmail, so that users will be able to send mail acting as another user. That's why i put the rule reject_sender_login_mismatch before permit_mynetworks. Any sugestions :) ?
On 03/02/06, Jonathan Angliss <[EMAIL PROTECTED]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Rodrigo,
On Friday, February 03, 2006, Rodrigo wrote:
> Hi everyone ;),
> 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:
> 1) In mail.log:
> connect from localhost[127.0.0.1]
> Feb 3 16:01:59 xxxx postfix/smtpd[4128]: NOQUEUE: reject: RCPT from
> localhost[ 127.0.0.1]: 553 <[EMAIL PROTECTED]>: Sender address rejected: not
> logged in; from=<[EMAIL PROTECTED]> to=< [EMAIL PROTECTED]> proto=ESMTP helo=<
www.domain.com>>
> Feb 3 16:01:59 xxxx postfix/smtpd[4128]: lost connection after RCPT from
> localhost[ 127.0.0.1]
> Feb 3 16:01:59 xxxx postfix/smtpd[4128]: disconnect from localhost[
> 127.0.0.1]
> 2) In squirrelmail user webmail page:
> 553 < [EMAIL PROTECTED]>: Sender address rejected: not logged in
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.
- --
Jonathan Angliss
<[EMAIL PROTECTED] >
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
iD8DBQFD47wdK4PoFPj9H3MRAgs/AJ9SViYL+jFDFK0dO5NGG1HqpLK71QCeNwoA
uQyJwFsDrknCSorLInizAx8=
=jEI4
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
--
squirrelmail-users mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: http://news.gmane.org/thread.php?groupgmane.mail.squirrelmail.user
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
--
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."