View Full Version : still can't receive mail
mzo
15th February 2006, 16:20
I already try many time to send mail to myself but it still fail. Others can receive my mail but they can't send it back to me. The error log in /var/log/maillog :
Feb 15 22:13:05 server ipop3d[21860]: Login user=mz_o host=server.puspakom.strangled.net [127.0.0.1] nmsgs=0/0
Feb 15 22:13:05 server ipop3d[21860]: Logout user=mz_o host=server.puspakom.strangled.net [127.0.0.1] nmsgs=0 ndele=0
Feb 15 22:13:05 server postfix/smtp[21861]: 292D42EE785: to=<mzaki@net1.drb-hicom.com>, relay=net1.drb-hicom.com[202.47.162.103], delay=0, status=sent (250 ok 1140011029 qp 25275)
Feb 15 22:13:05 server postfix/smtp[21862]: 292D42EE785: to=<mz_o@uu-3-166.buydomains.com>, orig_to=<mz_o@puspakom.strangled.net>, relay=none, delay=0, status=bounced (Host or domain name not found. Name serv
ice error for name=uu-3-166.buydomains.com type=A: Host not found)
Feb 15 22:13:05 server postfix/cleanup[21859]: 94B762EE789: message-id=<20060215141305.94B762EE789@uu-3-166.buydomains.com>
Feb 15 22:13:05 server postfix/qmgr[23656]: 94B762EE789: from=<>, size=2884, nrcpt=1 (queue active)
Feb 15 22:13:05 server postfix/qmgr[23656]: 292D42EE785: removed
Feb 15 22:13:05 server postfix/smtp[21861]: 94B762EE789: to=<mz_o@uu-3-166.buydomains.com>, orig_to=<mz_o@puspakom.strangled.net>, relay=none, delay=0, status=bounced (Host or domain name not found. Name serv
ice error for name=uu-3-166.buydomains.com type=A: Host not found)
Feb 15 22:13:05 server postfix/qmgr[23656]: 94B762EE789: removed
Feb 15 22:13:13 server ipop3d[21868]: pop3 service init from 127.0.0.1
Feb 15 22:13:13 server ipop3d[21868]: Login user=mz_o host=server.puspakom.strangled.net [127.0.0.1] nmsgs=0/0
Feb 15 22:13:13 server ipop3d[21868]: Logout user=mz_o host=server.puspakom.strangled.net [127.0.0.1] nmsgs=0 ndele=0
I already create A record for my domain. And it point to correct ip when I type dig puspakom.strangled.net. Any idea? I really need help.tq
-mzo-
falko
15th February 2006, 21:30
The problem is that uu-3-166.buydomains.com cannot be resolved. Do you have that FQDN somewhere in /etc/postfix/main.cf or /etc/mailname? What's the output of hostname and hostname -f?
Also, can you post the output of telnet localhost 25?
mzo
16th February 2006, 08:58
The problem is that uu-3-166.buydomains.com cannot be resolved. Do you have that FQDN somewhere in /etc/postfix/main.cf or /etc/mailname?
MZO : I not sure about this. What do I have to do?
What's the output of hostname
MZO : server.puspakom.strangle.net suppose to be server.puspakom.strangled.net. How do I change it?
and hostname -f?
MZO : also server.puspakom.strangle.net suppose to be server.puspakom.strangled.net. How do I change it?
Also, can you post the output of telnet localhost 25?
MZO : The output below and I already type ehlo localhost:
[root@server etc]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 uu-3-166.buydomains.com ESMTP Postfix
ehlo localhost
250-uu-3-166.buydomains.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250 8BITMIME
falko
16th February 2006, 11:08
Your Postfix identifies itself as uu-3-166.buydomains.com. Can you give me the information I requested in my previous post?
jaffaizal
16th February 2006, 17:25
The problem is that uu-3-166.buydomains.com cannot be resolved. Do you have that FQDN somewhere in /etc/postfix/main.cf or /etc/mailname? What's the output of hostname and hostname -f?
Also, can you post the output of telnet localhost 25?
Falko,
following is the output from my system.
suse1:/etc/apache2 # hostname
suse1
suse1:/etc/apache2 # hostname -f
suse1.mileswork.com
suse1:/etc/apache2 # telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 suse1.mw.com ESMTP Postfix
quit
221 Bye
Connection closed by foreign host.
suse1:/etc/apache2 #
I believe that there will be problem. How do I resolve the name conflict "suse1.mileswork.com" and "suse1.mw.com"? It should be "suse1.mileswork.com"
Thanks for your help.
Jaf Faizal
Malaysia
falko
16th February 2006, 19:42
Falko,
following is the output from my system.
suse1:/etc/apache2 # hostname
suse1
suse1:/etc/apache2 # hostname -f
suse1.mileswork.com
suse1:/etc/apache2 # telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 suse1.mw.com ESMTP Postfix
quit
221 Bye
Connection closed by foreign host.
suse1:/etc/apache2 #
I believe that there will be problem. How do I resolve the name conflict "suse1.mileswork.com" and "suse1.mw.com"? It should be "suse1.mileswork.com"
Thanks for your help.
Jaf Faizal
Malaysia
What's in /etc/postfix/main.cf?
mzo
17th February 2006, 05:04
The problem is that uu-3-166.buydomains.com cannot be resolved. Do you have that FQDN somewhere in /etc/postfix/main.cf or /etc/mailname? What's the output of hostname and
MZO : I already check and there's no FQDN in my main.cf and I don't have mailname files in my /etc.
[root@server ~]# hostname
server.puspakom.strangle.net
hostname -f?
MZO :
[root@server ~]# hostname -f
server.puspakom.strangle.net
Also, can you post the output of telnet localhost 25?
MZO :
[root@server ~]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 uu-3-166.buydomains.com ESMTP Postfix
jaffaizal
17th February 2006, 05:43
What's in /etc/postfix/main.cf?
Falko,
following is what in the main,cf file:
=============================trucated
readme_directory = /usr/share/doc/packages/postfix/README_FILES
inet_protocols = all
biff = no
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
#virtual_maps = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
myhostname = suse1.$mydomain
program_directory = /usr/lib/postfix
inet_interfaces = all
masquerade_domains =
#mydestination = $myhostname, localhost.$mydomain
defer_transports =
disable_dns_lookups = no
relayhost =
mailbox_command =
mailbox_transport =
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_ relay_domains
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = yes
smtpd_use_tls = yes
smtp_use_tls = yes
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000
mydomain = mw.com
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_tls_auth_only = no
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
home_mailbox = Maildir/
virtual_maps = hash:/etc/postfix/virtusertable
mydestination = /etc/postfix/local-host-names
=============================trucated
The following variable is assign:
mydomain = mw.com
Can I change this directly and restart the postfix demon again? If yes what is the command?
or is there somethings else I need to do?
Thanks,
Jaf
falko
17th February 2006, 10:56
MZO :
[root@server ~]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 uu-3-166.buydomains.com ESMTP Postfix
Please run
postconf -e 'mydomain = server.puspakom.strangle.net'
postconf -e 'myhostname = $mydomain' and restart Postfix.
falko
17th February 2006, 10:59
The following variable is assign:
mydomain = mw.com
Can I change this directly and restart the postfix demon again? If yes what is the command?
Run postconf -e 'mydomain = mileswork.com'
/etc/init.d/postfix restart
BTW: it would have been better if you had started a new thread for this issue. This thread here is confusing now because it handles mzo's problem and yours...
mzo
18th February 2006, 05:21
Please run
postconf -e 'mydomain = server.puspakom.strangle.net'
postconf -e 'myhostname = $mydomain' and restart Postfix.
MZO : Falko, Finally I manage to send and receive email. Thank You very very very much. But there some question regarding my maillog in /var/log that is :
Feb 18 11:40:12 server ipop3d[4441]: pop3 service init from 127.0.0.1
Feb 18 11:40:12 server ipop3d[4441]: Mailbox vulnerable - directory /var/spool/mail must have 1777 protection
And sometimes I can see this error, any idea on how to remove it?
Feb 18 04:03:08 server postfix/qmgr[23912]: 1A6F92EE785: from=<anonymous@puspakom.it.tt>, size=746, nrcpt=1 (queue active)
Feb 18 04:03:08 server postfix/smtpd[29169]: disconnect from unknown[202.190.100.9]
Feb 18 04:03:18 server postfix/smtp[29195]: 1A6F92EE785: to=<root@puspakom.it.tt>, relay=mx1.joynic.com[85.10.216.17], delay=10, status=bounc
ed (host mx1.joynic.com[85.10.216.17] said: 554 Unknown user: <root@puspakom.it.tt> (in reply to RCPT TO command))
Feb 18 04:03:19 server postfix/cleanup[29173]: 41BDC2EE789: message-id=<20060217200319.41BDC2EE789@uu-3-166.buydomains.com>
Feb 18 04:03:19 server postfix/qmgr[23912]: 41BDC2EE789: from=<>, size=2651, nrcpt=1 (queue active)
Feb 18 04:03:19 server postfix/qmgr[23912]: 1A6F92EE785: removed
Feb 18 04:03:22 server postfix/smtp[29195]: 41BDC2EE789: to=<anonymous@puspakom.it.tt>, relay=mx1.joynic.com[85.10.216.17], delay=3, status=b
ounced (host mx1.joynic.com[85.10.216.17] said: 554 Unknown user: <anonymous@puspakom.it.tt> (in reply to RCPT TO command))
Feb 18 04:03:22 server postfix/qmgr[23912]: 41BDC2EE789: removed
MZO : My yahoo account still can't receive email from mz_o@puspakom.strangled.net and my statistic is not working. Any idea ?tq
falko
18th February 2006, 12:46
MZO : Falko, Finally I manage to send and receive email. Thank You very very very much. But there some question regarding my maillog in /var/log that is :
Feb 18 11:40:12 server ipop3d[4441]: pop3 service init from 127.0.0.1
Feb 18 11:40:12 server ipop3d[4441]: Mailbox vulnerable - directory /var/spool/mail must have 1777 protection
Simply run
chmod 1777 /var/spool/mail
And sometimes I can see this error, any idea on how to remove it?
Feb 18 04:03:18 server postfix/smtp[29195]: 1A6F92EE785: to=<root@puspakom.it.tt>, relay=mx1.joynic.com[85.10.216.17], delay=10, status=bounc
ed (host mx1.joynic.com[85.10.216.17] said: 554 Unknown user: <root@puspakom.it.tt> (in reply to RCPT TO command))
Feb 18 04:03:22 server postfix/smtp[29195]: 41BDC2EE789: to=<anonymous@puspakom.it.tt>, relay=mx1.joynic.com[85.10.216.17], delay=3, status=b
ounced (host mx1.joynic.com[85.10.216.17] said: 554 Unknown user: <anonymous@puspakom.it.tt> (in reply to RCPT TO command))
Feb 18 04:03:22 server postfix/qmgr[23912]: 41BDC2EE789: removed
This means that the users are unknown on the recipient's server.
and my statistic is not working. Any idea ?tq
http://www.howtoforge.com/forums/showthread.php?t=2594
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.