• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Postfix problem

Dominique

New Pleskian
Hi,

I have a problem with my linux server using plesk 12x, I am using postfix as the email service, all emails are working from the webmail (horde) and from any email client using smtp.
However the service is not working from the website (contact form on Wordpress) nor through the ssh commands.
I have searched for few days but I still seem to have an issue.

When I am doing this:

Code:
ls -la /etc/alternatives/mta

the output is "nothing found".

and

Code:
 ls -la /usr/sbin/sendmail

output: lrwxrwxrwx 1 root root 21 nov 4 2011 /usr/sbin/sendmail -> /etc/alternatives/mta

Does anyone knows how I can fix the mta? I assume there is a file missing but I don't know how to create it or what it should contain.
Thanks for your help!
Cheers!
 
On my test Plesk 12 server I see:

# ls -la /etc/alternatives/mta
lrwxrwxrwx 1 root root 43 Jul 28 05:29 /etc/alternatives/mta -> /usr/lib/plesk-9.0/postfix-sendmail-wrapper

And you should use main Plesk maillog /usr/local/psa/var/log/maillog for investigation any mail related issues on Plesk server.
 
Hi IgorG,

thanks for the quick reply, I have now the correct output with the mta file:

Code:
[root@nsxxx ~]# ls -la /etc/alternatives/mta
lrwxrwxrwx 1 root root 43 jui 28 09:05 /etc/alternatives/mta -> /usr/lib/plesk-9.0/postfix-sendmail-wrapper

However I have done a test to send an email:

Code:
[root@nsxxx log]# mail -s Hello world [email protected]
This is a test
Cc: /usr/sbin/sendmail: No such file or directory

I am not really sure why it is not able to find the sendmail file.. Thanks for sending the directory for the mail log, I had a look in there but I couln't find anything in there related to the above test mail that I tried.
It is maybe worth mentioning that I previously uninstalled sendmail and re-installed it with yum.

Thanks!
Dom
 
Hi,

looking at my directory, /usr/sbin/sendmail does exist:

Code:
[root@xxx sbin]# ls
accton		      create-cracklib-dict	 gss_clnt_send_err     lid	    matchpathcon	ntsysv			    pvchange	  rpc.svcgssd	      stunnel		   vgcfgrestore
adduser		      crond			 gss_destroy_creds     lnewusers    mkdhparams		oddjobd			    pvck	  rtacct	      stunnel3		   vgchange
alternatives	      dbconverter-2		 hald		       lnstat	    mkdict		open_init_pty		    pvcreate	  run_init	      sucap		   vgck
anacron		      dmidecode			 hddtemp	       load_policy  mkimapdcert		ownership		    pvdisplay	  sa		      suexec		   vgconvert
apachectl	      dns-keygen		 hspc-config	       logrotate    mklost+found	packer			    pvmove	  safe_finger	      suexec.saved_by_psa  vgcreate
arpd		      dnssec-keygen		 hspc-grep-log.pl      logwatch     mkpop3dcert		ping6			    pvremove	  saslauthd	      sw-cp-serverd	   vgdisplay
arping		      dnssec-signzone		 hspc-plugin-rpc.fcgi  lokkit	    mksock		plainrsa-gen		    pvresize	  sasldblistusers2    sw-engine-fpm	   vgexport
atd		      dump-acct			 hspc-pwgen	       lpasswd	    mountstats		plesk			    pvs		  saslpasswd2	      sysreport		   vgextend
atrun		      dump-utmp			 hspc-upgrade-manager  lsof	    mtr			plesk-billing-plugins-fcgi  pvscan	  selinuxenabled      sysreport.legacy	   vgimport
audit2why	      edquota			 htcacheclean	       luseradd     named		pluginviewer		    pwck	  semanage	      sys-unconfig	   vgimportclone
authdaemond	      ethtool			 httpd		       luserdel     named-bootconf	pmap_dump		    pwconv	  semodule	      tcpd		   vgmerge
authenumerate	      execcap			 httpd.event	       lusermod     named-checkconf	pmap_set		    pwunconv	  sendmail	      tcpdump		   vgmknodes
authpasswd	      exportfs			 httpd.worker	       lvchange     named-checkzone	pm-hibernate		    qshape	  sendmail.postfix    tcpslice		   vgreduce
authtest	      filefrag			 httxt2dbm	       lvconvert    namedGetForwarders	pm-powersave		    quotastats	  sepolgen-ifgen      testsaslauthd	   vgremove
avcstat		      fix-mouse-psaux		 hwclock	       lvcreate     namedSetForwarders	pm-suspend		    racoon	  sestatus	      tickadj		   vgrename
bind-chroot-admin     fsadm			 iconvconfig	       lvdisplay    newusers		pm-suspend-hybrid	    racoonctl	  setenforce	      tmpwatch		   vgs
biosdecode	      ftpscrub			 iconvconfig.i686      lvextend     nfsiostat		pop3login		    radeontool	  setpcaps	      togglesebool	   vgscan
build-locale-archive  ftpshut			 iconvconfig.x86_64    lvm	    nfsstat		postalias		    readahead	  setquota	      tracepath		   vgsplit
callback	      genhomedircon		 imaplogin	       lvmchange    nhfsgraph		postcat			    readprofile   setsebool	      tracepath6	   vigr
cc_dump		      getenforce		 inetdconvert	       lvmdiskscan  nhfsnums		postconf		    repquota	  setup		      try-from		   vipw
ccreds_validate       getpcaps			 in.proftpd	       lvmdump	    nhfsrun		postdrop		    restorecond   sharedindexinstall  tunelp		   visudo
cc_test		      getsebool			 inputattach	       lvmsadc	    nhfsstone		postfix			    rndc	  sharedindexsplit    tzdata-update	   vpddecode
chpasswd	      glibc_post_upgrade.i686	 ion_loader.sh	       lvmsar	    nstat		postkick		    rndc-confgen  showmount	      udevmonitor	   warnquota
chroot		      glibc_post_upgrade.x86_64  iptstate	       lvreduce     ntpd		postlock		    rotatelogs	  smartctl	      update-alternatives  xinetd
clockdiff	      gpm			 kbdrate	       lvremove     ntpdate		postlog			    rpcdebug	  smartd	      useradd		   yum-updatesd
convertquota	      groupadd			 kudzu		       lvrename     ntpdc		postmap			    rpc.gssd	  smtp-sink	      userdel		   zdump
courierlogger	      groupdel			 lchage		       lvresize     ntp-keygen		postmulti		    rpc.idmapd	  smtp-source	      userhelper	   zic
cracklib-check	      groupmod			 lgroupadd	       lvs	    ntpq		postqueue		    rpcinfo	  sntp		      usermod
cracklib-format       grpck			 lgroupdel	       lvscan	    ntptime		postsuper		    rpc.mountd	  sosreport	      usernetctl
cracklib-packer       grpconv			 lgroupmod	       lwresd	    ntptrace		prelink			    rpc.nfsd	  ss		      vbetool
cracklib-unpacker     grpunconv			 libgcc_post_upgrade   makewhatis   ntp-wait		proftpd			    rpc.rquotad   sshd		      vgcfgbackup

Does anyone know why there is a file no found message while the file does exist?
Thanks!
Dom
 
Back
Top