Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th March 2006, 18:59
cliang cliang is offline
Junior Member
 
Join Date: Mar 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy problem: cannot retrieve mail from postfix

hi guys
I follow the perfect setup Fedora core 4 and install the Postfix With SMTP-AUTH And TLS. I found that I can send mail to remote user, however I can't receive mails through the evolution client of otherthings. In fact I found that the mails indeed are received and delivered in the user's maildir directory. What's more, If I use outlook under another workstation, I can't receive and send mails. Is there wrong with my mail client configuration? I use IMAP of the receiving option.

Here is the main.cf
/**************************/
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
inet_interfaces = all
mydestination = /etc/postfix/local-host-names
unknown_local_recipient_reject_code = 550
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
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.2.2/samples
readme_directory = /usr/share/doc/postfix-2.2.2/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
home_mailbox = Maildir/
mailbox_command =
virtual_maps = hash:/etc/postfix/virtusertable
/************************************************** *************/

Please give me some suggestions.
Appreciate much for your help.
Reply With Quote
Sponsored Links
  #2  
Old 16th March 2006, 19:25
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

If you want to send from a remote PC, you must enable "Server requires authentication." in your email client.

Which IMAP daemon do you use? Please post 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
  #3  
Old 16th March 2006, 20:15
cliang cliang is offline
Junior Member
 
Join Date: Mar 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

can u get the information?

thanks
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:imaps *:* LISTEN 21296/xinetd
tcp 0 0 *:32769 *:* LISTEN 1939/rpc.statd
tcp 0 0 *op3s *:* LISTEN 21296/xinetd
tcp 0 0 *:mysql *:* LISTEN 20594/mysqld
tcp 0 0 *op3 *:* LISTEN 21296/xinetd
tcp 0 0 *:imap *:* LISTEN 21296/xinetd
tcp 0 0 *:sunrpc *:* LISTEN 1921/portmap
tcp 0 0 *:smtp *:* LISTEN 25798/master
tcp 0 0 *:smtp *:* LISTEN 25798/master

Quote:
Originally Posted by falko
If you want to send from a remote PC, you must enable "Server requires authentication." in your email client.

Which IMAP daemon do you use? Please post the output of
Code:
netstat -tap
Reply With Quote
  #4  
Old 17th March 2006, 00:06
cliang cliang is offline
Junior Member
 
Join Date: Mar 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I checked that I use the imap-2002d-3, so it can't support maildir.
so I modified the main.cf, "home_mailbox = Mailbox", however it still the same.

do u have some idea to configure this? or other info?

thanks.

Quote:
Originally Posted by cliang
can u get the information?

thanks
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:imaps *:* LISTEN 21296/xinetd
tcp 0 0 *:32769 *:* LISTEN 1939/rpc.statd
tcp 0 0 *op3s *:* LISTEN 21296/xinetd
tcp 0 0 *:mysql *:* LISTEN 20594/mysqld
tcp 0 0 *op3 *:* LISTEN 21296/xinetd
tcp 0 0 *:imap *:* LISTEN 21296/xinetd
tcp 0 0 *:sunrpc *:* LISTEN 1921/portmap
tcp 0 0 *:smtp *:* LISTEN 25798/master
tcp 0 0 *:smtp *:* LISTEN 25798/master
Reply With Quote
  #5  
Old 17th March 2006, 00:38
cliang cliang is offline
Junior Member
 
Join Date: Mar 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

I solved it. After I changed that directory to default.

Whatever, thanks!

Quote:
Originally Posted by cliang
I checked that I use the imap-2002d-3, so it can't support maildir.
so I modified the main.cf, "home_mailbox = Mailbox", however it still the same.

do u have some idea to configure this? or other info?

thanks.
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
Filtering emails using Spamassassin and Clamav for Exchange 2000 Server Rocky Server Operation 19 11th March 2008 09:27
Another Problem: Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP bluegrass Installation/Configuration 24 8th March 2006 02:41
Postfix mail is held in queue indefinitely... squallbsr Server Operation 9 15th January 2006 20:13
postfix starts and stops why lhatle Installation/Configuration 2 21st December 2005 16:20
Postfix mail problem rytech Installation/Configuration 1 21st November 2005 17:44


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


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