I am having trouble successfully sending mail from my SuSE 10 server running Apache 2. After working with the network administrator, messages now reach the outbound mail server, but they are being bumped back.
Here is an excerpt from /var/mail/root:
"This is the Postfix program at host domain.example.com.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to <postmaster>
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The Postfix program
gmail-smtp-msa.l.google.com[18.104.22.168] said: 530 5.7.0 Must issue a
STARTTLS command first. 20sm404192iwn.5 (in reply to MAIL FROM command)
Reporting-MTA: dns; domain.example.com
X-Postfix-Sender: rfc822; email@example.com
Arrival-Date: Thu, 1 Apr 2010 18:26:33 -0500 (CDT)
Final-Recipient: rfc822; firstname.lastname@example.org
Diagnostic-Code: X-Postfix; host gmail-smtp-msa.l.google.com[22.214.171.124]
said: 530 5.7.0 Must issue a STARTTLS command first. 20sm404192iwn.5 (in
reply to MAIL FROM command)"
If I search for the diagnostic code, all of the solutions say to modify sendmail configuration files, like "master.cf" and "main.cf". However, I can't find such files on my server; 'find / -name "main" -print' returns nothing. In addition, when I run "cd /etc/mail" to navigate to the directory where everything is supposedly stored, I get the message:
"-bash: cd: /etc/mail: No such file or directory"
Do I have to create my own configuration files? Once I get/find the config files, what do you recommend that I add/modify to fix the mailing error posted above? And once everything is set, is it good to go, or will I have to restart Apache or reboot the Virtual Machine?
P.S. I am sending mail through PHP's "mail()" function, which I read uses the "sendmail" command.