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


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
  • 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

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy