Linux Services postfix

Install of all web apps postfix enabled, but won’t start service!
anyone resolve this problem?

Below steps will work .

yum install postfix -y

vi /etc/postfix/main.cf


myhostname = smtp.example.local

mydomain = example.local

myorigin = $mydomain

inet_interfaces = all

inet_protocols = all

mydestination = $myhostname, localhost.$mydomain, localhost,

mynetworks = 172.16.238.11/24, 127.0.0.0/8

systemctl enable postfix && service postfix start && service postfix status

systemctl list-unit-files | grep enabled

2 Likes

Tried but not working. Do we need to change example.local?

For troubleshooting/solution video please refer to

1 Like

Why you posting solution @Inderpreet @Tej-Singh-Rana support team please check this

Below confis to be made for solution

Postfix /etc/postfix/Main.cf

  • Myhostname = stmail01.stratos.xfusioncorp.com
  • My domain = stratos.xfusioncorp.com
  • (Uncomment)Myorigin =
  • inet_interfaces = all
  • #inet_interfaces = localhost
  • 1st line #mydestination
    • 2nd line uncomment
  • my networks = 172.16.238.0/24, 127.0.0.0/8
  • Second line home_mailbox(uncomment)

Create user / set passed

Dovecot.config

/etc/dovecot/dovecot.conf

Protocols (uncomment)

Save and exit

/dovecot/conf.d/10-mail.conf

Uncomment 1st line mail_location = maildirxxxx

/dovecot/conf.d/10-auth.conf

  • Uncomment disable _plaintext_auth
  • Auth_mechanism = plain login

/dovecot/conf.d/10-master.conf

  • Uncomment line 90
    Mode = 0666
    User = postfix
    Group = postfix
2 Likes

Hi, I have been getting stuck severally with this login password error. What could have gone wrong [root@stmail01 groot]# telnet stmail01 110 Trying 172.16.238.17... Connected to stmail01. Escape character is '^]'. +OK Dovecot ready. user anita +OK pass dCV3szSGNA -ERR [AUTH] Authentication failed.?

did anyone manage to find out why we get this error ?

Thank you @hardiku87

Your explanation helped a lot to this desperate soul :sweat_smile: