I added the following to my /etc/email-addresses file:

nobody: [EMAIL PROTECTED]

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 <= [EMAIL PROTECTED] U=nobody P=local 
S=434
2007-09-24 23:15:24 1IZpea-0002GU-Kb => [EMAIL PROTECTED] 
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 
PROTECTED]"
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 ** [EMAIL PROTECTED] R=smarthost
>> T=remote_smtp_smarthost: SMTP error from remote mail server after RCPT
>> TO:<[EMAIL PROTECTED]>: host whatever.com [74.200.79.210]:
>> 550-Verification failed for <[EMAIL PROTECTED]>\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 ** [EMAIL PROTECTED] R=smarthost
>> T=remote_smtp_smarthost: SMTP error from remote mail server after RCPT
>> TO:<[EMAIL PROTECTED]>: 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 "[EMAIL PROTECTED]" mail account to send emails. I
>> do not know where "[EMAIL PROTECTED]" came from it seems to be causing
>> the problem "550-Verification failed for <[EMAIL PROTECTED]>\n550
>> Sender verify failed".
>>     
>
> OK, so "[EMAIL PROTECTED]" 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: [EMAIL PROTECTED]
>
> in /etc/email-addresses, or even
>
> *: [EMAIL PROTECTED]
>
> 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.
>
>   

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to