Re: [exim] Using exim4 as a SMTP client to connect to my ISP…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Vincent
Date:  
À: exim-users
Sujet: Re: [exim] Using exim4 as a SMTP client to connect to my ISP's SMTP for PHP mail
I added the following to my /etc/email-addresses file:

nobody: me@???

Then I ran the commands:

sudo update-exim4.conf
sudo /etc/init.d/exim4 restart

Now that my exim has been restarted, I run my PHP mail script again.

I ran the command:

tail /var/log/exim4/mainlog

Here's the mainlog contents:

2007-09-24 23:15:20 1IZpea-0002GU-Kb <= me@??? U=nobody P=local
S=434
2007-09-24 23:15:24 1IZpea-0002GU-Kb => anothervalidemail@???
R=smarthost T=remote_smtp_smarthost H=whatever.com [74.200.79.210]
X=TLS-1.0:RSA_AES_256_CBC_SHA1:32
DN="C=US,ST=Unknown,L=Unknown,O=Unknown,OU=Unknown,CN=host.something.com,EMAIL=ssl@???"
2007-09-24 23:15:24 1IZpea-0002GU-Kb Completed

Seems like I am getting no errors but I still did not receive any emails.

Magnus Holmgren wrote:
> On Sunday 23 September 2007 04:14, Vincent wrote:
>
>> 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".
>>
>
> OK, so "me@???" is your account at whatever.com, a domain you don't
> own yourself? Though I run Debian, I don't use Debian's configuration system
> for Exim, so I'm no expert at it, but you seem to have
> answered "whatever.com" to a question you shouldn't have, so now Exim
> qualifies local usernames with it. But if you don't have a real domain of
> your own it probably doesn't matter - you need to translate local usernames
> to real email addresses explicitly by putting them in /etc/email-addresses.
> For example, put
>
> nobody: me@???
>
> in /etc/email-addresses, or even
>
> *: me@???
>
> to use the same address for all local users. You might also want to run your
> PHP scripts as some user other than "nobody" and add it to trusted_users, so
> that the PHP script can set the envelope sender to whatever it wants.
>
>