Error

------

Problem 1

Sep 23 11:20:31 mail postfix/local[25390]: 5CBA435C05E5: to=<postfix@tifreight.net>, orig_to=<info@tifreight.net>, relay=local, delay=0.25, delays=0.13/0/0/0.12, dsn=5.2.0, status=bounced (maildir delivery failed: create maildir file /var/spool/postfix/Maildir/tmp/1442985631.P25390.mail.tifreight.net: Permission denied)

Solve:

cd /var/spool/postfix

mkdir Maildir        

cd Maildir     

mkdir tmp

cd ..   

chmod 765 Maildir     

chown postfix:postfix Maildir 

chown -R postfix:root /var/spool/postfix/Maildir

                ---------------------------------

Postfix fatal: open lock file /var/lib/postfix/master.lock: cannot open file: Permission denied

root@mail:~# ls -ld /var/spool/postfix/

# chmod 755 / 

# ls -ld / 

drwxr-xr-x 16 root root 4096 2010-01-02 13:59 /

#chown postfix /var/lib/postfix/master.lock

#chgrp postfix /var/lib/postfix/master.lock

#/etc/init.d/postfix restart

------------------------------------

Centos-7

Oct  7 08:16:56 mail postfix/tlsmgr[4096]: warning: request to update table btree:/etc/postfix/smtpd_scache in non-postfix directory /etc/postfix

Oct  7 08:16:56 mail postfix/tlsmgr[4096]: warning: redirecting the request to postfix-owned data_directory /var/lib/postfix

Please post the output of:

# ls -la /var/lib/postfix/

-rw------ 1 postfix postfix 1024 2008-04-20 01:23 prng_exch

-rwxrw--- 1 postfix postfix 8192 2008-04-20 01:23 smtpd_scache.db

-rwxrw--- 1 postfix postfix 8192 2008-04-20 01:23 smtp_scache.db

Please run

# chmod 755 /var/lib/postfix/

# chmod 666 /var/lib/postfix/smtpd_scache.db

 # vi /etc/postfix/main.cf

##SSL   

smtpd_tls_session_cache_database = btree:/var/lib/postfix/smtpd_scache

Timed out while sending message body on Email Server

CentOS/Redhat/Fedora

vi /etc/sysconfig/network-scripts/ifcfg-eth0

# eth0 DEVICE=eth0 BOOTPROTO=none ONBOOT=yes IPADDR=192.168.11.11 NETMASK=255.255.255.0 GATEWAY=192.168.1 MTU="1460"               # Add this line

-----------------------------------------

Oct  7 11:58:35 mail postfix/lmtp[10592]: 7883F40117F3A: to=<t1@torquebd.com>, relay=none, delay=0.05, delays=0.02/0.04/0/0, dsn=4.4.1, status=deferred (connect to mail.torquebd.com[private/dovecot-lmtp]: No such file or directory)

 only in /etc/postfix/main.cf

virtual_transport = lmtp:unix:private/dovecot-lmtp

With CentOS systems you'll need to specify the following instead

virtual_transport = dovecot

You'll also need to add this entry in the /etc/postfix/master.cf file

dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${recipient}

--------------------------------------

mail postfix/smtp[12353]: 986E82AABC1: to=<root@MAIL.EXAMPLE.COM>, relay=none, delay=0.01, delays=0/0/0/0, dsn=5.4.6, status=bounced (mail for MAIL.EXAMPLE.COM  loops back to myself)

vi /etc/postfix/main.cf

mydestination = localhost.$mydomain, localhost, mail.example.com

Once done reload postfix:

# service postfix reload

Delete postfix-script: warning: damaged message: corrupt

# postfix check

postfix/postfix-script: warning: damaged message: corrupt/EDC75C244C20

postfix/postfix-script: warning: damaged message: corrupt/63380C2CC682

postfix/postfix-script: warning: damaged message: corrupt/AB9F7C2CC3AA

postfix/postfix-script: warning: damaged message: corrupt/C76F3C2CC3B0

 # cd /var/spool/postfix/corrupt

     rm -rf *

# postfix check

ALL OK

--------