Now that I have web-cyradm running, everything was looking good until I try to send a test email. Here is the error that I get in maillog: Nov 30 13:54:37 mailer01 postfix/smtpd[69106]: warning: unknown[192.168.40.4]: SASL PLAIN authentication failed Nov 30 13:54:39 mailer01 postfix/smtpd[69106]: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied Nov 30 13:54:39 mailer01 postfix/smtpd[69106]: warning: SASL authentication failure: Password verification failed

Here are the config files again for your pleasure:
************************
* /usr/local/etc/imapd.conf
************************
configdirectory: /var/imap
partition-default: /var/spool/imap
unixhierarchysep: yes
lmtpsocket: /var/imap/socket/lmtp
servername: mailer01.farheap.com
allowanonymouslogin: no
allowplaintext: yes
quotawarn: 90
timeout: 30
poptimeout: 10
dracinterval: 0
drachost: localhost
admins: cyrus
autocreatequota: 0
reject8bit: no
sieveusehomedir: false
sievedir: /var/imap/sieve
sendmail: /usr/sbin/sendmail
postmaster: postmaster
sieve_maxscriptsize: 32
sieve_maxscripts: 5
sasl_pwcheck_method: saslauthd
sasl_mech_list: plain digest-md5 cram-md5
tls_ca_file: /var/imap/server.pem
tls_cert_file: /var/imap/server.pem
tls_key_file: /var/imap/server.pem

**************************
* /usr/local/etc/cyrus.conf
**************************
# standard standalone server implementation

START {
 # do not delete this entry!
 recover       cmd="ctl_cyrusdb -r"

 # this is only necessary if using idled for IMAP IDLE
#  idled                cmd="idled"
}

# UNIX sockets start with a slash and are put into /var/imap/socket
SERVICES {
 # add or remove based on preferences
 imap          cmd="imapd" listen="imap" prefork=0
 imaps         cmd="imapd -s" listen="imaps" prefork=0
 pop3          cmd="pop3d" listen="pop3" prefork=0
 pop3s         cmd="pop3d -s" listen="pop3s" prefork=0
 sieve         cmd="timsieved" listen="sieve" prefork=0
 # these are only necessary if receiving/exporting usenet via NNTP
#  nntp         cmd="nntpd" listen="nntp" prefork=0
#  nntps                cmd="nntpd -s" listen="nntps" prefork=0

 # at least one LMTP is required for delivery
 lmtpunix      cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0
 # this is only necessary if using notifications
# notify cmd="notifyd" listen="/var/imap/socket/notify" proto="udp" prefork=1
}

EVENTS {
 # this is required
 checkpoint    cmd="ctl_cyrusdb -c" period=30

 # this is only necessary if using duplicate delivery suppression,
 # Sieve or NNTP
 delprune      cmd="cyr_expire -E 3" at=1440

 # this is only necessary if caching TLS sessions
 tlsprune      cmd="tls_prune" at=1440
}

***************************
* /etc/pam.d/imap sieve smtp pop pop3
***************************
auth sufficient /usr/lib/pam_pgsql.so

auth sufficient pam_unix_auth.so

account required /usr/lib/pam_pgsql.so

account  sufficient       pam_unix_acct.so

****************************
* /usr/local/lib/sasl2/smptd.conf
****************************
pwcheck_method: saslauthd
auxprop_plugin: sasldb
mech_list: plain

***************************
* /usr/local/etc/postfix/main.cf
***************************
queue_directory = /var/spool/postfix
command_directory = /usr/local/sbin
daemon_directory = /usr/local/libexec/postfix
mail_owner = postfix
myhostname = mailer01.farheap.com
mydomain = farheap.com
myorigin = $myhostname
inet_interfaces = all
proxy:pgsql:/usr/local/etc/postfix/pgsql-mydestination.cf
virtual_maps = pgsql:/usr/local/etc/postfix/pgsql-virtual.cf
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, mail.$mydomain, www.$mydomain, ftp.$mydomain,
local_recipient_maps = proxy:unix:passwd.byname $alias_maps
unknown_local_recipient_reject_code = 550
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mailbox_transport = cyrus
header_checks = regexp:/usr/local/etc/postfix/header_checks
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/local/sbin/sendmail
newaliases_path = /usr/local/bin/newaliases
mailq_path = /usr/local/bin/mailq
setgid_group = maildrop
html_directory = no
manpage_directory = /usr/local/man
sample_directory = /usr/local/etc/postfix
readme_directory = no
virtual_alias_maps = hash:/usr/local/etc/postfix/virtual, pgsql:/usr/local/etc/postfix/pgsql-virtual.cf
sender_canonical_maps = pgsql:/usr/local/etc/postfix/pgsql-canonical.cf
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
broken_sasl_auth_clients = yes
smtpd_helo_required = yes
smtpd_recipient_restrictions =
           reject_invalid_hostname,
           reject_unknown_sender_domain,
           reject_unknown_recipient_domain,
           reject_unauth_pipelining,
           permit_mynetworks,
           reject_unauth_destination,
           reject_rbl_client zombie.dnsbl.sorbs.net,
           reject_rbl_client relays.ordb.org,
           reject_rbl_client opm.blitzed.org,
           reject_rbl_client list.dsbl.org,
           reject_rbl_client sbl.spamhaus.org,
           permit
mime_header_checks=pcre:/usr/local/etc/postfix/body_checks

Any help, slaps in the face, kicks in the butt would be appreciated......
I think I got all the files here... please see previous email if you need package and machine specs.
Thanks in advance.
_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch

_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm

Reply via email to