[imp] Sender address rejected: not logged in

fabricio bianco abreu fabricio at tc.df.gov.br
Wed Oct 25 15:04:03 PDT 2006


Hi folks,

I have implemented Horde 3.1.3 andImp H3 (4.1.3) over Postfix 2.1.5. 
Postfix requires user authentication.

Some users are not able to send messages. Postifix reports "  
Undelivered Mail Returned to Sender" and logs this:

---snip
host 10.9.16.10[10.9.16.10] said: 553
   <fabricio at tc.df.gov.br 
<https://www.tc.df.gov.br/novohorde/imp/message.php?index=2083#>>: 
Sender address rejected: not logged in (in reply to RCPT TO command)

---snip

Apparently IMP is "forgeting" the password that the user supplied when 
login  on.

Using a e-mail client such as Mozilla-Thunderbird the error never occurs.

Do you have any hints do guide me?

Thanks in advance,

Here is my main.cf for Postfix

biff = no
home_mailbox = Maildir/
local_destination_recipient_limit = 300
mailbox_command = /usr/bin/maildrop -d ${USER}
mailbox_size_limit = 0
message_size_limit = 0
mydestination = correio.tcdf.net, localhost.tcdf.net, localhost, 
correio.tc.df.gov.br, tc.df.gov.br
mydomain = tc.df.gov.br
myhostname = correio.tcdf.net
mynetworks = 127.0.0.0/8,10.9.16.7/32,200.199.232.5/32,172.16.0.5/32
myorigin = /etc/mailname
recipient_delimiter = +
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_sasl_authenticated, 
permit_mynetworks, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
broken_sasl_auth_clients = yes
#smtpd_enforce_tls = no
smtpd_use_tls = yes
smtpd_tls_auth_only = yes
smtpd_tls_key_file = /etc/ssl/ca/correio200610key.pem
smtpd_tls_cert_file = /etc/ssl/ca/correio200610cert.pem
smtpd_tls_CAfile = /etc/ssl/ca/cacert.pem
smtpd_tls_loglevel = 3
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
# destinatarios locais
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases, ldap:ldapdata
local_recipient_maps = $alias_maps
ldapdata_server_host = marte2.tcdf.net
ldapdata_search_base = ou=Users,dc=tcdf,dc=net
ldapdata_query_filter = (mail=%s)
ldapdata_result_attribute = mail
ldapdata_version = 3
# contra falsificacao de sender address
append_at_myorigin = yes
append_dot_mydomain = yes
smtpd_delay_reject = yes
smtpd_sender_login_maps = hash:/etc/postfix/testelogin
smtpd_sender_restrictions = reject_sender_login_mismatch
# servidor de relay
relayhost = [172.16.0.5]
# retira informacoes do header
header_checks = regexp:/etc/postfix/header_checks.regexp
# -- Added for MPP --
content_filter = mppscan:localhost:10025
# -- end --


---------------------------------------------------------------------------------------
fabricio bianco abreu








More information about the imp mailing list