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=<[email protected]>, 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=<[email protected]>, orig_to=<[email protected]>, 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=<[email protected]> 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=<[email protected]>, orig_to=<[email protected]>, 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-
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 Code: hostname and Code: hostname -f ? Also, can you post the output of Code: 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
Your Postfix identifies itself as uu-3-166.buydomains.com. Can you give me the information I requested in my previous post?
possible mail problem?? 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
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
eMail mydomain error 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
Please run Code: postconf -e 'mydomain = server.puspakom.strangle.net' postconf -e 'myhostname = $mydomain' and restart Postfix.
Run Code: 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 : 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=<[email protected]>, 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=<[email protected]>, 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: <[email protected]> (in reply to RCPT TO command)) Feb 18 04:03:19 server postfix/cleanup[29173]: 41BDC2EE789: message-id=<[email protected]> 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=<[email protected]>, 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: <[email protected]> (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 [email protected] and my statistic is not working. Any idea ?tq
Simply run Code: chmod 1777 /var/spool/mail This means that the users are unknown on the recipient's server. http://www.howtoforge.com/forums/showthread.php?t=2594