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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th April 2007, 06:58
Wussell Wussell is offline
Junior Member
 
Join Date: Apr 2007
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Default Mail comming in and then vanishing

Hello all and thankyou in advance

I configured my server using the perfect setup for Fedora 3.

My problem is that I can see mail coming in but then it vanishes, it does not get put into the mailbox. When I check it through outlook or the web interface it says there is no mail there.

My maillog:

Apr 8 11:05:58 web postfix/postfix-script: starting the Postfix mail system
Apr 8 11:05:58 web postfix/master[2176]: daemon started -- version 2.1.5
Apr 8 11:06:08 web postfix/smtpd[2183]: connect from tara1-l2.wa.amnet.net.au[203.161.126.146]
Apr 8 11:06:08 web postfix/smtpd[2183]: setting up TLS connection from tara1-l2.wa.amnet.net.au[203.161.126.146]
Apr 8 11:06:08 web postfix/smtpd[2183]: TLS connection established from tara1-l2.wa.amnet.net.au[203.161.126.146]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
Apr 8 11:06:08 web postfix/smtpd[2183]: E774D4343DF: client=tara1-l2.wa.amnet.net.au[203.161.126.146]
Apr 8 11:06:08 web postfix/cleanup[2187]: E774D4343DF: message-id=<FCEBLNLIAAIIKHDJDCOLKECACAAA.hughesr@arach.net .au>
Apr 8 11:06:08 web postfix/qmgr[2180]: E774D4343DF: from=<hughesr@arach.net.au>, size=6196, nrcpt=1 (queue active)
Apr 8 11:06:09 web postfix/smtpd[2183]: disconnect from tara1-l2.wa.amnet.net.au[203.161.126.146]
Apr 8 11:06:09 web postfix/local[2188]: E774D4343DF: to=<root@web.pctherapist.com.au>, orig_to=<info@pctherapist.com.au>, relay=local, delay=1, status=sent (delivered to maildir)
Apr 8 11:06:09 web postfix/qmgr[2180]: E774D4343DF: removed
Apr 8 11:06:14 web ipop3d[2191]: pop3 service init from 192.168.1.64
Apr 8 11:06:14 web ipop3d[2191]: Login user=info host=[192.168.1.64] nmsgs=0/0
Apr 8 11:06:14 web ipop3d[2191]: Logout user=info host=[192.168.1.64] nmsgs=0 ndele=0


main.cf:

queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
inet_interfaces = all
unknown_local_recipient_reject_code = 550
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
home_mailbox = Maildir/
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.1.5/samples
readme_directory = /usr/share/doc/postfix-2.1.5/README_FILES
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
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_maps = hash:/etc/postfix/virtusertable
mydestination = /etc/postfix/local-host-names
mailbox_command =

maildir is checked in ispconfig

Any help would be appreciated.

Russ
Reply With Quote
Sponsored Links
  #2  
Old 8th April 2007, 10:21
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,034
Thanks: 265
Thanked 152 Times in 132 Posts
Default

Disable maildir in ISPconfig
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
  #3  
Old 8th April 2007, 11:01
Wussell Wussell is offline
Junior Member
 
Join Date: Apr 2007
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I have already tried that and it did not work. The maillog was exactly the same so I even manually disabled postfix from using maildir, but to no avail. I will try it again though
Reply With Quote
  #4  
Old 8th April 2007, 13:56
Wussell Wussell is offline
Junior Member
 
Join Date: Apr 2007
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Default

That did not work Help!!!!!!!
Reply With Quote
  #5  
Old 8th April 2007, 15:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

What's the output of
Code:
netstat -tap
?
__________________
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
  #6  
Old 9th April 2007, 05:09
Wussell Wussell is offline
Junior Member
 
Join Date: Apr 2007
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Code:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
tcp        0      0 *:imaps                     *:*                         LISTEN      2169/xinetd
tcp        0      0 *:1025                      *:*                         LISTEN      1959/rpc.statd
tcp        0      0 *:pop3s                     *:*                         LISTEN      2169/xinetd
tcp        0      0 *:mysql                     *:*                         LISTEN      2222/mysqld
tcp        0      0 *:pop3                      *:*                         LISTEN      2169/xinetd
tcp        0      0 *:imap                      *:*                         LISTEN      2169/xinetd
tcp        0      0 *:sunrpc                    *:*                         LISTEN      1939/portmap
tcp        0      0 *:81                        *:*                         LISTEN      2599/ispconfig_http
tcp        0      0 *:ftp                       *:*                         LISTEN      2739/proftpd: (acce
tcp        0      0 192.168.1.46:domain         *:*                         LISTEN      2721/named
tcp        0      0 pctherapist.com.au:domain   *:*                         LISTEN      2721/named
tcp        0      0 web.pctherapist.com.:domain *:*                         LISTEN      2721/named
tcp        0      0 web.pctherapist.com.au:ipp  *:*                         LISTEN      2122/cupsd
tcp        0      0 web.pctherapist.com.au:5335 *:*                         LISTEN      2093/mDNSResponder
tcp        0      0 web.pctherapist.com.au:rndc *:*                         LISTEN      2721/named
tcp        0      0 *:smtp                      *:*                         LISTEN      2699/master
tcp        0      0 pctherapist.com.au:pop3     192.168.1.64:1092           TIME_WAIT   -
tcp        0      0 pctherapist.com.au:pop3     192.168.1.64:1097           TIME_WAIT   -
tcp        0      0 web.pctherapist.com.au:1028 web.pctherapist.com.au:rndc TIME_WAIT   -
tcp        0      0 web.pctherapist.com.au:6001 web.pctherapist.com.au:1024 TIME_WAIT   -
tcp        0      0 *:http                      *:*                         LISTEN      2624/httpd
tcp        0      0 *:ssh                       *:*                         LISTEN      2158/sshd
tcp        0      0 ::1:rndc                    *:*                         LISTEN      2721/named
tcp        0      0 *:smtp                      *:*                         LISTEN      2699/master
tcp        0      0 *:https                     *:*                         LISTEN      2624/httpd
tcp        0   1740 www.pctherapist.com.au:ssh  ::ffff:192.168.1.64:1432    ESTABLISHED 3261/1
Reply With Quote
  #7  
Old 9th April 2007, 16:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Your POP3/IMAP daemon is unsing mbox, so there are two things you must do:
1) Disable Maildir in ISPConfig.
2) Comment out the following two lines in /etc/postfix/main.cf:
Code:
home_mailbox = Maildir/
mailbox_command =
Then restart Postfix:
Code:
/etc/init.d/postfix restart
__________________
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
  #8  
Old 9th April 2007, 17:23
Wussell Wussell is offline
Junior Member
 
Join Date: Apr 2007
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Your a LEGEND It worked a treat.

Now just one more question: why did that work???

Thanks
Reply With Quote
  #9  
Old 10th April 2007, 15:08
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Quote:
Originally Posted by Wussell
Now just one more question: why did that work???

Thanks
Because you're using a POP3/IMAP server that uses the mbox format, so Postfix must be configured to deliver emails to mbox instead of Maildir. If Postfix is configured for Maildir, the mails will accumulate in Maildir while you try to fetch emails from an empty mbox with your email client.
__________________
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
The Following User Says Thank You to falko For This Useful Post:
Wussell (10th April 2007)
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


All times are GMT +2. The time now is 20:19.


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