OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
issues to send/deliver within my domain

From: Alfredo Santillan Ramos (santialfucnet.com.mx)
Date: Sat Mar 22 2003 - 13:26:59 CST


I have set up a postfix 2.0.7 server with cyrus-sasl and cyrus-imap
2.1.12, respectively.

When trying to send mail in the form userdomain.tld it doesn't get
delivered, here is what /var/mail/maillog records:

Mar 22 12:59:19 triton postfix/pickup[391]: 921C93CABF: uid=80
from=<santialfucol.mx>
Mar 22 12:59:19 triton postfix/cleanup[566]: 921C93CABF:
message-id=<1048359559.3e7cb2877b1e6correoweb.ucol.mx>
Mar 22 12:59:19 triton postfix/qmgr[392]: 921C93CABF:
from=<santialfucol.mx>, size=669, nrcpt=1 (queue active)
Mar 22 12:59:19 triton postfix/lmtp[569]: 921C93CABF:
to=<al914479ucol.mx>, relay=/var/imap/socket/lmtp[/var/imap/socket/lmtp],
delay=0, status=bounced (host /var/imap/socket/lmtp[/var/imap/socket/lmtp]
said: 550-Mailbox unknown. Either there is no mailbox associated with
this 550-name or you do not have authorization to see it. 550 5.1.1 User
unknown (in reply to RCPT TO command))
Mar 22 12:59:19 triton postfix/cleanup[566]: B98533CAC0:
message-id=<20030322185919.B98533CAC0triton.ucol.mx>
Mar 22 12:59:19 triton postfix/qmgr[392]: B98533CAC0: from=<>, size=2633,
nrcpt=1 (queue active)
Mar 22 12:59:19 triton postfix/lmtp[569]: B98533CAC0:
to=<santialfucol.mx>, relay=/var/imap/socket/lmtp[/var/imap/socket/lmtp],
delay=0, status=sent (250 2.1.5 Ok)

While sending mail in the form userhost.domain.tld the message gets
delivered.

Also, if someone send a mail to a mailbox in this machine the message is
not delivered, we get the message:

ar 22 13:06:17 triton postfix/smtpd[587]: DE3AC3CABF:
client=venus.ucol.mx[148.213.1.4]
Mar 22 13:06:17 triton postfix/smtpd[587]: DE3AC3CABF: reject: RCPT from
venus.ucol.mx[148.213.1.4]: 450 <santialftriton.ucol.mx>: User unknown in
local recipient table; from=<ravucol.mx> to=<santialftriton.ucol.mx>
proto=ESMTP helo=<venus.ucol.mx>
Mar 22 13:06:19 triton postfix/smtpd[587]: disconnect from
venus.ucol.mx[148.213.1.4]

I appreciate any comments regarding these issues I'm having.

Thanks in advance,

J.Alfredo

Here is what postconf -n outputs:

alias_database = hash:/etc/mail/aliases
alias_maps = hash:/etc/mail/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
debug_peer_list = 127.0.0.1
fallback_transport = lmtp:unix:/var/imap/socket/lmtp
local_recipient_maps = unix:passwd.byname $alias_maps
mail_owner = postfix
mailbox_transport = lmtp:unix:/var/imap/socket/lmtp
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname, localhost.$mydomain, $mydomain
mydomain = ucol.mx
myhostname = triton.ucol.mx
mynetworks = 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relay_domains = $mydestination
sample_directory = /etc/postfix/sample
sendmail_path = /usr/lib/sendmail
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks
reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = triton
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 450