Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th June 2006, 06:34
rickygm rickygm is offline
Junior Member
 
Join Date: May 2006
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default Courier-imap and suse 10.1 64 BIT

hello forum has followed the guide of SUSE 10.1 Perfect setup , But I have some problems with courier-imap , I send him a mail an user of my server doesn't receive it and I see the log and I find errors of Maildir :

pegaso postfix/qmgr[3677]: 84F002C000FF: removed
Jun 19 17:04:52 pegaso postfix/local[4166]: 990E72C00583: to=<user@dominio.net>, relay=local, delay=0, status=bounced (maildir delivery failed: create /home/user/Maildir/tmp/1150758292.P4166.pegaso: Permission denied)
Jun 19 17:04:52 pegaso postfix/local[4166]: warning: maildir access problem for UID/GID=1001/100: create /home/user/Maildir/tmp/1150758292.P4166.pegaso: Permission denied
Jun 19 17:04:52 pegaso postfix/local[4166]: warning: perhaps you need to create the maildirs in advance

I have followed the guide of Suse 10.1 Perfect Setup 10.1 32 bit

that it can be happening?

thank forum!!!
Reply With Quote
Sponsored Links
  #2  
Old 21st June 2006, 00:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

What's the output of
Code:
ls -la /home
ls -la /home/user
ls -la /home/user/Maildir
?
What's the username you send mail to?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 22nd June 2006, 07:39
rickygm rickygm is offline
Junior Member
 
Join Date: May 2006
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

pegaso:/home # ls -la /home/
total 4
drwxr-xr-x 2 root root 6 Apr 22 20:07 .
drwxr-xr-x 23 root root 4096 Jun 21 23:54 ..


pegaso:/ # ls -l
total 72
drwx------ 2 root root 75 Jun 21 23:26 .gnupg
drwxr-xr-x 2 root root 4096 Jun 22 00:25 Backup10.1-64Bits
drwxr-xr-x 2 root root 4096 Jun 21 22:08 bin
drwxr-xr-x 3 root root 4096 Jun 21 23:07 boot
drwxr-xr-x 11 root root 8140 Jun 22 00:32 dev
drwxr-xr-x 108 root root 12288 Jun 22 00:33 etc
drwxr-xr-x 2 root root 6 Apr 22 20:07 home
drwxr-xr-x 10 root root 4096 Jun 21 22:36 lib
drwxr-xr-x 3 root root 4096 Jun 21 22:36 lib64


inside the home I don't have any user, I understand that courier believes the home from the user when sending a mail

I send a mail to the user ricardo

thank forum
drwxr-xr-x 2 root root 6 Apr 22 20:07 home
Reply With Quote
  #4  
Old 22nd June 2006, 23:31
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

What's the output of
Code:
grep ricardo /etc/passwd
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 24th June 2006, 20:12
rickygm rickygm is offline
Junior Member
 
Join Date: May 2006
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

pegaso:~ # grep ricardo /etc/passwd
ricardo:x:1000:100::/home/ricardo:/sbin/nologin

also sends me this problem :

authentication error: Permission denied
Connection, ip=[::ffff:192.168.1.13]
Jun 24 12:58:36 pegaso pop3d: ricardo: chdir(/home/ricardo) failed!!
Jun 24 12:58:36 pegaso pop3d: error: Permission denied
Jun 24 12:58:36 pegaso pop3d: LOGIN FAILED, user=ricardo, ip=[::ffff:192.168.1.13
Reply With Quote
  #6  
Old 25th June 2006, 18:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Please do this:
Code:
mkdir /home/ricardo
chown ricardo /home/ricardo
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 26th June 2006, 06:42
rickygm rickygm is offline
Junior Member
 
Join Date: May 2006
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy

Jun 25 23:44:18 pegaso postfix/qmgr[3560]: 2A5FC2C00582: from=<>, size=2476, nrcpt=1 (queue active)
Jun 25 23:44:18 pegaso postfix/qmgr[3560]: 131722C00581: removed
Jun 25 23:44:18 pegaso postfix/local[3916]: 2A5FC2C00582: to=<ricardo@netsoluciones.net>, relay=local, delay=0, status=bounced (maildir delivery failed: create /home/ricardo/Maildir/tmp/1151300658.P3916.pegaso: Permission denied)
Jun 25 23:44:18 pegaso postfix/local[3916]: warning: maildir access problem for UID/GID=1000/100: create /home/ricardo/Maildir/tmp/1151300658.P3916.pegaso: Permission denied
Jun 25 23:44:18 pegaso postfix/local[3916]: warning: perhaps you need to create the maildirs in advance
Jun 25 23:44:18 pegaso postfix/qmgr[3560]: 2A5FC2C00582: removed

pegaso:/home # ls -l
total 0
drwxr-xr-x 2 peter users 6 Jun 25 23:39 peter
drwxr-xr-x 2 ricardo users 6 Jun 25 23:38 ricardo


Postfix


pegaso:/home # postconf -n
alias_maps = hash:/etc/aliases
biff = no
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
defer_transports =
disable_dns_lookups = no
disable_mime_output_conversion = no
home_mailbox = Maildir/
html_directory = /usr/share/doc/packages/postfix/html
inet_interfaces = all
inet_protocols = all
mail_owner = postfix
mail_spool_directory = Maildir/
mailbox_command =
mailbox_size_limit = 0
mailbox_transport =
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains = netsoluciones.net
masquerade_exceptions = root
message_size_limit = 10240000
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = netsoluciones.net
myhostname = pegaso.netsoluciones.net
mynetworks = 192.168.1.0/24, 127.0.0.0/8
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
recipient_delimiter = +
relay_domains = $mydestination
relayhost =
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
smtp_sasl_auth_enable = no
smtp_use_tls = no
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = no
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_use_tls = no
strict_8bitmime = no
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

mail.err

pegaso pop3d: authentication error: No such file or directory
Jun 24 12:10:41 pegaso pop3d: authentication error: Permission denied
Jun 24 12:18:36 pegaso pop3d: authentication error: Permission denied
Reply With Quote
  #8  
Old 27th June 2006, 09:26
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

What's the output of
Code:
ls -la /home/ricardo
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 8th July 2006, 01:10
rickygm rickygm is offline
Junior Member
 
Join Date: May 2006
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

solved problem, disable the apparmor

thank forum
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Perfect Setup... IMAP help??? leon HOWTO-Related Questions 7 7th August 2008 16:17
suse 9.3 postfix imap sebikmik Installation/Configuration 2 19th June 2006 17:41
Courier IMAP & POP without SSL work, but not with SSL. Traxus Installation/Configuration 15 4th April 2006 18:50
Squirrelmail on Suse 9.3 rfburn Technical 5 18th February 2006 12:13
SUSE: Courier Imap missing authdaemond.mysql yellen Server Operation 8 9th February 2006 14:39


All times are GMT +2. The time now is 09:04.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.