me
2 days to discover this trick. I was playing around on POP3. For
outbound mails it runs SMTP. Now SugarCRM can send and receive mails
without problem.
B.R.
Stephen
On Jul 18, 2008, at 10:15 PM, Stephen Liu wrote:
Hi folks,
Postfix
Cyrus
SugarCRM
Previously I have been
Hi folks,
Postfix
Cyrus
SugarCRM
Previously I have been sufferring users can't send emails on mail
client, Evolution, on local PC. They can receive mails. With the
assistance of folk on [EMAIL PROTECTED] the problem was
fixed.
Now I'm suffering on users can't receive emails on SugarCRM on
Hi folks,
Ubuntu LAMP 6.06 amd64
Postfix
Cyrus-imap-2.2
Just discovered unable to login cyradm as cyrus
$ cyradm -user cyrus localhost
Password:
cyradm: cannot authenticate to server as cyrus
The password is correct. Also ran;
$ sudo passwd cyrus
to create a new password but without
Hi Nicolas,
Thanks for your advice.
In /etc/imapd.conf file you must add this line (reads the comments to
understand what you make):
# Uncomment the following and add the space-separated users who
# have admin rights for all services.
admins: cyrus
This line already uncommented
, Stephen Liu [EMAIL PROTECTED] wrote:
Hi Nicolas,
Thanks for your advice.
In /etc/imapd.conf file you must add this line (reads the
comments to
understand what you make):
# Uncomment the following and add the space-separated users who
# have admin rights for all
--- Nicolas Carlier [EMAIL PROTECTED] wrote:
On Wed, Jul 9, 2008 at 6:50 PM, Stephen Liu [EMAIL PROTECTED]
wrote:
--- Nicolas Carlier [EMAIL PROTECTED] wrote:
- snip -
What kind of auth system are you using?
$ apt-cache policy libsasl2
libsasl2:
Installed: 2.1.19.dfsg1
--- Nicolas Carlier [EMAIL PROTECTED] wrote:
On Wed, Jul 9, 2008 at 7:50 PM, Peter Santiago
[EMAIL PROTECTED] wrote:
Stephen Liu wrote:
Jul 9 23:45:30 satimis cyrus/master[4534]: about to exec
/usr/lib/cyrus/bin/imapd
Jul 9 23:45:30 satimis cyrus/imap[4534]: executed
Jul 9 23
--- Simon Matter [EMAIL PROTECTED] wrote:
- snip -
Exactly, I suggest you remove all mailboxes and then start creating
the
correct new ones.
Hi Simon,
I take your advice deleting all mailboxes while running cyradm and
recreate them afterwards.
SquirrelMail is now running nicely
Hi Nicolas,
- snip -
Back to Cyrus-imapd, I tried to use the Debian version, but after
considering the Debian-specifics docs and scripts, I ended up
compiling
my own version, and use a really simple configuration, provided by
the
sources.
The only reason for me installing packages
--- Alain Spineux [EMAIL PROTECTED] wrote:
I don't think I need unixhierarchysep. Neither I have a full
understanding of its function.
unixhierarchysep is usefull to have allow dot into mailbox name.
Hi Alain,
Whether you meant;
INBOX
INBOX.Drafts
INBOX.Sent Items
INBOX.friends
Hi Simon,
- snip -
You really have to understand what you are doing and how your system
you
configured works. Or how you want it to work.
1) didn't you use unixhierarchysep: 1 in your config. My personal
impression is that it's just more confusing than using the default
. as
separator. I
Hi Simon,
OK I'll start again using cyrus.conf defualt and imapd.conf default.
If I make a wrong step please inform me. Thanks.
$ sudo cp -p /etc/cyrus.conf /etc/cyrus.conf.bak_20080615
$ sudo cp /etc/cyrus.conf.origin.20080606 /etc/cyrus.conf
$ sudo cp -p /etc/imapd.conf
Hi folks,
Ubuntu LTS 6.06 amd64
I have problem on satimiscyrus' mail boxes (This is the only user
account which I can create).
Emails can be received by this user on SquirrelMail. But they can't be
deleted. On deleting following warning popup.
ERROR: Could not complete request.
Query:
Hi folks,
Ubuntu LTS 6.06 amd64
Hi folks,
Having tried a day unable to figure out how to add users' accounts.
Steps performed as follows;
$ su cyrus
Password: xyz
sh-3.1$ cyradm localhost
IMAP Password: xyz
localhost cm user.aaa
localhost cm user.bbb
localhost cm user.ccc
--- Jorey Bump [EMAIL PROTECTED] wrote:
Stephen Liu wrote, at 06/09/2008 09:55 PM:
Jun 10 09:14:10 lampserver postfix/lmtp[4989]: 40275878215:
to=[EMAIL PROTECTED], relay=none, delay=0, status=deferred
(connect to
/var/run/cyrus/socket/lmtp[/var/run/cyrus/socket/lmtp]: Permission
Hi Jorey,
- snip -
The output here is;
$ id postfix
uid=107(postfix) gid=111(postfix) groups=111(postfix)
Yes. Now add the postfix user to the mail group, and the permissions
error should disappear.
I'm prepared to run;
$ sudo groupadd mail -g 1001
$ useradd postfix -u 1001 -g
Hi Alain,
Problem solved. Mail arrives.
- snip -
However on /etc/group I found following entries;
mail:x:8:dovecot
dovecot:x:113:
if you can edit /etc/group, change mail group like that
mail:x:8:dovecot,postfix
and restart postfix
Edit /etc/group and restart postfix
$
Hi folks,
On running;
$ su
# imtest -m login -p imap localhost
S: * OK lampserver Cyrus IMAP4 v2.2.12-Debian-2.2.12-4ubuntu1 server
ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS
NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND
--- Simon Matter [EMAIL PROTECTED] wrote:
- snip -
Please advise where shall I check and how to fix the problem. TIA
You should post your configs (/etc/cyrus.conf and /etc/imapd.conf)
which
will make it easier for someone to help you.
Hi Simon,
cyrus.conf and imapd.conf are as
Hi Michael,
Thanks for your advice.
Quoting Stephen Liu [EMAIL PROTECTED]:
$ cyradm -u cyrus localhost
Password:
localhost cm user.satimiscyrus
localhost quit
it works. But I can't find this new user NOR its mailbox.
$ locate satimiscyrus
/var/spool/cyrus/mail/u
--- Simon Matter [EMAIL PROTECTED] wrote:
- snip -
cyrus.conf and imapd.conf are as follows. Those lines, commented
out,
have been deleted to shorten the length of this posting.
OK, since you are using saslauthd you should also post the saslauthd
and
related configs (PAM or whatever
--- Simon Matter [EMAIL PROTECTED] wrote:
Sorry previously I made a mistake on posting /etc/default/saslauthd
It should read as;
$ cat /etc/default/saslauthd
# This needs to be uncommented before saslauthd will be run
automatically
START=yes
PARAMS=-m /var/spool/postfix/var/run/saslauthd -r
Hi Alain,
Thanks for your advice.
$ cyradm -u cyrus localhost
Password:
localhost dm user.satimiscyrus
deletemailbox: Permission denied
I can't delete the mailbox created previously.
Because you need to give yourself the right before
Whether I have to run the command as root?
Hi Michael,
$ cat /etc/imapd.conf | grep unixhierarchysep
unixhierarchysep: yes
It is set as yes
yes and 1 mean the same, unixhierarchsep is used.
Noted with thanks.
I can't delete the mailbox created previously.
as stated from cyradm the user cyrus does not have the
Hi Simon,
Whether I have to run the command as root?
NO, you shouldn't run this as root!
If you want to delete a cyrus mailbox you have to give the cyrus
admin
user the rights to do so (as someone else already stated).
Noted with thanks.
Hi Joseph,
Whether I have to run the command as root?
Root doesn't matter. The cyrus user needs permission to delete.
This is a safety feature. sam user.satimiscyrus cyrus all
Noted with thanks.
localhost cm user/satimiscyrus
localhost lm
user.groupware (\HasNoChildren)
Hi Simon,
- snip -
$ cat /etc/pam.d/imap
@include common-auth
@include common-account
Well, now you should provide us the common-auth and common-account
configs.
$ locate common-auth
/etc/pam.d/common-auth
/usr/share/pam/common-auth
/usr/share/pam/common-auth.md5sums
$ cat
Hi Jens,
Thanks for your advice.
- snip -
Would it be /var/run/cyrus/socket/lmtp ?
Yep, it would be it.
But please note that the postfix smtpd under Debian (and probably
Ubuntu as well) runs in a chroot environment. You can see this by
looking in your /etc/postfix/master.cf file, look
Hi Michael,
I have the feeling you should add this to your imapd.conf:
sasl_mech_list: PLAIN
I miss AUTH=LOGIN and AUTH=PLAIN
so sasl_mech_list: PLAIN will only cause that no auth mech
will be available.
Performed following test;
$ sudo nano /etc/imapd.conf
adding;
AUTH=LOGIN
Hi Alain,
- snip -
Would it be /var/run/cyrus/socket/lmtp ?
You have somewhere int your postfix main.cf /var/run/lmtp,
probably
a mailbox_transport=... or a local_transport=
You must replace it by the cyrus path : /var/run/cyrus/socket/lmtp
$ cat /etc/postfix/main.cf | grep
Hi Jorey,
- snip -
All those dashes represent the specified defaults for that column.
No 'y' found.
Stop guessing. Post your entire master.cf.
$ cat /etc/postfix/master.cf
#
# Postfix master process configuration file. For details on the format
# of the file, see the Postfix
Hi Wesley,
On 09 Jun 2008, at 13:06, Stephen Liu wrote:
S: L01 NO Login failed: generic failure
These generic login failures typically produce a log message in your
security logs.
Here are the logs
$ sudo ls -la /var/log/
total 48048
drwxr-xr-x 8 root root 4096 2008-06-10 06
Hi Alain,
On Mon, Jun 9, 2008 at 7:42 PM, Jorey Bump [EMAIL PROTECTED]
wrote:
Stephen Liu wrote, at 06/09/2008 01:19 PM:
There's no need to run Postfix in a chroot jail. You are better off
disabling chroot entirely (explicitly with an 'n' in master.cf).
Cyrus Home Page: http
--- Jens Hoffrichter [EMAIL PROTECTED] wrote:
$ cat /etc/postfix/master.cf | grep smtp
smtp inet n - - - - smtpd
smtp unix - - - - - smtp
relay unix - - - - - smtp
# -o
Hi folks,
Ubuntu 6.06 drake amd64
I'm following;
Cyrus
https://help.ubuntu.com/community/Cyrus
building IMAP/POP servers.
Packages installed;
postfix
cyrus-admin-2.2
cyrus-clients-2.2
cyrus-imapd-2.2
sasl2-bin
cyrus-pop3d-2.2
libc-client-dev
gamin
* end *
Everything is going on
--- Dick Hoogendijk [EMAIL PROTECTED] wrote:
On Sun, 8 Jun 2008 21:15:58 +0800 (CST)
Stephen Liu [EMAIL PROTECTED] wrote:
$ cyradm -u cyrus localhost
Password:
localhost cm user.satimiscyrus
createmailbox: Permission denied
* end *
Does the user cyrus exist w/ it's password
-xr-x 2 cyrus mail 4096 2008-05-24 21:46 x
drwxr-xr-x 2 cyrus mail 4096 2008-05-24 21:46 y
drwxr-xr-x 2 cyrus mail 4096 2008-05-24 21:46 z
* end *
sudo cat /etc/sasldb2 | grep cyrus
Binary file (standard input) matches
Please help. TIA
B.R.
Stephen L
--- Stephen Liu [EMAIL PROTECTED
Hi Simon,
Thanks for your advice.
It is my first time running cyrus-imap to setup a LAMP server. Most
times I run courier-imap. This is a test running headless on
installation and w/o X packages installed. The server is working.
Postfix can send mails via telnet. I suppose it can also
38 matches
Mail list logo