首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Sqirrelmail、Postfix和Dovecot

Sqirrelmail、Postfix和Dovecot
EN

Stack Overflow用户
提问于 2015-06-21 05:22:46
回答 1查看 410关注 0票数 0

我已经安装了Sqirrelmail,Postfix和Dovecot。Sqirrelmail不会中继任何错误。没有邮件的传入或发送。

其中"user1“是登录到Sqirrelmail的用户。

有人能看到我的问题吗?

在var/log/mail.log中

Jun 20 18:40:37 ip-172-31-25-194 dovecot: imap-登录:登录: user=,method=PLAIN,rip=127.0.0.1,lip=127.0.0.1,mpid=13181,secured,session=

Jun 20 18:40:37 ip-172-31-25-194 dovecot: imap(user1):已断开连接:已注销in=44 out=831

Jun 20 18:40:37 ip-172-31-25-194 dovecot: imap-登录:登录: user=,method=PLAIN,rip=127.0.0.1,lip=127.0.0.1,mpid=13183,secured,session=

Jun 20 18:40:37 ip-172-31-25-194 dovecot: imap(user1):已断开连接:已注销in=285 out=1659

Jun 20 18:40:44 ip-172-31-25-194后缀/smtpd13184:从localhost127.0.0.1连接

Jun 20 18:40:44 ip-172-31-25-194后缀/smtpd13184: 6090B41CF0: client=localhost127.0.0.1

Jun 20 18:40:44 ip-172-31-25-194后缀/清理13187: 6090B41CF0: message-id=6afb833b41b27d476223ad9c04ae5a6c.squirrel@xxxxx.com

Jun 20 18:40:44 ip-172-31-25-194后缀/qmgr29043: 6090B41CF0: from=,size=699,nrcpt=1 (活跃队列)

Jun 20 18:40:44 ip-172-31-25-194 postfix/smtpd13184:断开与localhost127.0.0.1的连接

Jun 20 18:40:44 ip-172-31-25-194 dovecot: imap-登录:登录: user=,method=PLAIN,rip=127.0.0.1,lip=127.0.0.1,mpid=13189,secured,session=

Jun 20 18:40:44 ip-172-31-25-194 dovecot: imap(user1):已断开连接:已注销in=600 out=524

Jun 20 18:40:44 ip-172-31-25-194 dovecot: imap-登录:登录: user=,method=PLAIN,rip=127.0.0.1,lip=127.0.0.1,mpid=13191,secured,session=

Jun 20 18:40:44 ip-172-31-25-194 dovecot: imap(user1):已断开连接:已注销in=117 out=1535

EN

回答 1

Stack Overflow用户

发布于 2015-06-24 07:39:53

代码语言:javascript
复制
Update, I can now send mail to external domains, but not receive from external domains.
But user1@mydomain.com & user2@mydomain.com can send and receive emails to each other.

MX record exists:
10  @   mail.mydomain.com   1 Hour  
0   @   smtp.mydomain.com   1 Hour

doveconf -n

auth_mechanisms = plain login
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 = pop3 imap
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
}
ssl = no
userdb {
  driver = passwd
}

postconf -n

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
home_mailbox = Maildir/
inet_interfaces = all
inet_protocols = ipv4
mailbox_size_limit = 0
mydestination = mydomain.com, ip-172-31-25-194.us-west-2.compute.internal, localhost.us-west-2.compute.internal, localhost
myhostname = mydomain.com
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
myorigin = /etc/mailname
queue_directory = /var/spool/postfix
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
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/30959035

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档