postfix , dovecot imap/pop3 - Ask Ubuntu


i have mail server, postfix , dovecot. started both service:

: ~ # /etc/init.d/postfix start [ok] starting postfix (via systemctl): postfix.service. : ~ # /etc/init.d/dovecot start [ok] starting dovecot (via systemctl): dovecot.service. 

but when tried telnet can not send mail:

: ~ # telnet 192.168.xx.xx 25 trying 192.168.xx.xx ... connected 192.168.xx.xx. escape character '^]'. 220 ns1.xx.xx.id esmtp postfix (ubuntu) ehlo mail.xx.xx.id 250-ns1.xx.xx.id 250-pipelining 250-size 10.24 million 250-vrfy 250-etrn 250-starttls 250-enhancedstatuscodes 250-8bitmime 250-dsn 250 smtputf8 mail from: tes@xx.xx.id 250 2.1.0 ok rcpt to: admin@xx.xx.id 451 4.3.0 <admin@xx.xx.id>: temporary lookup failure 

when trying telnet imap/pop3:

: ~ # telnet 192.168.xx.xx 143 trying 192.168.xx.xx ... connected 192.168.xx.xx. escape character '^]'. connection closed foreign host. : ~ # telnet 192.168.xx.xx 110 trying 192.168.xx.xx ... connected 192.168.xx.xx. escape character '^]'. connection closed foreign host. 

i check postfix:

: ~ # postfix status postfix / postfix-script: postfix mail system running: pid: 1523  : ~ # postfix check postfix / postfix-script: warning: group or other writable: /usr/lib/postfix/./lib postfix-util.so.1 postfix / postfix-script: warning: group or other writable: /usr/lib/postfix/./lib postfix-tls.so.1 postfix / postfix-script: warning: group or other writable: /usr/lib/postfix/./lib postfix-master.so.1 postfix / postfix-script: warning: group or other writable: /usr/lib/postfix/./lib postfix-dns.so.1 postfix / postfix-script: warning: group or other writable: /usr/lib/postfix/./sbi n / lmtp postfix / postfix-script: warning: group or other writable: /usr/lib/postfix/./lib postfix-global.so.1 postfix / postfix-script: warning: group or other writable: / usr / lib / postfix / sbin / ./lmtp   

:~# postconf -n

alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no compatibility_level = 2 home_mailbox = maildir/ inet_interfaces = inet_protocols = mailbox_command = mailbox_size_limit = 0 mydestination = txx.xx.id, mail.xx.xx.id, localhost.localdomain, localhost mydomain = xx.xx.id myhostname = ns1.xx.xx.id mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128, 192.168.11.53/24 myorigin = /etc/mailname readme_directory = no recipient_delimiter = + relayhost = smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtpd_banner = $myhostname esmtp $mail_name (ubuntu) smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtpd_use_tls = yes virtual_alias_domains = xx.xx.id virtual_alias_maps = hash:/etc/postfix/virtual 

:~# dovecot -n

# 2.2.22 (fe789d2): /etc/dovecot/dovecot.conf # pigeonhole version 0.4.13 (7b14904) # os: linux 4.4.0-34-generic x86_64 ubuntu 16.04 lts disable_plaintext_auth = no mail_location = maildir:~/maildir namespace inbox {   inbox = yes   location =   mailbox drafts {     special_use = \drafts   }   mailbox junk {     special_use = \junk   }   mailbox sent {     special_use = \sent   }   mailbox "sent messages" {     special_use = \sent   }   mailbox trash {     special_use = \trash   }   prefix = } passdb {   driver = pam } protocols = imap imap pop3 userdb {   driver = passwd } 


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User