Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th March 2009, 19:39
quentusrex quentusrex is offline
Senior Member
 
Join Date: May 2008
Posts: 174
Thanks: 6
Thanked 11 Times in 7 Posts
Default Unable to recieve e-mails

Either I'm unable to receive e-mails, or they are not being placed in the proper folder.

What do you need to see to help figure this out?
Reply With Quote
Sponsored Links
  #2  
Old 20th March 2009, 21:42
quentusrex quentusrex is offline
Senior Member
 
Join Date: May 2008
Posts: 174
Thanks: 6
Thanked 11 Times in 7 Posts
Default

Here is my master.cf. I only added the port 587 part, and a bit in the delivery part. about vmail


cat /etc/postfix/master.cf
#
# 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_authenticate d,reject
# -o milter_macro_daemon_name=ORIGINATING
587 inet n - - - - smtpd
#smtps inet n - - - - smtpd
# -o smtpd_tls_wrappermode=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticate d,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 ${recipient} ${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,rej ect
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o receive_override_options=no_unknown_recipient_chec ks,no_header_body_checks
-o smtpd_bind_address=127.0.0.1
Reply With Quote
  #3  
Old 21st March 2009, 21:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

What's in your mail log when you send an email to that server?

Does the MX record point to the correct server?
__________________
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
  #4  
Old 21st March 2009, 21:07
quentusrex quentusrex is offline
Senior Member
 
Join Date: May 2008
Posts: 174
Thanks: 6
Thanked 11 Times in 7 Posts
Default

Mar 21 13:03:13 virt3 postfix/smtpd[10900]: connect from wf-out-1314.google.com[209.85.200.171]
Mar 21 13:03:14 virt3 postfix/smtpd[10900]: 061BE128992: client=wf-out-1314.google.com[209.85.200.171]
Mar 21 13:03:14 virt3 postfix/cleanup[10904]: 061BE128992: message-id=<49C5481D.1030507@gmail.com>
Mar 21 13:03:14 virt3 postfix/qmgr[5316]: 061BE128992: from=<****@gmail.com>, size=2425, nrcpt=1 (queue active)
Mar 21 13:03:14 virt3 amavis[4494]: (04494-12) NOTICE: reconnecting in response to: err=2006, HY000, DBD::mysql::st execute failed: MySQL server has gone away at (eval 98) line 166, <GEN114> line 5.
Mar 21 13:03:14 virt3 postfix/smtpd[10909]: connect from localhost[127.0.0.1]
Mar 21 13:03:14 virt3 postfix/smtpd[10909]: EB4D91289A7: client=localhost[127.0.0.1]
Mar 21 13:03:14 virt3 postfix/cleanup[10904]: EB4D91289A7: message-id=<49C5481D.1030507@gmail.com>
Mar 21 13:03:14 virt3 postfix/smtpd[10909]: disconnect from localhost[127.0.0.1]
Mar 21 13:03:14 virt3 postfix/qmgr[5316]: EB4D91289A7: from=<*****@gmail.com>, size=2916, nrcpt=1 (queue active)
Mar 21 13:03:14 virt3 amavis[4494]: (04494-12) Passed CLEAN, [*.*.*.171] [*.*.*.21] <***@gmail.com> -> <webmaster@****.com>, Message-ID: <49C5481D.1030507@gmail.com>, mail_id: 9N+TcHNbv3qv, Hits: -0.001, size: 2425, queued_as: EB4D91289A7, dkim_id=@gmail.com,****@gmail.com, 896 ms
Mar 21 13:03:14 virt3 postfix/smtp[10905]: 061BE128992: to=<webmaster@*****.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=1, delays=0.1/0.01/0.01/0.9, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=04494-12, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as EB4D91289A7)
Mar 21 13:03:14 virt3 postfix/qmgr[5316]: 061BE128992: removed
Mar 21 13:03:15 virt3 postfix/pipe[10911]: EB4D91289A7: to=<webmaster@*****.com>, relay=maildrop, delay=0.1, delays=0.02/0.01/0/0.07, dsn=2.0.0, status=sent (delivered via maildrop service)
Mar 21 13:03:15 virt3 postfix/qmgr[5316]: EB4D91289A7: removed
Reply With Quote
  #5  
Old 21st March 2009, 21:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
Mar 21 13:03:14 virt3 amavis[4494]: (04494-12) NOTICE: reconnecting in response to: err=2006, HY000, DBD::mysql::st execute failed: MySQL server has gone away at (eval 98) line 166, <GEN114> line 5.
There seems to be a problem with your MySQL server. Please make sure it is running.
__________________
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 21st March 2009, 21:13
quentusrex quentusrex is offline
Senior Member
 
Join Date: May 2008
Posts: 174
Thanks: 6
Thanked 11 Times in 7 Posts
Default

It is running. I am able to access it with phpmyadmin.
Reply With Quote
  #7  
Old 22nd March 2009, 15:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Are there any MySQL errors in your syslog? 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
  #8  
Old 22nd March 2009, 18:48
quentusrex quentusrex is offline
Senior Member
 
Join Date: May 2008
Posts: 174
Thanks: 6
Thanked 11 Times in 7 Posts
Default

netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost:10024 *:* LISTEN 4406/amavisd (maste
tcp 0 0 localhost:10025 *:* LISTEN 5307/master
tcp 0 0 localhost:mysql *:* LISTEN 4481/mysqld
tcp 0 0 *:submission *:* LISTEN 5307/master
tcp 0 0 localhost:spamd *:* LISTEN 4546/spamd.pid
tcp 0 0 *:http-alt *:* LISTEN 5435/apache2
tcp 0 0 *:www *:* LISTEN 5435/apache2
tcp 0 0 *:ftp *:* LISTEN 24618/pure-ftpd (SE
tcp 0 0 *:munin *:* LISTEN 5505/munin-node
tcp 0 0 ***.***:domain *:* LISTEN 5179/mydns
tcp 0 0 localhost:domain *:* LISTEN 5179/mydns
tcp 0 0 *:ssh *:* LISTEN 4380/sshd
tcp 0 0 *:smtp *:* LISTEN 5307/master
tcp 0 0 *:https *:* LISTEN 5435/apache2
tcp 0 288 ***.***:ssh ***.***:64907 ESTABLISHED 10871/sshd: pcpharm
tcp6 0 0 [::]:imaps [::]:* LISTEN 5115/couriertcpd
tcp6 0 0 [::]op3s [::]:* LISTEN 5169/couriertcpd
tcp6 0 0 [::]op3 [::]:* LISTEN 5138/couriertcpd
tcp6 0 0 [::]:imap2 [::]:* LISTEN 5084/couriertcpd
tcp6 0 0 [::]:ftp [::]:* LISTEN 24618/pure-ftpd (SE
tcp6 0 0 ip6-localhost:domain [::]:* LISTEN 5179/mydns
tcp6 0 0 [::]:ssh [::]:* LISTEN 4380/sshd
tcp6 0 0 ***.***:imap2 ***.***:59825 ESTABLISHED 27683/imapd
tcp6 0 0 ***.***r:imap2 ***.***:62314 ESTABLISHED 16745/couriertls
tcp6 0 0 ***.***:imap2 ***.***:65295 ESTABLISHED 16282/couriertls




I've changed my domain name to ***.***


I also don't have anything mysql related in the syslog. And there are no mysql.log or mysql.err logs. the files are there, but nothing is inside them.

Last edited by quentusrex; 22nd March 2009 at 19:18.
Reply With Quote
  #9  
Old 22nd March 2009, 21:58
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,573
Thanks: 792
Thanked 4,980 Times in 3,901 Posts
Default

Which Linux distribution do you use?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #10  
Old 22nd March 2009, 21:59
quentusrex quentusrex is offline
Senior Member
 
Join Date: May 2008
Posts: 174
Thanks: 6
Thanked 11 Times in 7 Posts
 
Default

Ubuntu 8.10
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
postfix cant recieve mails Donto Server Operation 5 8th December 2008 10:44
Postfix unable to receive any mails mellentino Server Operation 4 30th September 2007 16:03
Sendmai can send mails but unable to receive mails satimis Server Operation 10 20th February 2007 17:10
HotSaNIC domino Tips/Tricks/Mods 23 6th November 2006 05:19
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 13:29


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


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