HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   All my mail is going to /var/mail/vmail (http://www.howtoforge.com/forums/showthread.php?t=35205)

_sluimers_ 20th May 2009 00:53

All my mail is going to /var/mail/vmail
 
I don't know what's wrong with my setup, but no mail is arriving at /home/vmail/mydomain.com/user. Instead, everything is going to /var/mail/vmail

I followed http://www.howtoforge.com/perfect-se...04-ispconfig-3

_sluimers_ 20th May 2009 00:55

Here's my /etc/postfix/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 = /usr/share/doc/postfix

# 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.

debugger_command =
myhostname = mydomainname.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = localhost, localhost.localdomain
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
home_mailbox = Maildir/
smtpd_sasl_auth_enable = yes
smtpd_sasl_type = cyrus
#smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2
smtpd_sasl_authenticated_header = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
smtp_use_tls = no
smtpd_tls_received_header = no
smtpd_tls_mandatory_protocols = SSLv3, TLSv1
smtpd_tls_mandatory_ciphers = medium
smtpd_tls_auth_only = no
tls_random_source = dev:/dev/urandom
inet_protocols = ipv4
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_maildir_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
html_directory = /usr/share/doc/postfix/html
smtpd_tls_security_level = may
relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
maildrop_destination_concurrency_limit = 1
maildrop_destination_recipient_limit = 1
virtual_transport = maildrop
header_checks = regexp:/etc/postfix/header_checks
mime_header_checks = regexp:/etc/postfix/mime_header_checks
nested_header_checks = regexp:/etc/postfix/nested_header_checks
body_checks = regexp:/etc/postfix/body_checks
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
message_size_limit = 0

Here's my /etc/postfix/master.cf:
Code:

#
# Postfix master process configuration file.  For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# Do not forget to execute "postfix reload" after editing this file.
#
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#              (yes)  (yes)  (yes)  (never) (100)
# ==========================================================================
smtp      inet  n      -      -      -      -      smtpd
#submission inet n      -      -      -      -      smtpd
#  -o smtpd_tls_security_level=encrypt
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
#smtps    inet  n      -      -      -      -      smtpd
#  -o smtpd_tls_wrappermode=yes
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
#628      inet  n      -      -      -      -      qmqpd
pickup    fifo  n      -      -      60      1      pickup
cleanup  unix  n      -      -      -      0      cleanup
qmgr      fifo  n      -      n      300    1      qmgr
#qmgr    fifo  n      -      -      300    1      oqmgr
tlsmgr    unix  -      -      -      1000?  1      tlsmgr
rewrite  unix  -      -      -      -      -      trivial-rewrite
bounce    unix  -      -      -      -      0      bounce
defer    unix  -      -      -      -      0      bounce
trace    unix  -      -      -      -      0      bounce
verify    unix  -      -      -      -      1      verify
flush    unix  n      -      -      1000?  0      flush
proxymap  unix  -      -      n      -      -      proxymap
proxywrite unix -      -      n      -      1      proxymap
smtp      unix  -      -      -      -      -      smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay    unix  -      -      -      -      -      smtp
        -o smtp_fallback_relay=
#      -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq    unix  n      -      -      -      -      showq
error    unix  -      -      -      -      -      error
retry    unix  -      -      -      -      -      error
discard  unix  -      -      -      -      -      discard
local    unix  -      n      n      -      -      local
virtual  unix  -      n      n      -      -      virtual
lmtp      unix  -      -      -      -      -      lmtp
anvil    unix  -      -      -      -      1      anvil
scache    unix  -      -      -      -      1      scache
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent.  See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop  unix  -      n      n      -      -      pipe
  flags=R user=vmail argv=/usr/bin/maildrop -d vmail ${extension} ${recipient} ${user} ${nexthop} ${sender}
#
# See the Postfix UUCP_README file for configuration details.
#
uucp      unix  -      n      n      -      -      pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
ifmail    unix  -      n      n      -      -      pipe
  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp    unix  -      n      n      -      -      pipe
  flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix        -        n        n        -        2        pipe
  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman  unix  -      n      n      -      -      pipe
  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  ${nexthop} ${user}


amavis unix - - - - 2 smtp
        -o smtp_data_done_timeout=1200
        -o smtp_send_xforward_command=yes

127.0.0.1:10025 inet n - - - - smtpd
        -o content_filter=
        -o local_recipient_maps=
        -o relay_recipient_maps=
        -o smtpd_restriction_classes=
        -o smtpd_client_restrictions=
        -o smtpd_helo_restrictions=
        -o smtpd_sender_restrictions=
        -o smtpd_recipient_restrictions=permit_mynetworks,reject
        -o mynetworks=127.0.0.0/8
        -o strict_rfc821_envelopes=yes
        -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
        -o smtpd_bind_address=127.0.0.1

Here's my /var/log/syslog
Code:

May 19 23:36:35 mydomainname jsvc.exec[2213]: May 19, 2009 11:36:35 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/i386:/lib:/usr/lib
May 19 23:36:46 mydomainname jsvc.exec[2213]: May 19, 2009 11:36:46 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080
May 19 23:36:46 mydomainname jsvc.exec[2213]: May 19, 2009 11:36:46 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 13627 ms
May 19 23:36:47 mydomainname jsvc.exec[2213]: May 19, 2009 11:36:47 PM org.apache.catalina.users.MemoryUserDatabase save WARNING: User database is not persistable - no write permissions on directory
May 19 23:36:47 mydomainname jsvc.exec[2213]: May 19, 2009 11:36:47 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina
May 19 23:36:47 mydomainname jsvc.exec[2213]: May 19, 2009 11:36:47 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
May 19 23:36:54 mydomainname jsvc.exec[2213]: May 19, 2009 11:36:54 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8080
May 19 23:36:55 mydomainname amavis[2244]: starting.  /usr/sbin/amavisd-new at mydomainname.com amavisd-new-2.6.2 (20081215), Unicode aware
May 19 23:36:55 mydomainname amavis[2244]: Perl version              5.010000
May 19 23:36:55 mydomainname jsvc.exec[2213]: May 19, 2009 11:36:55 PM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009
May 19 23:36:55 mydomainname jsvc.exec[2213]: May 19, 2009 11:36:55 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/886  config=null
May 19 23:36:55 mydomainname jsvc.exec[2213]: May 19, 2009 11:36:55 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 9298 ms
May 19 23:36:57 mydomainname amavis[2256]: Net::Server: Group Not Defined.  Defaulting to EGID '126 126'
May 19 23:36:57 mydomainname amavis[2256]: Net::Server: User Not Defined.  Defaulting to EUID '115'
May 19 23:36:57 mydomainname amavis[2256]: Module Amavis::Conf        2.203
May 19 23:36:57 mydomainname amavis[2256]: Module Archive::Zip        1.18
May 19 23:36:57 mydomainname amavis[2256]: Module BerkeleyDB          0.34
May 19 23:36:57 mydomainname amavis[2256]: Module Compress::Zlib      2.015
May 19 23:36:57 mydomainname amavis[2256]: Module Convert::TNEF      0.17
May 19 23:36:57 mydomainname amavis[2256]: Module Convert::UUlib      1.11
May 19 23:36:57 mydomainname amavis[2256]: Module Crypt::OpenSSL::RSA 0.25
May 19 23:36:57 mydomainname amavis[2256]: Module DBD::mysql          4.008
May 19 23:36:57 mydomainname amavis[2256]: Module DBI                1.607
May 19 23:36:57 mydomainname amavis[2256]: Module DB_File            1.816_1
May 19 23:36:57 mydomainname amavis[2256]: Module Digest::MD5        2.36_01
May 19 23:36:57 mydomainname amavis[2256]: Module Digest::SHA        5.45
May 19 23:36:57 mydomainname amavis[2256]: Module Digest::SHA1        2.11
May 19 23:36:57 mydomainname amavis[2256]: Module IO::Socket::INET6  2.54
May 19 23:36:57 mydomainname amavis[2256]: Module MIME::Entity        5.427
May 19 23:36:57 mydomainname amavis[2256]: Module MIME::Parser        5.427
May 19 23:36:57 mydomainname amavis[2256]: Module MIME::Tools        5.427
May 19 23:36:57 mydomainname amavis[2256]: Module Mail::DKIM::Signer  0.33
May 19 23:36:57 mydomainname amavis[2256]: Module Mail::DKIM::Verifier 0.33
May 19 23:36:57 mydomainname amavis[2256]: Module Mail::Header        2.04
May 19 23:36:57 mydomainname amavis[2256]: Module Mail::Internet      2.04
May 19 23:36:57 mydomainname amavis[2256]: Module Mail::SPF          v2.006
May 19 23:36:57 mydomainname amavis[2256]: Module Mail::SpamAssassin  3.002005
May 19 23:36:57 mydomainname amavis[2256]: Module Net::DNS            0.63
May 19 23:36:57 mydomainname amavis[2256]: Module Net::Server        0.97
May 19 23:36:57 mydomainname amavis[2256]: Module NetAddr::IP        4.022
May 19 23:36:57 mydomainname amavis[2256]: Module Socket6            0.20
May 19 23:36:57 mydomainname amavis[2256]: Module Time::HiRes        1.9711
May 19 23:36:57 mydomainname amavis[2256]: Module URI                1.37
May 19 23:36:57 mydomainname amavis[2256]: Module Unix::Syslog        1.1
May 19 23:36:57 mydomainname amavis[2256]: Amavis::DB code      loaded
May 19 23:36:57 mydomainname amavis[2256]: Amavis::Cache code  loaded
May 19 23:36:57 mydomainname amavis[2256]: SQL base code        loaded
May 19 23:36:57 mydomainname amavis[2256]: SQL::Log code        NOT loaded
May 19 23:36:57 mydomainname amavis[2256]: SQL::Quarantine      NOT loaded
May 19 23:36:57 mydomainname amavis[2256]: Lookup::SQL code    loaded
May 19 23:36:57 mydomainname amavis[2256]: Lookup::LDAP code    NOT loaded
May 19 23:36:57 mydomainname amavis[2256]: AM.PDP-in proto code loaded
May 19 23:36:57 mydomainname amavis[2256]: SMTP-in proto code  loaded
May 19 23:36:57 mydomainname amavis[2256]: Courier proto code  NOT loaded
May 19 23:36:57 mydomainname amavis[2256]: SMTP-out proto code  loaded
May 19 23:36:57 mydomainname amavis[2256]: Pipe-out proto code  NOT loaded
May 19 23:36:57 mydomainname amavis[2256]: BSMTP-out proto code NOT loaded
May 19 23:36:57 mydomainname amavis[2256]: Local-out proto code loaded
May 19 23:36:57 mydomainname amavis[2256]: OS_Fingerprint code  NOT loaded
May 19 23:36:57 mydomainname amavis[2256]: ANTI-VIRUS code      loaded
May 19 23:36:57 mydomainname amavis[2256]: ANTI-SPAM code      loaded
May 19 23:36:57 mydomainname amavis[2256]: ANTI-SPAM-SA code    loaded
May 19 23:36:57 mydomainname amavis[2256]: Unpackers code      loaded
May 19 23:36:57 mydomainname amavis[2256]: DKIM code            loaded
May 19 23:36:57 mydomainname amavis[2256]: Tools code          NOT loaded
May 19 23:36:57 mydomainname amavis[2256]: Found $file            at /usr/bin/file
May 19 23:36:57 mydomainname amavis[2256]: No $dspam,            not using it
May 19 23:36:57 mydomainname amavis[2256]: No $altermime,        not using it
May 19 23:36:57 mydomainname amavis[2256]: Internal decoder for .mail
May 19 23:36:57 mydomainname amavis[2256]: No decoder for      .F 
May 19 23:36:57 mydomainname amavis[2256]: Found decoder for    .Z    at /bin/uncompress
May 19 23:36:57 mydomainname amavis[2256]: Internal decoder for .gz 
May 19 23:36:57 mydomainname amavis[2256]: Found decoder for    .bz2  at /bin/bzip2 -d
May 19 23:36:57 mydomainname amavis[2256]: Found decoder for    .lzo  at /usr/bin/lzop -d
May 19 23:36:57 mydomainname amavis[2256]: No decoder for      .rpm  tried: rpm2cpio.pl, rpm2cpio
May 19 23:36:57 mydomainname amavis[2256]: Found decoder for    .cpio at /usr/bin/pax
May 19 23:36:57 mydomainname amavis[2256]: Found decoder for    .tar  at /usr/bin/pax
May 19 23:36:57 mydomainname amavis[2256]: Found decoder for    .deb  at /usr/bin/ar
May 19 23:36:57 mydomainname amavis[2256]: Internal decoder for .zip
May 19 23:36:57 mydomainname amavis[2256]: No decoder for      .7z  tried: 7zr, 7za, 7z
May 19 23:36:57 mydomainname amavis[2256]: No decoder for      .rar  tried: unrar-free
May 19 23:36:57 mydomainname amavis[2256]: Found decoder for    .arj  at /usr/bin/arj
May 19 23:36:57 mydomainname amavis[2256]: Found decoder for    .arc  at /usr/bin/nomarch
May 19 23:36:57 mydomainname amavis[2256]: Found decoder for    .zoo  at /usr/bin/zoo
May 19 23:36:57 mydomainname amavis[2256]: No decoder for      .lha
May 19 23:36:57 mydomainname amavis[2256]: No decoder for      .doc  tried: ripole
May 19 23:36:57 mydomainname amavis[2256]: Found decoder for    .cab  at /usr/bin/cabextract
May 19 23:36:57 mydomainname amavis[2256]: No decoder for      .tnef
May 19 23:36:57 mydomainname amavis[2256]: Internal decoder for .tnef
May 19 23:36:57 mydomainname amavis[2256]: Found decoder for    .exe  at /usr/bin/arj
May 19 23:36:57 mydomainname amavis[2256]: Using primary internal av scanner code for ClamAV-clamd
May 19 23:36:57 mydomainname amavis[2256]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
May 19 23:36:57 mydomainname amavis[2256]: Creating db in /var/lib/amavis/db/; BerkeleyDB 0.34, libdb 4.6
May 19 23:37:00 mydomainname mysqld_safe[2329]: started
May 19 23:37:02 mydomainname mysqld[2333]: 090519 23:37:01  InnoDB: Started; log sequence number 0 43675
May 19 23:37:02 mydomainname mysqld[2333]: 090519 23:37:02 [Note] /usr/sbin/mysqld: ready for connections.
May 19 23:37:02 mydomainname mysqld[2333]: Version: '5.0.75-0ubuntu10'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  (Ubuntu)
May 19 23:37:03 mydomainname /etc/mysql/debian-start[2450]: Upgrading MySQL tables if necessary.
May 19 23:37:03 mydomainname /USR/SBIN/CRON[2462]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
May 19 23:37:03 mydomainname /etc/mysql/debian-start[2460]: Looking for 'mysql' as: /usr/bin/mysql
May 19 23:37:03 mydomainname /etc/mysql/debian-start[2460]: Looking for 'mysqlcheck' as: /usr/bin/mysqlcheck
May 19 23:37:03 mydomainname /etc/mysql/debian-start[2460]: This installation of MySQL is already upgraded to 5.0.75, use --force if you still need to run mysql_upgrade
May 19 23:37:03 mydomainname /etc/mysql/debian-start[2474]: Checking for insecure root accounts.
May 19 23:37:03 mydomainname /etc/mysql/debian-start[2479]: Triggering myisam-recover for all MyISAM tables
May 19 23:37:08 mydomainname spamd[2473]: logger: removing stderr method
May 19 23:37:27 mydomainname spamd[2535]: spamd: server started on port 783/tcp (running version 3.2.5)
May 19 23:37:27 mydomainname spamd[2535]: spamd: server pid: 2535
May 19 23:37:27 mydomainname spamd[2535]: spamd: server successfully spawned child process, pid 2796
May 19 23:37:28 mydomainname spamd[2535]: spamd: server successfully spawned child process, pid 2797
May 19 23:37:28 mydomainname spamd[2535]: prefork: child states: II
May 19 23:37:37 mydomainname authdaemond: modules="authmysql", daemons=5
May 19 23:37:37 mydomainname authdaemond: Installing libauthmysql
May 19 23:37:37 mydomainname authdaemond: Installation complete: authmysql
May 19 23:37:38 mydomainname mydns[3028]: mydns 1.2.8.27 started Tue May 19 23:37:38 2009 (listening on 3 addresses)
May 19 23:37:40 mydomainname postfix/master[3104]: daemon started -- version 2.5.5, configuration /etc/postfix
May 19 23:37:50 mydomainname kernel: [  123.382184] ip_tables: (C) 2000-2006 Netfilter Core Team
May 19 23:38:01 mydomainname /USR/SBIN/CRON[3319]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
May 19 23:38:01 mydomainname console-kit-daemon[2359]: WARNING: Couldn't read /proc/2354/environ: Failed to open file '/proc/2354/environ': No such file or directory
May 19 23:39:02 mydomainname /USR/SBIN/CRON[3355]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm)
May 19 23:39:02 mydomainname /USR/SBIN/CRON[3356]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
May 19 23:39:28 mydomainname imapd: Connection, ip=[::ffff:82.171.16.94]
May 19 23:39:28 mydomainname imapd: LOGIN, user=user@mydomainname.com, ip=[::ffff:82.171.16.94], port=[20991], protocol=IMAP
May 19 23:39:56 mydomainname postfix/smtpd[3462]: connect from mail-ew0-f162.google.com[209.85.219.162]
May 19 23:39:56 mydomainname postfix/smtpd[3462]: 460F15649C: client=mail-ew0-f162.google.com[209.85.219.162]
May 19 23:39:56 mydomainname postfix/cleanup[3475]: 460F15649C: message-id=<4A132725.5090708@gmail.com>
May 19 23:39:57 mydomainname postfix/qmgr[3108]: 460F15649C: from=<nospam@gmail.com>, size=1956, nrcpt=1 (queue active)
May 19 23:40:06 mydomainname /USR/SBIN/CRON[3489]: (root) CMD ([ -x /usr/sbin/update-motd ] && /usr/sbin/update-motd 2>/dev/null)
May 19 23:40:12 mydomainname /USR/SBIN/CRON[3511]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
May 19 23:40:12 mydomainname /USR/SBIN/CRON[3551]: (getmail) CMD (/usr/local/bin/run-getmail.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
May 19 23:40:12 mydomainname pure-ftpd: (?@localhost) [INFO] New connection from localhost
May 19 23:40:12 mydomainname pure-ftpd: (?@localhost) [INFO] Logout.
May 19 23:40:12 mydomainname imapd: Connection, ip=[::1]
May 19 23:40:12 mydomainname imapd: Disconnected, ip=[::1], time=0
May 19 23:40:12 mydomainname mydns[3029]: read_tcp_length: no data for fd 8: ::1: Client closed TCP connection
May 19 23:40:16 mydomainname postfix/smtpd[3589]: connect from localhost.localdomain[127.0.0.1]
May 19 23:40:16 mydomainname postfix/smtpd[3589]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
May 19 23:40:16 mydomainname postfix/smtpd[3589]: disconnect from localhost.localdomain[127.0.0.1]
May 19 23:40:16 mydomainname pop3d: Connection, ip=[::1]
May 19 23:40:16 mydomainname pop3d: Disconnected, ip=[::1]
May 19 23:40:20 mydomainname postfix/smtpd[3608]: connect from localhost.localdomain[127.0.0.1]
May 19 23:40:20 mydomainname postfix/smtpd[3608]: 78385564E8: client=localhost.localdomain[127.0.0.1]
May 19 23:40:20 mydomainname postfix/cleanup[3475]: 78385564E8: message-id=<4A132725.5090708@gmail.com>
May 19 23:40:20 mydomainname postfix/qmgr[3108]: 78385564E8: from=<nospam@gmail.com>, size=2595, nrcpt=1 (queue active)
May 19 23:40:20 mydomainname amavis[2521]: (02521-01) Passed CLEAN, [209.85.219.162] [82.171.16.94] <nospam@gmail.com> -> <user@mydomainname.com>, Message-ID: <4A132725.5090708@gmail.com>, mail_id: 7sConM4poJC7, Hits: 0.604, size: 1956, queued_as: 78385564E8, dkim_id=@gmail.com,nospam@gmail.com, 19039 ms
May 19 23:40:20 mydomainname postfix/smtp[3476]: 460F15649C: to=<user@mydomainname.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=21, delays=1.8/0.03/0.03/19, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=02521-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 78385564E8)
May 19 23:40:20 mydomainname postfix/qmgr[3108]: 460F15649C: removed
May 19 23:40:23 mydomainname postfix/pipe[3615]: 78385564E8: to=<user@mydomainname.com>, relay=maildrop, delay=9.9, delays=3.5/0.22/0/6.2, dsn=2.0.0, status=sent (delivered via maildrop service)
May 19 23:40:23 mydomainname postfix/qmgr[3108]: 78385564E8: removed
May 19 23:40:28 mydomainname postfix/smtpd[3462]: disconnect from mail-ew0-f162.google.com[209.85.219.162]
May 19 23:40:34 mydomainname ntpd[2076]: synchronized to 91.189.94.4, stratum 2
May 19 23:40:34 mydomainname ntpd[2076]: time reset +0.232238 s
May 19 23:40:34 mydomainname ntpd[2076]: kernel time sync status change 0001
May 19 23:41:02 mydomainname /USR/SBIN/CRON[3741]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
May 19 23:41:06 mydomainname imapd: Connection, ip=[::ffff:82.171.16.94]
May 19 23:41:06 mydomainname imapd: LOGIN, user=rogier@mydomainname.com, ip=[::ffff:82.171.16.94], port=[21002], protocol=IMAP

Here's my /var/log/ispconfig/cron/log

Code:

Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
postqueue: warning: Mail system is down -- accessing queue directly
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist
Error: configuration file /etc/getmail/*.conf does not exist


till 20th May 2009 11:00

Please post the output of:

ls -la /home/vmail/

and which ISPConfig version do you use?

_sluimers_ 20th May 2009 11:05

here it is
 
The mbox is there, because I logged in mail a couple of times
to see that those mails I sent have arrived.

I made the folder mydomainname.com myself and in there is the user
folder I made manually with maildirmake.

Code:

rogier@mydomainname:~$ ls -la /home/vmail/
total 300
drwxrwxr-x 3 vmail vmail  4096 2009-05-19 04:54 .
drwxr-xr-x 4 root  root    4096 2009-05-06 14:54 ..
-rw------- 1 vmail vmail    346 2009-05-19 21:15 .bash_history
-rw-r--r-- 1 vmail vmail    220 2008-05-12 20:48 .bash_logout
-rw-r--r-- 1 vmail vmail  3115 2008-05-12 20:48 .bashrc
drwxr-xr-x 3 vmail vmail  4096 2009-05-19 19:11 mydomainname.com
-rw------- 1 vmail vmail 272223 2009-05-19 18:42 mbox
-rw-r--r-- 1 vmail vmail    675 2008-05-12 20:48 .profile


till 20th May 2009 11:25

Which ISPConfig version do you use?

Quote:

I made the folder mydomainname.com myself and in there is the user
folder I made manually with maildirmake.
Please delete the folders that you had created manually.

_sluimers_ 20th May 2009 11:38

ISPConfig 3.0.1.1

_sluimers_ 20th May 2009 18:00

By the way, deleting the manually created folders leads to:

Code:

ERROR: Connection dropped by IMAP server.
in Squirrelmail.

_sluimers_ 20th May 2009 23:48

Here's the things I get without the manually made folders. Trying to login into squirrelmail and sending a mail to a vmail user from gmail.

Code:

May 20 22:15:07 mydomainname postfix/smtpd[15178]: connect from localhost.localdomain[127.0.0.1]
May 20 22:15:07 mydomainname postfix/smtpd[15178]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
May 20 22:15:07 mydomainname postfix/smtpd[15178]: disconnect from localhost.localdomain[127.0.0.1]
May 20 22:20:03 mydomainname pop3d: Connection, ip=[::1]
May 20 22:20:03 mydomainname pop3d: Disconnected, ip=[::1]
May 20 22:20:03 mydomainname imapd: Connection, ip=[::1]
May 20 22:20:03 mydomainname imapd: Disconnected, ip=[::1], time=0
May 20 22:20:07 mydomainname postfix/smtpd[15607]: connect from localhost.localdomain[127.0.0.1]
May 20 22:20:07 mydomainname postfix/smtpd[15607]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
May 20 22:20:07 mydomainname postfix/smtpd[15607]: disconnect from localhost.localdomain[127.0.0.1]
May 20 22:25:02 mydomainname pop3d: Connection, ip=[::1]
May 20 22:25:02 mydomainname pop3d: Disconnected, ip=[::1]
May 20 22:25:02 mydomainname imapd: Connection, ip=[::1]
May 20 22:25:02 mydomainname imapd: Disconnected, ip=[::1], time=0
May 20 22:25:05 mydomainname postfix/smtpd[16073]: connect from localhost.localdomain[127.0.0.1]
May 20 22:25:05 mydomainname postfix/smtpd[16073]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
May 20 22:25:05 mydomainname postfix/smtpd[16073]: disconnect from localhost.localdomain[127.0.0.1]
May 20 22:30:06 mydomainname pop3d: Connection, ip=[::1]
May 20 22:30:06 mydomainname pop3d: Disconnected, ip=[::1]
May 20 22:30:06 mydomainname imapd: Connection, ip=[::1]
May 20 22:30:06 mydomainname imapd: Disconnected, ip=[::1], time=0
May 20 22:30:10 mydomainname postfix/smtpd[16458]: connect from localhost.localdomain[127.0.0.1]
May 20 22:30:10 mydomainname postfix/smtpd[16458]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
May 20 22:30:10 mydomainname postfix/smtpd[16458]: disconnect from localhost.localdomain[127.0.0.1]
May 20 22:31:43 mydomainname imapd: Connection, ip=[::1]
May 20 22:31:43 mydomainname imapd: LOGIN FAILED, user=rogier@mydomainname.com, ip=[::1]
May 20 22:31:48 mydomainname imapd: LOGOUT, ip=[::1], rcvd=57, sent=332
May 20 22:32:03 mydomainname imapd: Connection, ip=[::1]
May 20 22:32:03 mydomainname imapd: chdir /home/vmail/mydomainname.com/rogier: No such file or directory
May 20 22:35:07 mydomainname pop3d: Connection, ip=[::1]
May 20 22:35:07 mydomainname pop3d: Disconnected, ip=[::1]
May 20 22:35:07 mydomainname imapd: Connection, ip=[::1]
May 20 22:35:07 mydomainname imapd: Disconnected, ip=[::1], time=0
May 20 22:35:08 mydomainname postfix/smtpd[17203]: connect from localhost.localdomain[127.0.0.1]
May 20 22:35:08 mydomainname postfix/smtpd[17203]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
May 20 22:35:09 mydomainname postfix/smtpd[17203]: disconnect from localhost.localdomain[127.0.0.1]
May 20 22:39:33 mydomainname postfix/smtpd[17641]: connect from ey-out-2122.google.com[74.125.78.26]
May 20 22:39:33 mydomainname postfix/smtpd[17641]: BF75256299: client=ey-out-2122.google.com[74.125.78.26]
May 20 22:39:33 mydomainname postfix/cleanup[17649]: BF75256299: message-id=<4A146A81.3020909@gmail.com>
May 20 22:39:35 mydomainname postfix/qmgr[12922]: BF75256299: from=<anonymous@@gmail.com>, size=1982, nrcpt=1 (queue active)
May 20 22:39:35 mydomainname amavis[2522]: (02522-02) NOTICE: reconnecting in response to: err=2006, HY000, DBD::mysql::st execute failed: MySQL server has gone away at (eval 98) line 166, <GEN45> line 5.
May 20 22:39:43 mydomainname postfix/smtpd[17654]: connect from localhost.localdomain[127.0.0.1]
May 20 22:39:43 mydomainname postfix/smtpd[17654]: B85015629A: client=localhost.localdomain[127.0.0.1]
May 20 22:39:43 mydomainname postfix/cleanup[17649]: B85015629A: message-id=<4A146A81.3020909@gmail.com>
May 20 22:39:43 mydomainname postfix/qmgr[12922]: B85015629A: from=<anonymous@@gmail.com>, size=2621, nrcpt=1 (queue active)
May 20 22:39:43 mydomainname postfix/smtpd[17654]: disconnect from localhost.localdomain[127.0.0.1]
May 20 22:39:43 mydomainname amavis[2522]: (02522-02) Passed CLEAN, [74.125.78.26] [82.171.16.94] <anonymous@@gmail.com> -> <user@mydomainname.com>, Message-ID: <4A146A81.3020909@gmail.com>, mail_id: 2c96lvzT4l$
May 20 22:39:43 mydomainname postfix/smtp[17650]: BF75256299: to=<user@mydomainname.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=10, delays=1.3/0.03/0.01/8.8, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=02522-02, f$
May 20 22:39:43 mydomainname postfix/qmgr[12922]: BF75256299: removed
May 20 22:39:44 mydomainname postfix/pipe[17656]: B85015629A: to=<user@mydomainname.com>, relay=maildrop, delay=2.2, delays=1.1/0.06/0/1.1, dsn=2.0.0, status=sent (delivered via maildrop service)
May 20 22:39:44 mydomainname postfix/qmgr[12922]: B85015629A: removed

If there's any other information that's needed. I'll gladly deliver. I'm clueless where to look for myself.

till 21st May 2009 10:40

Quote:

May 20 22:39:35 mydomainname amavis[2522]: (02522-02) NOTICE: reconnecting in response to: err=2006, HY000, DBD::mysql::st execute failed: MySQL server has gone away at (eval 98) line 166, <GEN45> line 5.
Looks as if there is a problem with your mysql server.

Are you really sure that you disabled apparmor as described in step 10 of the tutorial?

http://www.howtoforge.com/perfect-se...ispconfig-3-p3

Please redo this step and restart the server.

_sluimers_ 22nd May 2009 03:47

Yes. I think I've found at least part of the problem. I followed another tutorial before I realized ispconfig was what I wanted. I dismantled everything, except system user vmail.
Since during the installation I thought putting everything in /home/vmail was more appropriate, I was trying to get everything to work on /home/vmail rather then the ISPConfig standard /var/vmail.

And I've been searching for days where this little thing could be configured, but finally after five dozen find grep commands I found it in ISPconfig -> System -> Server config -> domain name -> mail
and main.cf -> virtual_mailbox_base = /home/vmail

The latter I knew about, but the former was hidden so well from me, that I tinkered with phpmyadmin and maildirmake just to make squirrelmail work.

Now I can get to squirrelmail without a problem.
Still, all my mails arrive in vmail's mbox. :(

Code:

May 22 02:25:41 mydomainname imapd: LOGIN, user=user@mydomainname.com, ip=[::1], port=[39964], protocol=IMAP
May 22 02:25:41 mydomainname imapd: LOGOUT, user=user@mydomainname.com, ip=[::1], headers=0, body=0, rcvd=87, sent=391, time=0
May 22 02:29:10 mydomainname postfix/smtpd[4053]: connect from mail-ew0-f162.google.com[209.85.219.162]
May 22 02:29:10 mydomainname postfix/smtpd[4053]: 666C55655E: client=mail-ew0-f162.google.com[209.85.219.162]
May 22 02:29:10 mydomainname postfix/cleanup[4063]: 666C55655E: message-id=<4A15F1CF.4060101@gmail.com>
May 22 02:29:11 mydomainname postfix/qmgr[3216]: 666C55655E: from=<anonymous@gmail.com>, size=1955, nrcpt=1 (queue active)
May 22 02:29:18 mydomainname postfix/smtpd[4068]: connect from localhost.localdomain[127.0.0.1]
May 22 02:29:18 mydomainname postfix/smtpd[4068]: 0058456565: client=localhost.localdomain[127.0.0.1]
May 22 02:29:18 mydomainname postfix/cleanup[4063]: 0058456565: message-id=<4A15F1CF.4060101@gmail.com>
May 22 02:29:19 mydomainname postfix/qmgr[3216]: 0058456565: from=<anonymous@gmail.com>, size=2594, nrcpt=1 (queue active)
May 22 02:29:19 mydomainname amavis[2642]: (02642-01) Passed CLEAN, [209.85.219.162] [82.171.16.94] <anonymous@gmail.com> -> <user@mydomainname.com>, Message-ID: <4A15F1CF.4060101@gmail.com>, mail_id: y57BAM2q$
May 22 02:29:19 mydomainname postfix/smtp[4064]: 666C55655E: to=<user@mydomainname.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=9.2, delays=0.78/0.03/0.03/8.3, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=02642-01, $
May 22 02:29:19 mydomainname postfix/qmgr[3216]: 666C55655E: removed
May 22 02:29:20 mydomainname postfix/pipe[4070]: 0058456565: to=<user@mydomainname.com>, relay=maildrop, delay=2.2, delays=1.4/0.05/0/0.78, dsn=2.0.0, status=sent (delivered via maildrop service)
May 22 02:29:20 mydomainname postfix/qmgr[3216]: 0058456565: removed
May 22 02:29:26 mydomainname imapd: LOGIN, user=user@mydomainname.com, ip=[::1], port=[41233], protocol=IMAP
May 22 02:29:26 mydomainname imapd: LOGOUT, user=user@mydomainname.com, ip=[::1], headers=0, body=0, rcvd=134, sent=900, time=0
May 22 02:29:27 mydomainname imapd: LOGIN, user=user@mydomainname.com, ip=[::1], port=[41234], protocol=IMAP
May 22 02:29:27 mydomainname imapd: LOGOUT, user=user@mydomainname.com, ip=[::1], headers=0, body=0, rcvd=119, sent=900, time=0
May 22 02:29:37 mydomainname postfix/smtpd[4076]: connect from localhost.localdomain[127.0.0.1]
May 22 02:29:37 mydomainname postfix/smtpd[4076]: 238AD5655E: client=localhost.localdomain[127.0.0.1]
May 22 02:29:37 mydomainname postfix/cleanup[4063]: 238AD5655E: message-id=<c64699effaf89054f77f5b54e33793b6.squirrel@www.mydomainname.com>
May 22 02:29:38 mydomainname postfix/qmgr[3216]: 238AD5655E: from=<user@mydomainname.com>, size=799, nrcpt=1 (queue active)
May 22 02:29:38 mydomainname postfix/smtpd[4076]: disconnect from localhost.localdomain[127.0.0.1]
May 22 02:29:38 mydomainname imapd: LOGIN, user=user@mydomainname.com, ip=[::1], port=[41241], protocol=IMAP
May 22 02:29:38 mydomainname imapd: LOGOUT, user=user@mydomainname.com, ip=[::1], headers=0, body=0, rcvd=684, sent=203, time=0
May 22 02:29:39 mydomainname imapd: LOGIN, user=user@mydomainname.com, ip=[::1], port=[41243], protocol=IMAP
May 22 02:29:39 mydomainname imapd: LOGOUT, user=user@mydomainname.com, ip=[::1], headers=0, body=0, rcvd=119, sent=900, time=0
May 22 02:29:42 mydomainname postfix/smtpd[4086]: connect from localhost.localdomain[127.0.0.1]
May 22 02:29:42 mydomainname postfix/smtpd[4086]: 86B3956565: client=localhost.localdomain[127.0.0.1]
May 22 02:29:42 mydomainname postfix/cleanup[4063]: 86B3956565: message-id=<c64699effaf89054f77f5b54e33793b6.squirrel@www.mydomainname.com>
May 22 02:29:42 mydomainname postfix/smtpd[4053]: disconnect from mail-ew0-f162.google.com[209.85.219.162]
May 22 02:29:42 mydomainname imapd: LOGIN, user=user@mydomainname.com, ip=[::1], port=[41245], protocol=IMAP
May 22 02:29:42 mydomainname imapd: LOGOUT, user=user@mydomainname.com, ip=[::1], headers=210, body=0, rcvd=309, sent=1393, time=1
May 22 02:29:42 mydomainname postfix/qmgr[3216]: 86B3956565: from=<user@mydomainname.com>, size=1253, nrcpt=1 (queue active)
May 22 02:29:42 mydomainname amavis[2639]: (02639-01) Passed CLEAN, LOCAL [127.0.0.1] [82.171.16.94] <user@mydomainname.com> -> <anonymous@gmail.com>, Message-ID: <c64699effaf89054f77f5b54e33793b6.squirrel@www$
May 22 02:29:42 mydomainname postfix/smtp[4064]: 238AD5655E: to=<anonymous@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=5.1, delays=1.2/0/0.06/3.9, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=02639-01, $
May 22 02:29:42 mydomainname postfix/qmgr[3216]: 238AD5655E: removed
May 22 02:29:42 mydomainname postfix/smtp[4089]: 86B3956565: to=<anonymous@gmail.com>, relay=gmail-smtp-in.l.google.com[209.85.219.58]:25, delay=3.3, delays=2.6/0.06/0.26/0.33, dsn=2.0.0, status=sent (250 2$
May 22 02:29:42 mydomainname postfix/qmgr[3216]: 86B3956565: removed
May 22 02:30:06 mydomainname postfix/smtpd[4076]: connect from localhost.localdomain[127.0.0.1]
May 22 02:30:06 mydomainname postfix/smtpd[4076]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
May 22 02:30:06 mydomainname postfix/smtpd[4076]: disconnect from localhost.localdomain[127.0.0.1]



All times are GMT +2. The time now is 01:32.

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