Unable to send or receive mails using postfix
This document (7009644) is provided subject to the disclaimer at the end of this document.
Environment
Situation
Resolution
- Check the postfix service if its running or not by executing the command rcpostfix status. The service should be running.
- Open the file main.cf which should be located at /etc/postfix/ and go to the location where the parameter mydestination is present.
- Edit the file and add the variable $mydomain and should look like this :- mydestinaion = $myhostname, localhost.$mydomain, $mydomain
- Save and exit the file.
- Open the file master.cf which should be located at /etc/postfix/ and check for the parameter maildrop
- Compare the lines which should be mentioned as below:-
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
cyrus unix - n n - - pipe
user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
procmail unix - n n - - pipe
flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient}
retry unix - - n - - error
proxywrite unix - - n - 1 proxymap
Additional Information
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7009644
- Creation Date: 26-Oct-2011
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com