Re: [opensuse] Setting up Postfix/Cyrus Mailserver - File errors
- From: Jim Flanagan <linuxjim@xxxxxxxxxx>
- Date: Wed, 06 Apr 2011 22:05:43 -0500
On 04/06/2011 10:00 AM, Ralf Haferkamp wrote:
Am Mittwoch 06 April 2011, 15:29:06 schrieb Jim Flanagan:
[..]
Yes, I do want saslauthd +ssl, and was working to configure that. IHm, I wonder where you got that config file from. It has almost nothing
can confirm the following.
user@jimmee:~> testsaslauthd -u linuxjim -p password -s smtp
0: OK "Success."
user@jimmee:~> testsaslauthd -u linuxjim -p password -s imap
0: OK "Success."
Config files as follows:
/etc/imapd.conf:
[General]
Verbosity = 0
Pipefs-Directory = /var/lib/nfs/rpc_pipefs
Domain = localdomain
sasl_pwcheck_method: saslauthd
sasl_mech_list: plain login
allowplaintext: 1
[Mapping]
Nobody-User = nobody
Nobody-Group = nobody
to do with a valid cyrus-imapd imapd.conf. Please have a look at the
default imapd.conf that is shipped with the cyrus-imapd package, and at
the imapd.conf(5) man page.
Ralf
Ok. Well. [Egg on face here]. I edited the wrong file. The file I sent is idmapd.conf, not imapd.conf. Sorry guys, this is truly embarrassing. Here is the correct file:
/etc/imapd.conf
configdirectory: /var/lib/imap
partition-default: /var/spool/imap
sievedir: /var/lib/sieve
admins: cyrus
allowanonymouslogin: no
autocreatequota: 10000
reject8bit: no
quotawarn: 90
timeout: 30
poptimeout: 10
dracinterval: 0
drachost: localhost
sasl_pwcheck_method: saslauthd
lmtp_overquota_perm_failure: no
lmtp_downcase_rcpt: yes
allowplaintext: 1
#
# if you want TLS, you have to generate certificates and keys
#
#tls_cert_file: /usr/ssl/certs/cert.pem
#tls_key_file: /usr/ssl/certs/skey.pem
#tls_ca_file: /usr/ssl/CA/CAcert.pem
#tls_ca_path: /usr/ssl/CA
This is default, except that I added the line "allowplaintext: 1" per the cyrus docs onboard 11.4.
So, restarting cyrus and saslauthd, and reloading postfix, I can now start cyradm and manage mailboxes. I can also receive mail on this install. I cannot send out however. I'm trying to bounce email to another box on my local net, but it does not get delivered.
The contents of my main.cf as of now is:
jimmee:~ # postconf -n
alias_maps = hash:/etc/aliases
biff = no
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter =
daemon_directory = /usr/lib/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
defer_transports =
delay_warning_time = 1h
disable_dns_lookups = no
disable_mime_output_conversion = no
html_directory = /usr/share/doc/packages/postfix-doc/html
inet_interfaces = all
inet_protocols = all
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_command =
mailbox_size_limit = 0
mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains =
masquerade_exceptions = root
message_size_limit = 0
message_strip_characters = \0
mydestination = $myhostname, localhost.$mydomain
myhostname = jimmee.jjfiii
mynetworks_style = subnet
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix-doc/README_FILES
relay_domains = $mydestination, hash:/etc/postfix/relay
relayhost =
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix-doc/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_enforce_tls = no
smtp_sasl_auth_enable = yes
smtp_use_tls = no
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_use_tls = no
strict_8bitmime = yes
strict_rfc821_envelopes = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_domains = hash:/etc/postfix/virtual
virtual_alias_maps = hash:/etc/postfix/virtual
Not sure what is preventing mail from being delivered.
Many thanks,
Jim F
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- Follow-Ups:
- Re: [opensuse] Setting up Postfix/Cyrus Mailserver - File errors
- From: Per Jessen
- Re: [opensuse] Setting up Postfix/Cyrus Mailserver - File errors
- References:
- [opensuse] Setting up Postfix/Cyrus Mailserver - File errors
- From: Jim Flanagan
- Re: [opensuse] Setting up Postfix/Cyrus Mailserver - File errors
- From: Sandy Drobic
- Re: [opensuse] Setting up Postfix/Cyrus Mailserver - File errors
- From: Jim Flanagan
- Re: [opensuse] Setting up Postfix/Cyrus Mailserver - File errors
- From: Ralf Haferkamp
- [opensuse] Setting up Postfix/Cyrus Mailserver - File errors
- Prev by Date: Re: [opensuse] how to restore vmlinux and initrd
- Next by Date: Re: [opensuse] how to restore vmlinux and initrd
- Previous by thread: Re: [opensuse] Setting up Postfix/Cyrus Mailserver - File errors
- Next by thread: Re: [opensuse] Setting up Postfix/Cyrus Mailserver - File errors
- Index(es):