| Contact Us | CHT | Mobile | Wechat | Weibo | Search:
Welcome Visitors | 登录 | 免费注册 | 忘记了密码 | 社交账号注册或登录

Home

温哥华资讯

Realty

Education

Finance

Immigrants

Yellow Page

Travel
Search:  

 Global Announcement:  请不要上传第三方有版权的照片,请尊重版权,谢谢   转载新闻请务必注明出处,这些媒体请不要转,谢谢   批评商家需要注意  
 : NotmeL8 | XY | 猪头看世界 | 罗蓬特机器人 | lxls | 我的退休生活 | 格局 | 禅人俗事 | 顾晓军 | 一袭绛襦落鹏城,疑似玄女下九天 | 吕洪来的个人空间 | 客观中立而实事求是,唯服理据而杜绝辱骂 | 白龙王许道长 | 湖里湖涂 | 天涯逐梦 | My AI Tech Channel | Invisible world | 逸言堂 | 真情Z下海 | 大温房产和地产研究
 : 请问谁知道哪里有卖理发的电动推子?   忽然有个疑问:战争时期,加拿大拿PR卡未入籍的永久居民会被强制服兵役吗?   这个银条   如何修改会员名?
 Jump to:
     发帖回帖获取加西镑, 兑换精彩礼物

移民生活北美论坛 Forum Index -> 颠覆小组—LINUX

email服务器问题

Goto page: 1, 2, 3  Next  



Reply to topic          |##| -> |=|        Post new topic
View previous topic :: View next topic  
Author Message
Giant
()




Post Posted: 2010-8-03 21:01 Reply with quote
在centos5.5上装了postfix,courier,mysql,clamav,spamassassin,mailscanner,etc..
这部分工作正常。

今天整了half天mailman mail list, 一发邮件就“unknown user" icon_cry.gif

放狗也没找到一个完整的方案,谁有实战经验,帮一把ba!
 
|
View user's profile Send private message Topics User photo gallery  
Jackal
()




Post Posted: 2010-8-03 21:04 Reply with quote
日志贴出来才有可能有人帮的上
 
_________________
--
| Back to top
View user's profile Send private message Topics User photo gallery  
Giant
()



Post Posted: 2010-8-03 21:19 Reply with quote
明天贴log吧。今天东试西试的,整的很乱,幸好在装mailman之前备份了,现在恢复到装mailman之前状态了。明天重来。

正在RT官方FM~
icon_mrgreen.gif
 
| Back to top
View user's profile Send private message Topics User photo gallery  
Giant
()



Post Posted: 2010-8-05 14:07 Reply with quote
Hi, here is the maillog"
_BBCODE_CODE:
Aug  5 14:00:26 mail imapd: Connection, ip=[::ffff:127.0.0.1]
Aug  5 14:00:26 mail imapd: LOGIN, user=info@mydomain.com, ip=[::ffff:127.0.0.1], port=[49766], protocol=IMAP
Aug  5 14:00:26 mail postfix/pickup[2938]: 739A342F01CC: uid=48 from=<info@mydomain.com>
Aug  5 14:00:26 mail postfix/cleanup[2971]: 739A342F01CC: hold: header Received: by mail.mydomain.com (Postfix, from userid 48)??id 739A342F01CC; Thu,  5 Aug 2010 14:00:26 -0700 (PDT) from local; from=<info@mydomain.com>
Aug  5 14:00:26 mail postfix/cleanup[2971]: 739A342F01CC: message-id=<;
Aug  5 14:00:26 mail imapd: LOGOUT, user=info@mydomain.com, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=636, sent=203, time=0
Aug  5 14:00:26 mail imapd: Connection, ip=[::ffff:127.0.0.1]
Aug  5 14:00:26 mail imapd: LOGIN, user=info@mydomain.com, ip=[::ffff:127.0.0.1], port=[49770], protocol=IMAP
Aug  5 14:00:26 mail imapd: LOGOUT, user=info@mydomain.com, ip=[::ffff:127.0.0.1], headers=791, body=0, rcvd=311, sent=2624, time=0
Aug  5 14:00:26 mail MailScanner[2966]: New Batch: Scanning 1 messages, 888 bytes
Aug  5 14:00:26 mail MailScanner[2966]: Virus and Content Scanning: Starting
Aug  5 14:00:26 mail MailScanner[2966]: Requeue: 739A342F01CC.A2EB7 to C5C3142F01CB
Aug  5 14:00:26 mail MailScanner[2966]: Uninfected: Delivered 1 messages
Aug  5 14:00:26 mail postfix/qmgr[2939]: C5C3142F01CB: from=<info@mydomain.com>, size=1022, nrcpt=1 (queue active)
Aug  5 14:00:26 mail MailScanner[2966]: Deleted 1 messages from processing-database
Aug  5 14:00:26 mail postfix/virtual[2984]: C5C3142F01CB: to=<mailman@mydomain.com>, relay=virtual, delay=0.4, delays=0.37/0.02/0/0.01, dsn=5.1.1, status=bounced (unknown user: "mailman@mydomain.com")
Aug  5 14:00:26 mail postfix/cleanup[2971]: CEB1642F01CD: message-id=<;
Aug  5 14:00:26 mail postfix/qmgr[2939]: CEB1642F01CD: from=<>, size=2813, nrcpt=1 (queue active)
Aug  5 14:00:26 mail postfix/bounce[2986]: C5C3142F01CB: sender non-delivery notification: CEB1642F01CD
Aug  5 14:00:26 mail postfix/qmgr[2939]: C5C3142F01CB: removed
Aug  5 14:00:26 mail postfix/virtual[2984]: CEB1642F01CD: to=<info@mydomain.com>, relay=virtual, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to maildir)
Aug  5 14:00:26 mail postfix/qmgr[2939]: CEB1642F01CD: removed
 
| Back to top
View user's profile Send private message Topics User photo gallery  
Giant
()



Post Posted: 2010-8-05 14:10 Reply with quote
[root@mail ~]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases,hash:/etc/mailman/alias
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
header_checks = regexp:/etc/postfix/header_checks
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = mail.mydomain.com, localhost, localhost.localdomain
myhostname = mail.mydomain.com
mynetworks = 127.0.0.0/8
newaliases_path = /usr/bin/newaliases.postfix
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_use_tls = yes
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
unknown_local_recipient_reject_code = 550
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_create_maildirsize = yes
virtual_gid_maps = static:5000
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_maildir_extended = yes
virtual_maildir_limit_message = "The user you are trying to reach is over quota."
virtual_overquota_bounce = yes
virtual_uid_maps = static:5000
 
| Back to top
View user's profile Send private message Topics User photo gallery  
Giant
()



Post Posted: 2010-8-05 14:15 Reply with quote
Some notes:
1. It seems Postfix could not find the alias Mailman generated. I checked I do have these in place:
_BBCODE_WROTE:
[root@mail ~]# ll /etc/mailman/
total 36
-rw-r----- 1 root mailman 41 Aug 5 13:19 adm.pw
-rw-rw---- 1 mailman mailman 1132 Aug 5 13:42 aliases
-rw-rw---- 1 mailman mailman 12288 Aug 5 13:42 aliases.db
lrwxrwxrwx 1 root mailman 34 Aug 5 13:15 mm_cfg.py -> /usr/lib/mailman/Mailman/mm_cfg.py
-rw-r--r-- 1 root mailman 14114 May 24 2008 sitelist.cfg


2.
_BBCODE_WROTE:
[root@mail ~]# cat /etc/mailman/aliases
# This file is generated by Mailman, and is kept in sync with the
# binary hash file aliases.db. YOU SHOULD NOT MANUALLY EDIT THIS FILE
# unless you know what you're doing, and can keep the two files properly
# in sync. If you screw it up, you're on your own.

# The ultimate loop stopper address
mailman-loop: /var/lib/mailman/data/owner-bounces.mbox

# STANZA START: mailman
# CREATED: Thu Aug 5 13:42:42 2010
mailman: "|/usr/lib/mailman/mail/mailman post mailman"
mailman-admin: "|/usr/lib/mailman/mail/mailman admin mailman"
mailman-bounces: "|/usr/lib/mailman/mail/mailman bounces mailman"
mailman-confirm: "|/usr/lib/mailman/mail/mailman confirm mailman"
mailman-join: "|/usr/lib/mailman/mail/mailman join mailman"
mailman-leave: "|/usr/lib/mailman/mail/mailman leave mailman"
mailman-owner: "|/usr/lib/mailman/mail/mailman owner mailman"
mailman-request: "|/usr/lib/mailman/mail/mailman request mailman"
mailman-subscribe: "|/usr/lib/mailman/mail/mailman subscribe mailman"
mailman-unsubscribe: "|/usr/lib/mailman/mail/mailman unsubscribe mailman"
# STANZA END: mailman
 
| Back to top
View user's profile Send private message Topics User photo gallery  
Giant
()



Post Posted: 2010-8-05 14:34 Reply with quote
one more cfg file:

[root@mail mailman]# cat /etc/mailman/mm_cfg.py
# -*- python -*-

# Copyright (C) 1998,1999,2000,2001,2002 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

"""This module contains your site-specific settings.

From a brand new distribution it should be copied to mm_cfg.py. If you
already have an mm_cfg.py, be careful to add in only the new settings you
want. Mailman's installation procedure will never overwrite your mm_cfg.py
file.

The complete set of distributed defaults, with documentation, are in the file
Defaults.py. In mm_cfg.py, override only those you want to change, after the

from Defaults import *

line (see below).

Note that these are just default settings; many can be overridden via the
administrator and user interfaces on a per-list or per-user basis.

"""

###############################################
# Here's where we get the distributed defaults.

from Defaults import *
import pwd, grp

##################################################
# Put YOUR site-specific settings below this line.

##############################################################
# Here's where we override shipped defaults with settings #
# suitable for the RPM package. #
MAILMAN_UID = pwd.getpwnam('mailman')[2]
MAILMAN_GID = grp.getgrnam('mailman')[2]

##############################################################
# Set URL and email domain names #
#
# Mailman needs to know about (at least) two fully-qualified domain
# names (fqdn)
#
# 1) the hostname used in your urls (DEFAULT_URL_HOST)
# 2) the hostname used in email addresses for your domain (DEFAULT_EMAIL_HOST)
#
# For example, if people visit your Mailman system with
# "http://www.dom.ain/mailman" then your url fqdn is "www.dom.ain",
# and if people send mail to your system via "yourlist@dom.ain" then
# your email fqdn is "dom.ain". DEFAULT_URL_HOST controls the former,
# and DEFAULT_EMAIL_HOST controls the latter. Mailman also needs to
# know how to map from one to the other (this is especially important
# if you're running with virtual domains). You use
# "add_virtualhost(urlfqdn, emailfqdn)" to add new mappings.

# Default to using the FQDN of machine mailman is running on.
# If this is not correct for your installation delete the following 5
# lines that acquire the FQDN and manually edit the hosts instead.

#from socket import *
#try:
# fqdn = getfqdn()
#except:
# fqdn = 'mm_cfg_has_unknown_host_domains'

DEFAULT_URL_HOST = 'mail.mydomain.com'
DEFAULT_EMAIL_HOST = 'mydomain.com'
add_virtualhost('mail.mydomain.com', 'mydomain.com')

# Because we've overriden the virtual hosts above add_virtualhost
# MUST be called after they have been defined.

add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)


##############################################################
# Put YOUR site-specific configuration below, in mm_cfg.py . #
# See Defaults.py for explanations of the values. #

# Note - if you're looking for something that is imported from mm_cfg, but you
# didn't find it above, it's probably in Defaults.py.

MTA = 'Postfix'
 
| Back to top
View user's profile Send private message Topics User photo gallery  
Giant
()



Post Posted: 2010-8-05 17:40 Reply with quote
快崩溃了,又是半天白干! yct_stress.gif
 
| Back to top
View user's profile Send private message Topics User photo gallery  
Jackal
()



Post Posted: 2010-8-05 18:47 Reply with quote
以前配过postfix没有?
最好一个一个的来
第一步把dns配置好
第二步配mta可以发邮件 即使是open relay也行 能发了再加限制
第三步 忘了叫啥了 就是mail store之类的 可以收邮件 pop和iMapd之类可以不用配

等这些都通了 再配扫病毒之类的
 
_________________
--
| Back to top
View user's profile Send private message Topics User photo gallery  
青城
()



Post Posted: 2010-8-05 18:52 Reply with quote
elastix带的EMAIL服务器不好用吗?
 
_________________
.
Great spirits have always encountered violent opposition from mediocre minds

学习LINUX,颠覆WINDOWS。 点击加入颠覆小组
| Back to top
View user's profile Send private message Topics User photo gallery  
 
Reply to topic     |##| -> |=|     移民生活北美论坛 Forum Index -> 颠覆小组—LINUX All times are GMT - 8 Hours
Page 1 of 3 Goto page: 1, 2, 3  Next  


注:
  • 以上论坛所有发言仅代表发帖者个人观点, 并不代表本站观点或立场, 加西网对此不负任何责任。
  • 投资理财及买房卖房版面的帖子不构成投资建议。投资有风险,责任请自负
  • 对二手买卖中的虚假信息,买卖中的纠纷等均与本站无关。
  • 黄页热门商家 免费个人广告
    发布商业广告

    You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot vote in polls in this forum
    You cannot attach files in this forum
    You can download files in this forum

    Jump to: 

    Giant, Jackal, Giant, Giant, Giant, Giant, Giant, Giant, Jackal, 青城
    潜力帖子 精华帖子 热门帖子
    完了,加国房东们的灾星上台了
    也无所谓,选举结果也没什么大影响
    习主席会不会去俄国看普京阅兵?
    区别
    订位了
    华为手机
    自由党太阴险甚至恶劣
    加西第一蠢货推荐/提名贴
    Peter Julian也落选了!
    辛普森杀妻案
    大统华的龙眼
    一大早起来感觉还挺凉的
    有点三胖子的味道
    两个都撂下狠话
    那个网友,珍惜暗恋,帮助你的大娘
    5月2日换币盛况
    维达大师,另类收藏,请您欣赏!
    清代福州台伏钞票
    四川官钱局钞票
    大汉四川军政府军用银票
    今年新币发行计划
    要出一个新的一元
    古董金币
    mint三月新币(四月新币从22楼起)
    1999 mule 25分
    2025 蛇年敲币活动
    加拿大新总理马克卡尼
    我在小红书被骂穷得没钱给孩子买衣服
    美国2025年AWQ(美国妇女25c)发行计划
    韩国空难FDR黑匣子缺失最后四分钟关...
    皮尔今天在温哥华 - 蓝色wave - 保...
    几分钟前,中国强硬反击,征34+50,...
    曼谷高楼直接倒了
    我说我希望特朗普赢,老公气得眼睛...
    知乎?加西网上为什么有老男人喜欢...
    明明有能力统台,大陆为何迟迟不动手?
    貌似ndp稍占上风。。。。。
    今天是感恩节,跟大家道个别,以后...
    咱最后还是投了ndp
    生平第一次被偷车了
    中国会不会武统台湾
    突发:台湾队战胜中国队奥运夺冠,...
    温哥华房姐出事了
    有在看总统辩论的吗?
    退休几年后的感悟

    最新新闻 热门新闻 热评新闻
    乌克兰称俄军无人机夜袭基辅 酿11伤、住宅起火
    BC邻居开闹集会要独立 原住民出手
    见过菲律宾人吃蝙蝠 吸血鬼都吓尿了
    中产玩户外的尽头,是老年徒步团?
    不跪?1949年,中国人民站起来了吗?
    天津一奶茶包装"嬲"字 被游客吐槽
    自然资源再透支 德国又双叒叕要寅吃卯粮
    黄石公园车祸惨案 中国游客5死8伤
    群体结构性绝望!3个董小姐,3匹野马闹中华
    以军拟征召数千预备役部队 加萨战事恐扩大
    赶紧原形毕露!情侣尴尬期 盛产死装年轻人
    胡塞武装导弹袭击特拉维夫机场 以方誓言加倍奉还
    飞机迫降 被鳄鱼包围 36小时真实版亚马逊历险记
    日本女报警9次遭无视惨死 全网怒炸 群众包围警局
    五一长假 贵州2艘游船翻覆 近20人失联
    打工人"五一"搞钱记:在蟑螂屋里叠衣服 我挣了100万
    股东大会7项表决全遭否决  巴菲特也投反对票
    马斯克的"星舰基地"成为新城镇,首任市长为SpaceX员工
    美国快艇瞬间起飞 吓坏现场观众
    宣布年底退休!大谈AI 巴菲特股东大会看点在这
    傻眼 中国5.5公斤黄金缩水 半年后只剩4公斤
    男子违规攀爬西安城墙像"岩羊",景区介入核查
    关税挡不住买买买 美国人打飞的赴中国扫货
    墨西哥总统:已拒绝特朗普派美军"帮助"我们
    这国大使放狠话:若开战,将使用核武器
    巴菲特分享赚钱秘诀 核心只有6字
    107岁岛内统派大佬许历农去世,生前唯一愿望是...
    美媒透露:英伟达正设计新特供版AI芯片
    特斯拉重申视觉智驾路线,称先进技术不需要...
    这类人 18 种癌症都很爱 中国人里占一半
    民调:加国75%称虚假信息影响选举
    会普通话?加拿大政府招人年薪12万
    女儿透露 比尔盖茨患阿斯伯格综合征
    诸葛亮亲授八卦阵 姜维至死不敢用 廖化道破真相
    大温车祸华裔惨死 嫌犯就这样放了
    小镇市长兴奋 博励治瞄准这省席位
    "离奇"就医路:辗转多家三甲 却被三乙救了命
    加拿大这省要公投加入美国51州! 石油储量居加国第一
    华尔街日报:贸易战踢爆中国的弱点
    路透:美国已敲定对俄罗斯新制裁 就看川普是否批准
    60年!巴菲特宣布年末交棒 全场起立掌声久久不息
    抄底战争赚到一切 金正恩比特朗普更懂"交易的艺术"
    宣布年底退休!大谈AI 巴菲特股东大会看点在这
    男子违规攀爬西安城墙像"岩羊",景区介入核查
    关税挡不住买买买 美国人打飞的赴中国扫货

    更多方式阅读论坛:

    Android: 加西网
    [下载]

    Android: 温哥华论坛
    [下载]

    PDA版本: 论坛

    加西网微信

    加西网微博


    Powered by phpBB 2.0.8
    Terms & Conditions    Privacy Policy    Political ADs    Activities Agreement    Contact Us    Sitemap    

    加西网为北美中文网传媒集团旗下网站

    Page Generation: 0.0631 Seconds and 5 DB Queries in 0.0019 Seconds