Current User: Guest Login Register
Please consider registering


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Cannot sent or receive email from client site

Reply to Post Add a New Topic
UserPost

1:04 am
January 17, 2012


afif

New Member

posts 1

Post edited 1:10 am – January 17, 2012 by afif


Heylo to all,

 

To be honest i'm still new in Linux world and how to setup a mail server. I need to setup one mail server for my company using centos 6. First step that i do is install linux in virtual machine and start to install all the requirement to setup a new mail server such as postfix smtp server, dovecot pop3 and imap server and create one MX and domain name at other server (DNS server).

 

For postfix.conf file i used this configuration:

 

# line 75: uncomment and specify hostname
myhostname =mail.test.com
# line 83: uncomment and specify domain name
mydomain =test.com
# line 99: uncomment
myorigin = $mydomain
# line 116: change
inet_interfaces =all
# line 119: change if you use only IPv4

inet_protocols =ipv4

# line 164: add
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
# line 264: uncomment and specify your LAN
mynetworks = 127.0.0.0/8, 10.0.0.0/24
# line 419: uncomment (use Maildir)

home_mailbox = Maildir/

# line 545: uncomment, line 546: add

header_checks = regexp:/etc/postfix/header_checks

body_checks = regexp:/etc/postfix/body_checks
# line 571: add

smtpd_banner = $myhostname ESMTP

# add at the last line
# limit an email size 10M

message_size_limit = 10485760

# limit mailbox 1G mailbox_size_limit = 1073741824
# for SMTP-Auth settings

smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
smtpd_client_restrictions = permit_mynetworks,reject_unknown_client,permit
smtpd_recipient_restrictions = permit_mynetworks,permit_auth_destination,permit_sasl_authenticated,reject

 

For dovecot.conf:

 

/etc/dovecot/dovecot.conf

# line 31: change ( if not use IPv6 )

listen =*

protocols = pop3 imap lmtp

 

/etc/dovecot/conf.d/10-mail.conf
mail_location = maildir:~/Maildir

/etc/dovecot/conf.d/10-auth.conf
# line 9: uncomment and change ( allow plain text auth )
disable_plaintext_auth = no
# line 97: add
auth_mechanisms = plain login
I can sent email and receive email between same domain but i cannot sent or receive email in different domain. I follow all this step refer to this http://www.linuxmail.info/post…..-centos-6/ but i stuck during to check if we can sent it after authenticating. This error occur " 535 5.7.8 Error: authentication failed: "
I hope all admin or all my new members in this forum can assist me how to troubleshoot and solve this problem
All the good from all of u are most appreciated and thanked in advance Smile
Reply to Post

Reply to Topic:
Cannot sent or receive email from client site

Guest Name (Required):

Guest Email (Required):

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
4 + 7
   


About the Linux Mail Server Setup and Howto Guide Forum

Forum Timezone: America/New_York

Most Users Ever Online: 60

Currently Online:
12 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 5
Topics: 343
Posts: 1062

Membership:

There are 966 Members
There have been 91 Guests

There is 1 Admin

Top Posters:

shanmugasundaram s – 46
Kendermin – 15
Ginger – 14
bighorn – 14
iron_michael86 – 12
Raminda – 11

Recent New Members: waveney, achal, niesul14, hesaum, sreevinodss, nasonov

Administrators: consultant (353 Posts)