Hi all Trying to setup dovecot with mysql and postfix, I have configured it as given below. thecot user has the dovecot group as primary, and is also a member of mail and dovecot-users. Still, it can't setgid to dovecot-users. I tried changing the shell for the dovecot user to something useful and chmod'ing a file to dovecot-users, and it work well. Still, no mail comes through and dovecot gives me this error deliver(roy at somedomain.com): 2009-05-23 15:02:52 Fatal: setgid(115) failed with euid=115, gid=114, egid=114: Operation not permitted Any ideas? roy # Dovecot config # 1.0.15: /etc/dovecot/dovecot.conf log_path: /var/log/dovecot/dovecot.log log_timestamp: %Y-%m-%d %H:%M:%S disable_plaintext_auth: no verbose_ssl: yes login_dir: /var/run/dovecot/login login_executable: /usr/lib/dovecot/imap-login verbose_proctitle: yes mail_privileged_group: mail mail_location: maildir:/var/spool/dovecot/%d/%n auth default: default_realm: eventchief.com verbose: yes debug: yes passdb: driver: sql args: /etc/dovecot/dovecot-sql.conf userdb: driver: sql args: /etc/dovecot/dovecot-sql.conf socket: type: listen master: path: /var/run/dovecot/auth-master mode: 432 user: dovecot group: mail -- Roy Sigurd Karlsbakk (+47) 97542685 / 98013356 roy at karlsbakk.net http://blogg.karlsbakk.net/ -- I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et element?rt imperativ for alle pedagoger ? unng? eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer p? norsk.
On May 23, 2009, at 9:14 AM, Roy Sigurd Karlsbakk wrote:> deliver(roy at somedomain.com): 2009-05-23 15:02:52 Fatal: setgid(115) > failed with euid=115, gid=114, egid=114: Operation not permittedYou start deliver with wrong group (114 instead of 115). What does your Postfix configuration for deliver look like?
On 23. mai. 2009, at 22.46, Timo Sirainen wrote:> On May 23, 2009, at 9:14 AM, Roy Sigurd Karlsbakk wrote: > >> deliver(roy at somedomain.com): 2009-05-23 15:02:52 Fatal: setgid(115) >> failed with euid=115, gid=114, egid=114: Operation not permitted > > You start deliver with wrong group (114 instead of 115). What does > your Postfix configuration for deliver look like?See postfix config below. Postfix seems to be run by the postfix user (not mail, as I thought). How can I change deliver to be run as the right group? roy smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) biff = no append_dot_mydomain = no myhostname = eventchief.com alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = localhost.localdomain, localhost.localdomain, localhost, eventchief.com mynetworks = 127.0.0.0/8 mailbox_command = procmail -a "$EXTENSION" mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all mailbox_transport = dovecot local_recipient_maps smtpd_recipient_restrictions permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_invalid_hostname, reject_non_fqdn_recipient, reject_unauth_destination, check_policy_service inet:127.0.0.1:60000 permit -- Roy Sigurd Karlsbakk (+47) 97542685 / 98013356 roy at karlsbakk.net http://blogg.karlsbakk.net/ -- I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et element?rt imperativ for alle pedagoger ? unng? eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer p? norsk.