Mailinglist Archive: opensuse (5130 mails)

< Previous Next >
Re: [SLE] Postfix + Cyrus problem: local delivery doesnot work
  • From: Vitaly Shishakov <shift@xxxxxxxxxxxxxxxxx>
  • Date: Tue, 2 May 2006 02:33:26 +0400
  • Message-id: <200605020233.26104.shift@xxxxxxxxxxxxxxxxx>
Sandy, thank you very much for advise!

В сообщении от 1 мая 2006 23:54 Sandy Drobic написал(a):
> Vitaly Shishakov wrote:
> > Dear all,
> >
> > I have a problem setting up an E-mail service using cyrus and postfix on
> > SuSE 10.1 (RC3).
> > The cyrus itself looks OK, i can even successfully log into a users
> > mailbox, and the postfix seems to understand that config too -- i set up
> > SASL authentication for smtpd server, and it lets me to send mail outside
> > only if i provide correct users login and password.
> > But: posfix refuses to deliver local mail for my domain (see log
> > quotations below) ragardless whatever local_transprot i use: cyrus or
> > lmtp.
>
> Now, that is a bit strange. Though you should probably leave
> local_transport alone and use mailbox_transport instead.

sorry, mistype, mailbox_trasport of course,

> That smells like a permission problem. Starting with Suse 10 Novell has
> included AppArmor to prevent applications from using files not defined in
> their profile. The other possibility is that the user that is configured
> in master.cf does not have the right to use the transport cyrus. Though
> that would be a bit strange.
>
> Try to deactivate AppArmor, then "postfix stop; postfix start;"

It worked! all mails from the queue arrived. Thank you very much for help.
now i'll go RTFM about AppArmor -- as a matter of fact,
since SuSE 10.1 it is enabled by default.


>
> Try to send another mail after that. Does this mail end up in Cyrus?
>
> Another possibility is that you have configured postfix/local in a chroot.
>
> > /usr/lib64/sasl2/Cyrus.conf (symlinks: imapd.conf imap.conf)
> > ----------------------------------------------------------------
> > auxprop_plugin: sql
> > sql_engine: mysql
> > sql_user: mail
> > sql_passwd: gtxrby
> > sql_hostnames: localhost
> > sql_database: lanbilling
> > sql_statement: select pass from vgroups where login = '%u'
> > sql_usessl: no
> > password_format: plaintext
>
> I hope this is not your real password, otherwise change it, fast!

oops, missed this one, thanks.




< Previous Next >