[exim] Using exim4 as a SMTP client to connect to my ISP's S…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Vincent
Dátum:  
Címzett: exim-users
Tárgy: [exim] Using exim4 as a SMTP client to connect to my ISP's SMTP for PHP mail
Hi everyone,

This is my first post to this list. I have been trying to get exim4 to
work on my Ubuntu server so that I can create a web development staging
server in my home office.

The primary purpose of using exim4 is to enable my PHP scripts to send
out emails with the mail() function.

For my php.ini file, I made the following changes:

; For Win32 only.
;sendmail_from = me@???

; For Unix only. You may supply arguments as well (default: "sendmail -t
-i").
sendmail_path = /usr/sbin/sendmail -t -i

I installed exim4 by entering:

sudo apt-get install exim4 exim4-base exim4-config

Then I configured exim4 by entering:

sudo dpkg-reconfigure exim4-config

I selected the option to use exim4 as "mail sent by smarthost; no local
mail".

I edited the exim file passwd.client with my ISP's SMTP settings like:

mail.whatever.com:me@???:mypassword

This is the error I received:

2007-09-15 23:43:57 1IWZoI-0004gB-Da ** someone@??? R=smarthost
T=remote_smtp_smarthost: SMTP error from remote mail server after RCPT
TO:<someone@???>: host whatever.com [74.200.79.210]:
550-Verification failed for <nobody@???>\n550 Sender verify failed
2007-09-15 23:43:57 1IWZoL-0004gE-Hg <= <> R=1IWZoI-0004gB-Da
U=Debian-exim P=local S=1433
2007-09-15 23:43:57 1IWZoI-0004gB-Da Completed
2007-09-15 23:44:00 1IWZoL-0004gE-Hg ** nobody@??? R=smarthost
T=remote_smtp_smarthost: SMTP error from remote mail server after RCPT
TO:<nobody@???>: host whatever.com [74.200.79.210]: 550
2007-09-15 23:44:00 1IWZoL-0004gE-Hg Frozen (delivery error message)

I am trying to use my "me@???" mail account to send emails. I
do not know where "nobody@???" came from it seems to be causing
the problem "550-Verification failed for <nobody@???>\n550
Sender verify failed".

I made some changes to my exim config:

I entered “mail.whatever.com:25” into the “IP address or host name of
the outgoing smarthost” field.

Same problem...

Could anyone please help me out?