n2989
asked on
Trying to send mail with PHP Mail / Postfix / Ubuntu
I have just installed Ubuntu server and have installed postfix i am just wanting to be able to send mail via web forms , however this does not work via PHP forms or by commandline
I can login to WEBmin and send mail which works ok,
The errror message when mail fails is
said: 550 authentication required (in reply to RCPT TO command)
Any help on where to start looking or configuration settings to check would be appreciated
Regards
I can login to WEBmin and send mail which works ok,
The errror message when mail fails is
said: 550 authentication required (in reply to RCPT TO command)
Any help on where to start looking or configuration settings to check would be appreciated
Regards
If it is Outgoing SMTP Authentication , please take a look at this
http://wiki.zimbra.com/index.php?title=Outgoing_SMTP_Authentication
And do the command as this:
su - zimbra
postconf
check your value's of these across the board
smtpd_use_tls
smtpd_tls_auth_only
smtpd_tls_key_file = /opt/zimbra/conf/smtpd.key
smtpd_tls_cert_file = /opt/zimbra/conf/smtpd.crt
If you want to get some more output: smtp_tls_loglevel
1- Disable logging of TLS activity.
2- Log TLS handshake and certificate information. (what you have currently)
3- Log levels during TLS negotiation.
4- Log hexadecimal and ASCII dump of TLS negotiation process.
5- Log hexadecimal and ASCII dump of complete transmission after STARTTLS.
Hope understand your question completely.If not, please ,point it out
Duncan
http://wiki.zimbra.com/index.php?title=Outgoing_SMTP_Authentication
And do the command as this:
su - zimbra
postconf
check your value's of these across the board
smtpd_use_tls
smtpd_tls_auth_only
smtpd_tls_key_file = /opt/zimbra/conf/smtpd.key
smtpd_tls_cert_file = /opt/zimbra/conf/smtpd.crt
If you want to get some more output: smtp_tls_loglevel
1- Disable logging of TLS activity.
2- Log TLS handshake and certificate information. (what you have currently)
3- Log levels during TLS negotiation.
4- Log hexadecimal and ASCII dump of TLS negotiation process.
5- Log hexadecimal and ASCII dump of complete transmission after STARTTLS.
Hope understand your question completely.If not, please ,point it out
Duncan
BTW is it Zimbra installed on system ?
Ty/SA
Ty/SA
ASKER
Hi Sandy ,
no Zimbra is not installed , do i need it ? I am not looking to set up a complete mail server just a mechanism to send mail from various forms we have. This is for an Intranet we have
Thanks
no Zimbra is not installed , do i need it ? I am not looking to set up a complete mail server just a mechanism to send mail from various forms we have. This is for an Intranet we have
Thanks
No, you don't need it.. i believe you postfix setup is fine.. just use client auth from mail client to send the mails ...
Which client you are currently using ? check there must be option to send the messages with auth.
Ty/SA
Which client you are currently using ? check there must be option to send the messages with auth.
Ty/SA
ASKER
Ok problem is fixed, I installed sendmail via the WEBmin panel rather than command line as i had been doing previously and everything just worked, no idea why except that posssibly a module was not installed via commandline that was installed by WEBmin.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Ty/SA