Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th February 2009, 00:48
kiladila kiladila is offline
Junior Member
 
Join Date: Feb 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Courier : can't create directories in home/vmail

I have a little problem whis this tutorial:
http://www.howtoforge.com/virtual-us...5#comment-5671

Postfix seams to be fine but courier cant create directories in home/vmail
and i cant receive emails and of corse login via squirrelmail.

No records in error logs...

I searched solution in this forum but no results...Can somebody help deal whis this?
__________________
Sorry for my english
Reply With Quote
Sponsored Links
  #2  
Old 20th February 2009, 18:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Did you send a welcome email to the account before you logged in?
__________________
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 20th February 2009, 20:38
kiladila kiladila is offline
Junior Member
 
Join Date: Feb 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes i sent welcome msg and no directory was created in home/vmail
__________________
Sorry for my english
Reply With Quote
  #4  
Old 21st February 2009, 18:17
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

What's in your mail log when you send a welcome message?
__________________
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 21st February 2009, 22:45
kiladila kiladila is offline
Junior Member
 
Join Date: Feb 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok this is mail.log when i sent test email via mailx:

Code:
Feb 21 23:43:47 softas postfix/pickup[19457]: D0E5295C37F: uid=0 from=<root>
Feb 21 23:43:47 softas postfix/cleanup[23541]: D0E5295C37F: message-id=<20090221214347.D0E5295C37F@softas.lt>
Feb 21 23:43:47 softas postfix/qmgr[5001]: D0E5295C37F: from=<root@softas.lt>, size=297, nrcpt=1 (queue active)
Feb 21 23:44:06 softas postfix/smtpd[23552]: connect from localhost.localdomain[127.0.0.1]
Feb 21 23:44:06 softas postfix/smtpd[23552]: D387895C3A0: client=localhost.localdomain[127.0.0.1]
Feb 21 23:44:06 softas postfix/cleanup[23541]: D387895C3A0: message-id=<20090221214347.D0E5295C37F@softas.lt>
Feb 21 23:44:06 softas postfix/qmgr[5001]: D387895C3A0: from=<root@softas.lt>, size=720, nrcpt=1 (queue active)
Feb 21 23:44:06 softas postfix/smtpd[23552]: disconnect from localhost.localdomain[127.0.0.1]
Feb 21 23:44:06 softas amavis[5352]: (05352-18) Passed CLEAN, <root@softas.lt> -> <romka@softas.lt>, Message-ID: <20090221214347.D0E5295C37F@softas.lt>, mail_id: CcCSEXvHQHka, Hits: -0.001, size: 297, queued_as: D387895C3A0, 19001 ms
Feb 21 23:44:06 softas postfix/smtp[23544]: D0E5295C37F: to=<romka@softas.lt>, relay=127.0.0.1[127.0.0.1]:10024, delay=19, delays=0.04/0.01/0/19, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as D387895C3A0)
Feb 21 23:44:06 softas postfix/qmgr[5001]: D0E5295C37F: removed
Feb 21 23:44:06 softas postfix/smtpd[17245]: connect from unknown[192.168.1.1]
Feb 21 23:44:06 softas postfix/smtp[23555]: warning: host mail.softas.lt[84.32.221.19]:25 greeted me with my own hostname softas.lt
Feb 21 23:44:06 softas postfix/smtp[23555]: warning: host mail.softas.lt[84.32.221.19]:25 replied to HELO/EHLO with my own hostname softas.lt
Feb 21 23:44:06 softas postfix/smtp[23555]: D387895C3A0: to=<romka@softas.lt>, relay=mail.softas.lt[84.32.221.19]:25, delay=0.04, delays=0.01/0.01/0.02/0, dsn=5.4.6, status=bounced (mail for mail.softas.lt loops back to myself)
Feb 21 23:44:06 softas postfix/smtpd[17245]: disconnect from unknown[192.168.1.1]
Feb 21 23:44:06 softas postfix/cleanup[23541]: E939995C3AB: message-id=<20090221214406.E939995C3AB@softas.lt>
Feb 21 23:44:06 softas postfix/qmgr[5001]: E939995C3AB: from=<>, size=2482, nrcpt=1 (queue active)
Feb 21 23:44:06 softas postfix/bounce[23557]: D387895C3A0: sender non-delivery notification: E939995C3AB
Feb 21 23:44:06 softas postfix/qmgr[5001]: D387895C3A0: removed
__________________
Sorry for my english

Last edited by kiladila; 21st February 2009 at 22:50.
Reply With Quote
  #6  
Old 22nd February 2009, 20:27
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Please add mail.softas.lt to the mydestination line in main.cf and restart Postfix.
__________________
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 22nd February 2009, 21:07
kiladila kiladila is offline
Junior Member
 
Join Date: Feb 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry no results...This is mail.log

Code:
Feb 22 22:01:23 softas postfix/smtpd[24859]: connect from localhost.localdomain[127.0.0.1]
Feb 22 22:01:23 softas postfix/smtpd[24859]: disconnect from localhost.localdomain[127.0.0.1]
Feb 22 22:02:23 softas postfix/smtpd[24859]: connect from localhost.localdomain[127.0.0.1]
Feb 22 22:02:23 softas postfix/smtpd[24859]: disconnect from localhost.localdomain[127.0.0.1]
Feb 22 22:02:52 softas postfix/smtpd[24859]: connect from fg-out-1718.google.com[72.14.220.156]
Feb 22 22:02:52 softas postfix/smtpd[24859]: 9B8A695C54C: client=fg-out-1718.google.com[72.14.220.156]
Feb 22 22:02:52 softas postfix/cleanup[24893]: 9B8A695C54C: message-id=<e583083e0902221202m6483cb4fld77fd4f77f5bad8c@mail.gmail.com>
Feb 22 22:02:52 softas postfix/qmgr[24843]: 9B8A695C54C: from=<kiladila@gmail.com>, size=1953, nrcpt=1 (queue active)
Feb 22 22:02:55 softas postfix/smtpd[24900]: connect from localhost.localdomain[127.0.0.1]
Feb 22 22:02:55 softas postfix/smtpd[24900]: 6D71D95C550: client=localhost.localdomain[127.0.0.1]
Feb 22 22:02:55 softas postfix/cleanup[24893]: 6D71D95C550: message-id=<e583083e0902221202m6483cb4fld77fd4f77f5bad8c@mail.gmail.com>
Feb 22 22:02:55 softas postfix/qmgr[24843]: 6D71D95C550: from=<kiladila@gmail.com>, size=2386, nrcpt=1 (queue active)
Feb 22 22:02:55 softas postfix/smtpd[24900]: disconnect from localhost.localdomain[127.0.0.1]
Feb 22 22:02:55 softas amavis[26907]: (26907-14) Passed CLEAN, [72.14.220.156] [72.14.220.156] <kiladila@gmail.com> -> <romka@softas.lt>, Message-ID: <e583083e0902221202m6483cb4fld77fd4f77f5bad8c@mail.gmail.com>, mail_id: FDblyuiAJ3ma, Hits: 0.152, size: 1953, queued_as: 6D71D95C550, 2732 ms
Feb 22 22:02:55 softas postfix/smtp[24894]: 9B8A695C54C: to=<romka@softas.lt>, relay=127.0.0.1[127.0.0.1]:10024, delay=2.9, delays=0.16/0.01/0/2.7, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 6D71D95C550)
Feb 22 22:02:55 softas postfix/qmgr[24843]: 9B8A695C54C: removed
Feb 22 22:02:55 softas postfix/smtpd[24902]: connect from unknown[192.168.1.1]
Feb 22 22:02:55 softas postfix/smtp[24901]: warning: host mail.softas.lt[84.32.221.19]:25 greeted me with my own hostname mail.softas.lt
Feb 22 22:02:55 softas postfix/smtp[24901]: warning: host mail.softas.lt[84.32.221.19]:25 replied to HELO/EHLO with my own hostname mail.softas.lt
Feb 22 22:02:55 softas postfix/smtp[24901]: 6D71D95C550: to=<romka@softas.lt>, relay=mail.softas.lt[84.32.221.19]:25, delay=0.07, delays=0.03/0.02/0.02/0, dsn=5.4.6, status=bounced (mail for mail.softas.lt loops back to myself)
Feb 22 22:02:55 softas postfix/smtpd[24902]: disconnect from unknown[192.168.1.1]
Feb 22 22:02:55 softas postfix/cleanup[24893]: 829C795C552: message-id=<20090222200255.829C795C552@mail.softas.lt>
Feb 22 22:02:55 softas postfix/qmgr[24843]: 829C795C552: from=<>, size=4206, nrcpt=1 (queue active)
Feb 22 22:02:55 softas postfix/bounce[24903]: 6D71D95C550: sender non-delivery notification: 829C795C552
Feb 22 22:02:55 softas postfix/qmgr[24843]: 6D71D95C550: removed
Feb 22 22:02:56 softas postfix/smtp[24901]: 829C795C552: to=<kiladila@gmail.com>, relay=gmail-smtp-in.l.google.com[209.85.218.66]:25, delay=1.1, delays=0.02/0/0.41/0.69, dsn=2.0.0, status=sent (250 2.0.0 OK 1235332976 22si4925017bwz.86)
Feb 22 22:02:56 softas postfix/qmgr[24843]: 829C795C552: removed
And this is main.cf

Code:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = mail.softas.lt
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = localhost, localhost.localdomain, mail.softas.lt
relayhost = 
mynetworks = 127.0.0.0/8
mailbox_command = 
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
smtpd_sasl_local_domain = 
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
virtual_alias_domains = 
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = "The user you are trying to reach is over quota."
virtual_overquota_bounce = yes
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
local_recipient_maps = $alias_maps $virtual_mailbox_maps unix:passwd.byname
home_mailbox = Maildir/
#home_mailbox = /home/vmail
__________________
Sorry for my english
Reply With Quote
  #8  
Old 23rd February 2009, 18:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Did you restart Postfix?
__________________
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 23rd February 2009, 22:54
kiladila kiladila is offline
Junior Member
 
Join Date: Feb 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

YES i restarted all server...and nothing...loops back to myself
I have no idea what to do now...
__________________
Sorry for my english
Reply With Quote
  #10  
Old 24th February 2009, 19:53
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Does this happen when you send to a specific email address, or for all email addresses that you send an email?
__________________
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
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
Maildrop Postfixadmin create mail directories tecstream HOWTO-Related Questions 9 25th July 2008 12:17
Courier Not Creating Mail directories eliufoo Server Operation 3 9th July 2008 20:23
Chroot SSH + ISPConfig Norman Installation/Configuration 27 26th March 2007 03:40
Courier directories dissappeared BLaCKie_MoRGaN Installation/Configuration 3 13th February 2007 17:13
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36


All times are GMT +2. The time now is 08:45.


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