| Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-12-2007, 08:09 AM
|
#1
|
|
LQ Newbie
Registered: May 2004
Distribution: suse
Posts: 21
Rep:
|
Centos, Fetchmail, Postfix, Open Exchange = Weird Mail behaviour
Hi Guys,
I'm playing around with open exchange(using the ava-sbs script), and I want it to fetch my email from my isp pop3 account so in my users root dir I've added,
Code:
poll mail.wamonline.org.uk
proto pop3
user "tom@wamonline.org.uk"
pass "*******"
is bugg
which downloads all the mail, and seems to work fine,
but once its downloaded it shunts them off to postfix(is this normal I know squat about mailing systems) and postfix seems to dump about 1/2 in the relative inbox for my open exchange account and the other 1/2 sit in the queue with an MTA error, even though they are all addressed to the same person.
My main.cf was generated by a script and looks like..
Code:
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
myorigin = $mydomain
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, ldap:ldapvdoms
##################### ldaptrans ################
ldaptrans_bind_dn= cn=Manager,dc=socialenterprise,dc=com
ldaptrans_bind_pw= fdr6v5
ldaptrans_server_host= 127.0.0.1
ldaptrans_server_port= 389
ldaptrans_bind= yes
ldaptrans_timeout= 20
ldaptrans_search_base= ou=MailTransports,ou=SMTPObjects,ou=AdminObjects,ou=OxObjects,dc=socialenterprise,dc=com
ldaptrans_query_filter= (&(objectclass=OXMailTransportObject)(smtpDomain=%s))
ldaptrans_result_attribute= smtpDomainTransportNexthop
ldaptrans_scope= one
ldaptrans_version= 3
################### ALIASES #####################################
ldapaliases_bind_dn= cn=Manager,dc=socialenterprise,dc=com
ldapaliases_bind_pw= fdr6v5
ldapaliases_search_base= ou=Users,ou=OxObjects,dc=socialenterprise,dc=com
ldapaliases_server_host= localhost
ldapaliases_server_port= 389
ldapaliases_bind= yes
ldapaliases_timeout= 20
ldapaliases_query_filter= (&(alias=%s)(objectclass=shadowAccount))
ldapaliases_result_attribute= uid
ldapaliases_scope= one
ldapaliases_version= 3
#################### ldapvdoms ##########################
ldapvdoms_bind_dn= cn=Manager,dc=socialenterprise,dc=com
ldapvdoms_bind_pw= fdr6v5
ldapvdoms_search_base= ou=VirtualDomains,ou=DNSObjects,ou=AdminObjects,ou=OxObjects,dc=socialenterprise,dc=com
ldapvdoms_server_host= localhost
ldapvdoms_server_port= 389
ldapvdoms_bind= yes
ldapvdoms_timeout= 20
ldapvdoms_query_filter= (&(objectclass=OXVDomainObject)(ou=%s)(MTALocaldomain=true))
ldapvdoms_result_attribute= ou
ldapvdoms_scope= one
################### LDAP_USER ##########################################
ldapuser_bind_dn= cn=Manager,dc=socialenterprise,dc=com
ldapuser_bind_pw= fdr6v5
ldapuser_search_base= ou=Users,ou=OxObjects,dc=socialenterprise,dc=com
ldapuser_server_host= localhost
ldapuser_server_host= localhost
ldapuser_server_port= 389
ldapuser_bind= yes
ldapuser_timeout= 20
ldapuser_query_filter = (uid=%s)
ldapuser_result_attribute= uid
ldapuser_scope= one
unknown_local_recipient_reject_code = 450
# SASL SUPPORT FOR CLIENTS
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
smtpd_tls_auth_only = yes
broken_sasl_auth_clients = yes
#TLS
smtpd_use_tls = yes
smtpd_tls_key_file = /etc/postfix/newreq-postfix.pem
smtpd_tls_cert_file = /etc/postfix/newcert-postfix.pem
smtpd_tls_CAfile = /etc/postfix/cacert-postfix.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
mynetworks = 127.0.0.0/8, 192.168.1.2
in_flow_delay = 1s
mail_spool_directory = /var/spool/mail
mailbox_command = /usr/lib/cyrus-imapd/deliver
mailbox_transport = cyrus
header_checks = regexp:/etc/postfix/header_checks
body_checks = regexp:/etc/postfix/body_checks
smtpd_banner = $myhostname ESMTP
local_destination_concurrency_limit = 2
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.0.11/samples
readme_directory = /usr/share/doc/postfix-2.0.11/README_FILES
smtpd_helo_required = yes
allow_untrusted_routing = no
smtpd_client_restrictions = reject_rbl_client relays.ordb.org,
permit_sasl_authenticated,
reject_rbl_client opm.blitzed.org,
reject_rbl_client sbl.spamhaus.org,
reject_rhsbl_client blackhole.securitysage.com,
permit_mynetworks,
smtpd_helo_restrictions = reject_rbl_client relays.ordb.org,
reject_rbl_client opm.blitzed.org,
reject_rbl_client sbl.spamhaus.org,
reject_rhsbl_client blackhole.securitysage.com,
permit_mynetworks,
smtpd_sender_restrictions = reject_unauth_pipelining,
permit_sasl_authenticated,
reject_rbl_client relays.ordb.org,
reject_rbl_client opm.blitzed.org,
reject_rbl_client sbl.spamhaus.org,
reject_rhsbl_client blackhole.securitysage.com,
reject_rhsbl_sender blackhole.securitysage.com,
permit_mynetworks,
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated,
reject_invalid_hostname,
reject_non_fqdn_hostname,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unknown_sender_domain,
reject_unknown_recipient_domain,
reject_unauth_pipelining,
reject_unauth_destination,
reject_rbl_client relays.ordb.org,
reject_rbl_client opm.blitzed.org,
reject_rbl_client sbl.spamhaus.org,
reject_rhsbl_client blackhole.securitysage.com,
reject_rhsbl_sender blackhole.securitysage.com,
permit
message_size_limit = 50000000
content_filter = smtp-amavis:[127.0.0.1]:10024
#content_filter=smtp-amavis:[127.0.0.1]:10024
Ignore the fact this is an open exchange installation the problems revolve around Fetchmail and Postfix which don't seem to be playing nice.
Cheers
Tom
|
|
|
|
02-13-2007, 02:00 AM
|
#2
|
|
Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
I think fetchmail just drops the mail to port 25, and postfix will be listening on that and pick up any mail from fetchmail, so that sounds quire right.
Keys here will be to:
1. tell us what the queue messages look like
2. what your maillog says for a "good" and a "bad" mail
Can you post those?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:58 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|