Postfix Problem under mailx/sendmail command


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Postfix Problem under mailx/sendmail command
# 1  
Old 04-10-2007
Postfix Problem under mailx/sendmail command

Update: Problem solved with this command: /opt/soc/bin/postfix-setup

================================
Hi,

I am trying the following mailx command:

Code:
sadm@edwardwi-z:/etc$ mailx ewijaya@gmail.com
Subject: test
foo .
.
EOT

But it gives the following error

Code:
sadm@edwardwi-z:/etc$ mail: fatal: open /etc/postfix/main.cf: No such file or directory

I can't seem to find "main.cf" but the location of postfix is this:

Code:
root@edwardwi-z:/opt/postfix/sbin# ls
postalias  postconf   postfix    postlock   postmap    postsuper
postcat    postdrop   postkick   postlog    postqueue

I do have SU access to this. I'm using Solaris btw.

How can I fix such problem? So that I can successfuly email using mailx?

Last edited by monkfan; 04-10-2007 at 06:34 AM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

French characters in postfix/sendmail

Hello again, How can I send emails via postfix with special characters like "à" via postfix. When I'm paste-ing the special character inside a editor (nano) it shows like this --> � ... any tips? (1 Reply)
Discussion started by: galford
1 Replies

2. UNIX for Dummies Questions & Answers

ACL for postfix or sendmail

Hello, i want to know how to configure a MTA to relay somes domain by IP source, example : toto.com and titi.com can relay with ip sender 10.2.2.0/24 only lulu.com can relay with ip sender 192.168.0.4/32 only all domain can relay with ip sender 172.0.0.5/32 only It's possible with policy... (9 Replies)
Discussion started by: safsound
9 Replies

3. Shell Programming and Scripting

Problem with -c option in Mailx command

Hi, I am using mailx command in shell script. When i put -c option for CC , i get error message as "Unknown flag: -c" . I checked manual of mailx command and found that ~c to be used but after using ~c also it is not working. My shell is Korn. Kindly let me know what i have to do . Thanks (9 Replies)
Discussion started by: krishna_gnv
9 Replies

4. Solaris

mailx/sendmail configuration/set up problem

Hello Good People of Linux World!!! Background: Recent Networking Graduate, thrown in line of fire. For the past couple of days I have been searching online for answers and haven't gotten anywhere regarding Mailx, Sendmail functionality on SunOS 5.9. My dilemma: Mailx / sendmail are... (28 Replies)
Discussion started by: kazmiM
28 Replies

5. Solaris

Replace sendmail with Postfix

Hi, I am assigned to replace sendmail with Postfix in solaris 10. Can anyone please tell what are the steps should be taken like files to backup and what are the configurations should be taken care and so on??????? Appreciate any help.... (0 Replies)
Discussion started by: bpsunadm
0 Replies

6. UNIX for Dummies Questions & Answers

problem with mailx command

Hi, I have written down a script and in that im using mailx command in Unix. Such that i have taken the reciepent that would be in "To" using read command i.e from standard input and echoed the reciepients in cc into a file .Now im not able to use the mailx -r ie which sends the sender... (1 Reply)
Discussion started by: navjotmannan
1 Replies

7. UNIX for Dummies Questions & Answers

How to set HIGH importance to a mail sent through mailx or sendmail command

I have written a script for sending automated email, reporting the running status of a cron scheduled work. Now, the issue is, my Project Manager wants, the mail should be received with HIGH IMPORTANCE. How can I do that, kindly anybody explain. Thank you so much. (3 Replies)
Discussion started by: mitte_dino
3 Replies

8. OS X (Apple)

postfix queue filling up (from sendmail?)

What is filling up my postfix queue (/var/spool/postfix/deferred/)? I had a perl script running via crontab to monitor my IP connection and send me a mail via sendmail. Now I have a huge queue of emails I keep getting. I've removed the crontab and the script. If I clear out... (1 Reply)
Discussion started by: kumakuma
1 Replies

9. UNIX for Dummies Questions & Answers

postfix queue filling up (from sendmail?)

What is filling up my postfix queue (/var/spool/postfix/deferred/)? I had a perl script running via crontab to monitor my IP connection and send me a mail via sendmail. Now I have a huge queue of emails I keep getting. I've removed the crontab and the script. If I clear out... (0 Replies)
Discussion started by: kumakuma
0 Replies

10. Shell Programming and Scripting

Problem with mailx command when sending attachment.

Hi, I have tried to sent a mail with body and attachment. But the shell script got hanging while executing that command. The command is "(cat body;uuencode att1.csv)|mailx -s "Production Monitoring Report(Unix Side)" milton.yesusundaram@patni.com" where body is a file having a single line.... (2 Replies)
Discussion started by: miltony
2 Replies
Login or Register to Ask a Question