Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have no knowledge about postfix.

I have installed heirloom-malix and postfix.

I am using my ISP as mail sender. i only want to send mails not receive.

So how in the postfix configure options how can i enter the SMTP of my ISP. I could not find it in configuration menu

SMTP : mail.myisp.com

share|improve this question

1 Answer 1

in /etc/postfix/main.cf add

relayhost = mail.myisp.com

more info here.

and restart postfix

/etc/init.d/postfix restart

and watch logs while sending something

tail -f /var/log/mail.log
share|improve this answer
    
log says MAIL FROM sender does not exist but i can't see MAIL FROM in main.cf file –  John Apr 27 '10 at 7:51
    
@Mirage paste exact log here; what command do you use to send mail? –  pQd Apr 27 '10 at 7:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.