new cyrus/postfix setup......getting out a few kinks....need reviews of conf. files!
Hello,
I'm trying to finish setting up a cyrus/postfix test server. I've got it
working locally but connecting to it from a network still has some problems.
When I setup a windows wkstn using outlook express to connect to the linux
server, I get an inbox with imap but I can't see any mail. The outlook
express is at the default setting.
also, I get the following message when starting the server:
Aug 24 15:17:11 linux master: setrlimit: Unable to set file descriptors limit
to -1: Operation not permitted
using fetchmail and kmail, I can get all the mails...they are being stored in
the maildir directories...so that part is working. I can read the mails as
long as I do it from the local machine......trying to access it from a
network isn't working - at least not yet.
Also....I didn't do the lmtp settings that are in the suse cyrus/imapd docs.
What consequences does this have? I didn't do it because I didn't see lmtp
installed on the machine. I'm just using the suse packages...not compiling
anything - at least not yet!
I'm on suse 8.1 if that helps.
Thanks!
Oskar
linux:~ # postconf -n
alias_maps = hash:/etc/aliases, hash:/etc/aliases.d/mailman
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter =
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
defer_transports =
disable_dns_lookups = no
home_mailbox = Maildir/
inet_interfaces = 127.0.0.1, 192.168.70.101
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_command =
mailbox_transport =
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 = 51200000
mydestination = $myhostname, localhost.$mydomain
myhostname = linux.local
newaliases_path = /usr/sbin/sendmail
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
relayhost = mail.earthlink.net
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_mynetworks,check_relay_domains
smtpd_sender_restrictions = hash:/etc/postfix/access
strict_rfc821_envelopes = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 450
******************this is /etc/imapd.conf file
settings**********************************************************
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_mech_list: PLAIN
sasl_pwcheck_method: saslauthd
lmtp_overquota_perm_failure: no
#
# 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
***********************************************************************************************
linux:/etc # cat /var/log/mail | tail
Aug 23 21:11:37 linux postfix/postfix-script: refreshing the Postfix mail
system
Aug 23 21:11:37 linux postfix/master[837]: reload configuration
Aug 23 22:40:12 linux postfix/master[837]: terminating on signal 15
Aug 24 15:17:17 linux postfix/postfix-script: warning:
/var/spool/postfix/lib/security/pam_filter/pam_filter/upperLOWER and
/lib/security/pam_filter/pam_filter/upperLOWER differ
Aug 24 15:17:19 linux postfix/postfix-script: starting the Postfix mail system
Aug 24 15:17:19 linux postfix/master[839]: daemon started -- version 2.0.9
Aug 24 15:23:45 linux postfix/pickup[841]: 01FE42FEC2: uid=500 from=<oskare>
Aug 24 15:23:45 linux postfix/cleanup[1290]: 01FE42FEC2:
message-id=<20030824202344.01FE42FEC2@linux.local>
Aug 24 15:23:45 linux postfix/qmgr[843]: 01FE42FEC2:
from=
On Sunday 24 August 2003 13:20, oskar teran wrote:
using fetchmail and kmail, I can get all the mails...they are being stored in the maildir directories...so that part is working. I can read the mails as long as I do it from the local machine......trying to access it from a network isn't working - at least not yet. Also....I didn't do the lmtp settings that are in the suse cyrus/imapd docs. What consequences does this have? I didn't do it because I didn't see lmtp installed on the machine. I'm just using the suse packages...not compiling anything - at least not yet!
I'm on suse 8.1 if that helps.
So you did start inetd, and it does have a line enabeling imap/pop server? --------------------lines from a typical /etc/inetd.conf # Pop et al # # pop2 stream tcp nowait root /usr/sbin/tcpd ipop2d # pop3 stream tcp nowait root /usr/sbin/tcpd ipop3d pop3 stream tcp nowait root /usr/sbin/tcpd /usr/sbin/popper -s -R # # Imapd - Interactive Mail Access Protocol server # Attention: This service is very insecure # imap stream tcp nowait root /usr/sbin/tcpd imapd # You should pay attention th that warning about how insecure imapd is and only uncomment that line if you are willing to accept the risk. -- _____________________________________ John Andersen
On Sunday 24 August 2003 13:20, oskar teran wrote:
using fetchmail and kmail, I can get all the mails...they are being stored in the maildir directories...so that part is working. I can read the mails as long as I do it from the local machine......trying to access it from a network isn't working - at least not yet. Also....I didn't do the lmtp settings that are in the suse cyrus/imapd docs. What consequences does this have? I didn't do it because I didn't see lmtp installed on the machine. I'm just using the suse
compiling anything - at least not yet!
I'm on suse 8.1 if that helps.
So you did start inetd, and it does have a line enabeling imap/pop server? I didn't do that...but the lsof -i shows cyrus imap and pop3 running and
----- Original Message -----
From: "John Andersen"
--------------------lines from a typical /etc/inetd.conf # Pop et al # # pop2 stream tcp nowait root /usr/sbin/tcpd ipop2d # pop3 stream tcp nowait root /usr/sbin/tcpd ipop3d pop3 stream tcp nowait root /usr/sbin/tcpd /usr/sbin/popper -s -R # # Imapd - Interactive Mail Access Protocol server # Attention: This service is very insecure # imap stream tcp nowait root /usr/sbin/tcpd imapd #
You should pay attention th that warning about how insecure imapd is and only uncomment that line if you are willing to accept the risk.
-- _____________________________________ John Andersen
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
pheonix1t wrote:
----- Original Message ----- From: "John Andersen"
To: Sent: Sunday, August 24, 2003 4:27 PM Subject: Re: [SLE] new cyrus/postfix setup......getting out a few kinks....need reviews of conf. files! On Sunday 24 August 2003 13:20, oskar teran wrote:
using fetchmail and kmail, I can get all the mails...they are being
stored
in the maildir directories...so that part is working. I can read the
mails
as long as I do it from the local machine......trying to access it from
a
network isn't working - at least not yet. Also....I didn't do the lmtp settings that are in the suse cyrus/imapd docs. What consequences does this have? I didn't do it because I didn't see lmtp installed on the machine. I'm just using the suse
packages...not
compiling anything - at least not yet!
I'm on suse 8.1 if that helps.
So you did start inetd, and it does have a line enabling imap/pop server?
I didn't do that...but the lsof -i shows cyrus imap and pop3 running and listening? unless the imapd from inetd on suse is for the uw-imap which i believe is the default.... I'll try starting it and see what happens.
--------------------lines from a typical /etc/inetd.conf # Pop et al # # pop2 stream tcp nowait root /usr/sbin/tcpd ipop2d # pop3 stream tcp nowait root /usr/sbin/tcpd ipop3d pop3 stream tcp nowait root /usr/sbin/tcpd
/usr/sbin/popper -s -R
# # Imapd - Interactive Mail Access Protocol server # Attention: This service is very insecure # imap stream tcp nowait root /usr/sbin/tcpd imapd #
You should pay attention th that warning about how insecure imapd is and only uncomment that line if you are willing to accept the risk.
-- _____________________________________ John Andersen
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
These settings are for the UW-IMAP IMAP server. This does not have anything to do with Cyrus's IMAP. Actually you probably want to have them commented out. Do however make sure that /etc/services has IMAP and POP turned on. Try checking out the help file in the DOC directory. This will normally give you a clue on how to set it up. I wish I could help more, but I am using the same setup on SuSE 8.2. Have you setup users using Cyrus? Cyrus uses it's own user database, this way users do not have to have a shell account to have an email account. If you could post the following files I can try to help more: /etc/cyrus.conf /etc/imapd.conf Also, read up on SASL. This is what Cyrus uses to add users and to encrypt the IMAP user database. Hope this leads you down the right path! NeoFax
oskar teran wrote:
I'm trying to finish setting up a cyrus/postfix test server. I've got it working locally but connecting to it from a network still has some problems. When I setup a windows wkstn using outlook express to connect to the linux server, I get an inbox with imap but I can't see any mail. The outlook express is at the default setting. also, I get the following message when starting the server: Aug 24 15:17:11 linux master: setrlimit: Unable to set file descriptors limit to -1: Operation not permitted
using fetchmail and kmail, I can get all the mails...they are being stored in the maildir directories...so that part is working. I can read the mails as long as I do it from the local machine......trying to access it from a network isn't working - at least not yet.
Of course. Cyrus IMAP could not handle Maildir, it has it's own storage. You have to deliver the Mails over lmtp or maybe "deliver" to the cyrus-server.
Also....I didn't do the lmtp settings that are in the suse cyrus/imapd docs. What consequences does this have? I didn't do it because I didn't see lmtp installed on the machine. I'm just using the suse packages...not compiling anything - at least not yet!
I'm on suse 8.1 if that helps.
If you really want to use Maildir, you have to change to another IMAP-Server. I think Courier is the first choice, but don't flame me. If you want Cyrus, set it up like the suse-docs. -- Andreas
participants (5)
-
Andreas Winkelmann
-
John Andersen
-
oskar teran
-
pheonix1t
-
Terry Milnes