I just want to ask is postfix easier to configure than sendmail.Looking in the system, sendmail is already installed as part of full install packages.
A have a simple php script which I use on my hosted web site, its basically a feedback form and the details get sent to my own email. It works fine on a web hosting site.
However I use XAMPP installed at /opt which I use as my testing/development environment . Basically i want to be able to test out my php mailer scripts using XAMPP running on local host; instead of keep having to load them to my web.
. I did a lot of googling and most posts(mostly about windows) seem to suggest I need to edit php.ini and sendmail.ini
I can not find sendmail.ini only files such as sendmail.cf (this says don't touch it)located /etc/mail
I edited php.ini (located at /opt/lampp/etc/php.ini)
to :
[mail function]
; For Win32 only.
;
http://php.net/smtp
SMTP = localhost
;
http://php.net/smtp-port
smtp_port = 25
; For Win32 only.
;
http://php.net/sendmail-from
;sendmail_from =
me@example.com
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;
http://php.net/sendmail-path
;i uncomented next line and added path to sendmail
sendmail_path = /usr/sbin/sendmail -t -i
Looking in /var/log/maillog I got :
Feb 5 08:38:49 darkstar sendmail[3408]: r15Kcn4v003408: to=captin_sensible@gmail.com, ctladdr=nobody (99/99), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30226, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
\
Is there a fairly simple fix to the above ; how simple is postfix going to be?
cheers