LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   configure sendmail (https://www.linuxquestions.org/questions/linux-general-1/configure-sendmail-375747/)

juanb 10-22-2005 09:08 AM

configure sendmail
 
Hi,

I use FC4 I have a registered domain. I want to configure sendmail to just allow a script to send me mails to my webmail account. where can I find a document which can show me how to do it ?

thanks !

Juan

trickykid 10-22-2005 10:42 AM

You don't necessarily need to configure sendmail as a listening smtp server unless you want to create your own domain email server.

mail -s "subject" user@domain.com [options/message]

man mail
man sendmail

juanb 10-22-2005 01:42 PM

I tried but...
 
as root I issued this command:

mail -s "test" juanbabi@gmail.com this is a test

and after pressing enter I didnt recieved back a prompet.

and pf course didnt recieved the mail.

what is going wrong?

thanks

trickykid 10-22-2005 02:45 PM

Re: I tried but...
 
Quote:

Originally posted by juanb
as root I issued this command:

mail -s "test" juanbabi@gmail.com this is a test

and after pressing enter I didnt recieved back a prompet.

and pf course didnt recieved the mail.

what is going wrong?

thanks

You have to hit enter and then place a period ( . ) then enter again for it to send.

juanb 10-23-2005 02:46 AM

still cant send mail
 
Hi,

I tried again but this time I recive an error:

/etc/mail/submit.cf: line 527: fileclass: cannot open '/etc/mail/trusted-users': World writable directory


in the submit.cf line 527 is this line :

Ft/etc/mail/trusted-users

I tried to look for it in google but without results.

please help.

Juan


All times are GMT -5. The time now is 06:49 AM.