Re: exim4 configuration errors

2008-02-26 Thread Joe

Bruno Costacurta wrote:

On Tuesday 26 February 2008 01:17:20 Alex Samad wrote:

On Mon, Feb 25, 2008 at 11:38:23PM +0100, Bruno Costacurta wrote:

Hello,

I have following errors when sending email to en external email address.
Note: pc34ghz.org is the local domain, [EMAIL PROTECTED] the address to
test


echo "my test" | mail -s "test exim4" [EMAIL PROTECTED]
...
1JTluY-0001YG-5o <= [EMAIL PROTECTED] U=bruno P=local S=337
1JTluY-0001YG-5o ** [EMAIL PROTECTED] R=smarthost T=remote_smtp_smarthost:
SMTP error from remote mail server after MAIL FROM:<[EMAIL PROTECTED]>
SIZE=1371: host smtp.pt.lu [194.154.192.108]: 553 5.1.8
<[EMAIL PROTECTED]>... Domain of sender address [EMAIL PROTECTED] does
not exist

Think this says it all Domain of sender address [EMAIL PROTECTED] does
not exist


1JTluY-0001YJ-E1 <= <> R=1JTluY-0001YG-5o U=Debian-exim P=local S=1307
1JTluY-0001YG-5o Completed
1JTluY-0001YJ-E1 => [EMAIL PROTECTED] R=smarthost T=remote_smtp_smarthost
H=smtp.pt.lu [194.154.192.108]
1JTluY-0001YJ-E1 Completed
...

Thanks for any help.
Bye,
Bruno



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]



However pc34ghz.org is my localdomain as defined in /etc/hosts (also defined 
pc34ghz) and bruno is the logon user.


And exim verifies sender domains using public DNS. You need to send 
'from' a domain name that is valid on the Internet, preferably the one 
you expect to get replies to.


Exim certainly verifies the sender domain for emails it receives, 
refusing connections from bogus domains.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: exim4 configuration errors

2008-02-26 Thread Andrei Popescu
On Tue, Feb 26, 2008 at 07:46:19AM +0100, Bruno Costacurta wrote:
 
> However pc34ghz.org is my localdomain as defined in /etc/hosts (also defined 
> pc34ghz) and bruno is the logon user.

I can write ibm.com in my etc/hosts but that won't transform me in a ibm  
server ;) BTW, I'm not sure it's safe to use the regular top level 
domains (.org, .com, etc).

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: exim4 configuration errors - more details

2008-02-25 Thread Bruno Costacurta
On Tuesday 26 February 2008 02:53:02 Douglas A. Tutty wrote:
> On Tue, Feb 26, 2008 at 12:15:51AM +0100, Bruno Costacurta wrote:
> > On Monday 25 February 2008 23:38, Bruno Costacurta wrote:
> > > Hello,
> > >
> > > I have following errors when sending email to en external email
> > > address. Note: pc34ghz.org is the local domain, [EMAIL PROTECTED] the
> > > address to test
> > >
> > >
> > > echo "my test" | mail -s "test exim4" [EMAIL PROTECTED]
> > > ...
> > > 1JTluY-0001YG-5o <= [EMAIL PROTECTED] U=bruno P=local S=337
> > > 1JTluY-0001YG-5o ** [EMAIL PROTECTED] R=smarthost
> > > T=remote_smtp_smarthost: SMTP error from remote mail server after MAIL
> > > FROM:<[EMAIL PROTECTED]> SIZE=1371: host smtp.pt.lu [194.154.192.108]:
> > > 553 5.1.8
> > > <[EMAIL PROTECTED]>... Domain of sender address [EMAIL PROTECTED] does
> > > not exist
>
> Exim didn't rewrite the email to match the smarthost
>
> > > 1JTluY-0001YJ-E1 <= <> R=1JTluY-0001YG-5o U=Debian-exim P=local S=1307
> > > 1JTluY-0001YG-5o Completed
> > > 1JTluY-0001YJ-E1 => [EMAIL PROTECTED] R=smarthost
> > > T=remote_smtp_smarthost H=smtp.pt.lu [194.154.192.108]
> > > 1JTluY-0001YJ-E1 Completed
> > > ...
> >
> > Also, hereafter my file 'update-exim4.conf.conf' :
> >
> > dc_eximconfig_configtype='smarthost'
> > dc_other_hostnames='pc34ghz'
> > dc_local_interfaces=''
> > dc_readhost='pc34ghz.org'
> > dc_relay_domains=''
> > dc_minimaldns='false'
> > dc_relay_nets=''
> > dc_smarthost='smtp.pt.lu'
>
> exim needs to rewrite the address [EMAIL PROTECTED] to [EMAIL PROTECTED]
> or whatever the smarthost/ISP has assigned
>
> > CFILEMODE='644'
> > dc_use_split_config='false'
> > dc_hide_mailname='true'
> > dc_mailname_in_oh='true'
> > dc_localdelivery='maildir_home'
>
> You're using smarthost.  The usual (familiar) example is an ISP.  For
> example, my local box is titan.hooton, my local email address is
> [EMAIL PROTECTED]  My ISP is porchlight.ca and they were kind enough
> to give me the username and publically-accessible email address of
> [EMAIL PROTECTED]
>
> Therefore, exim has to rewrite the address for anything going out to the
> smarthost.  The exim package provides the /etc/email-addresses file.
> Here's mine:
>
> 8>--
> # This is /etc/email-addresses. It is part of the exim package
> #
> # This file contains email addresses to use for outgoing mail. Any local
> # part not in here will be qualified by the system domain as normal.
> #
> # It should contain lines of the form:
> #
> #user: [EMAIL PROTECTED]
> #otheruser: [EMAIL PROTECTED]
> dtutty: [EMAIL PROTECTED]
> jhorton: [EMAIL PROTECTED]
>
> 8>--
>
> The /etc/mailname contains:
>
> titan.hooton
>
> Which exim adds to the local part (e.g. dtutty) to make
> [EMAIL PROTECTED] which it then rewrites to [EMAIL PROTECTED]
>
> Without further info, I'm guessing that something like this is your
> problem.
>
> Doug.

Hello Doug,
thanks a lot for your explanation and details : now it works fine.

Bye,
Bruno


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: exim4 configuration errors

2008-02-25 Thread Bruno Costacurta
On Tuesday 26 February 2008 01:17:20 Alex Samad wrote:
> On Mon, Feb 25, 2008 at 11:38:23PM +0100, Bruno Costacurta wrote:
> > Hello,
> >
> > I have following errors when sending email to en external email address.
> > Note: pc34ghz.org is the local domain, [EMAIL PROTECTED] the address to
> > test
> >
> >
> > echo "my test" | mail -s "test exim4" [EMAIL PROTECTED]
> > ...
> > 1JTluY-0001YG-5o <= [EMAIL PROTECTED] U=bruno P=local S=337
> > 1JTluY-0001YG-5o ** [EMAIL PROTECTED] R=smarthost T=remote_smtp_smarthost:
> > SMTP error from remote mail server after MAIL FROM:<[EMAIL PROTECTED]>
> > SIZE=1371: host smtp.pt.lu [194.154.192.108]: 553 5.1.8
> > <[EMAIL PROTECTED]>... Domain of sender address [EMAIL PROTECTED] does
> > not exist
>
> Think this says it all Domain of sender address [EMAIL PROTECTED] does
> not exist
>
> > 1JTluY-0001YJ-E1 <= <> R=1JTluY-0001YG-5o U=Debian-exim P=local S=1307
> > 1JTluY-0001YG-5o Completed
> > 1JTluY-0001YJ-E1 => [EMAIL PROTECTED] R=smarthost T=remote_smtp_smarthost
> > H=smtp.pt.lu [194.154.192.108]
> > 1JTluY-0001YJ-E1 Completed
> > ...
> >
> > Thanks for any help.
> > Bye,
> > Bruno
> >
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact
> > [EMAIL PROTECTED]


However pc34ghz.org is my localdomain as defined in /etc/hosts (also defined 
pc34ghz) and bruno is the logon user.

Could someone provide me with a working config file about an exim4 that can 
send email via Internet ?

Thanks
Bruno



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: exim4 configuration errors - more details

2008-02-25 Thread Douglas A. Tutty
On Tue, Feb 26, 2008 at 12:15:51AM +0100, Bruno Costacurta wrote:
> On Monday 25 February 2008 23:38, Bruno Costacurta wrote:
> > Hello,
> >
> > I have following errors when sending email to en external email address.
> > Note: pc34ghz.org is the local domain, [EMAIL PROTECTED] the address to test
> >
> >
> > echo "my test" | mail -s "test exim4" [EMAIL PROTECTED]
> > ...
> > 1JTluY-0001YG-5o <= [EMAIL PROTECTED] U=bruno P=local S=337
> > 1JTluY-0001YG-5o ** [EMAIL PROTECTED] R=smarthost T=remote_smtp_smarthost:
> > SMTP error from remote mail server after MAIL FROM:<[EMAIL PROTECTED]>
> > SIZE=1371: host smtp.pt.lu [194.154.192.108]: 553 5.1.8
> > <[EMAIL PROTECTED]>... Domain of sender address [EMAIL PROTECTED] does not
> > exist

Exim didn't rewrite the email to match the smarthost

> > 1JTluY-0001YJ-E1 <= <> R=1JTluY-0001YG-5o U=Debian-exim P=local S=1307
> > 1JTluY-0001YG-5o Completed
> > 1JTluY-0001YJ-E1 => [EMAIL PROTECTED] R=smarthost T=remote_smtp_smarthost
> > H=smtp.pt.lu [194.154.192.108]
> > 1JTluY-0001YJ-E1 Completed
> > ...
> Also, hereafter my file 'update-exim4.conf.conf' :
> 
> dc_eximconfig_configtype='smarthost'
> dc_other_hostnames='pc34ghz'
> dc_local_interfaces=''
> dc_readhost='pc34ghz.org'
> dc_relay_domains=''
> dc_minimaldns='false'
> dc_relay_nets=''
> dc_smarthost='smtp.pt.lu'
exim needs to rewrite the address [EMAIL PROTECTED] to [EMAIL PROTECTED]
or whatever the smarthost/ISP has assigned
> CFILEMODE='644'
> dc_use_split_config='false'
> dc_hide_mailname='true'
> dc_mailname_in_oh='true'
> dc_localdelivery='maildir_home'

You're using smarthost.  The usual (familiar) example is an ISP.  For
example, my local box is titan.hooton, my local email address is
[EMAIL PROTECTED]  My ISP is porchlight.ca and they were kind enough
to give me the username and publically-accessible email address of
[EMAIL PROTECTED]

Therefore, exim has to rewrite the address for anything going out to the
smarthost.  The exim package provides the /etc/email-addresses file.
Here's mine:

8>--
# This is /etc/email-addresses. It is part of the exim package
#
# This file contains email addresses to use for outgoing mail. Any local
# part not in here will be qualified by the system domain as normal.
#
# It should contain lines of the form:
#
#user: [EMAIL PROTECTED]
#otheruser: [EMAIL PROTECTED]
dtutty: [EMAIL PROTECTED]
jhorton: [EMAIL PROTECTED]

8>--

The /etc/mailname contains:

titan.hooton

Which exim adds to the local part (e.g. dtutty) to make
[EMAIL PROTECTED] which it then rewrites to [EMAIL PROTECTED]

Without further info, I'm guessing that something like this is your
problem.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: exim4 configuration errors

2008-02-25 Thread Alex Samad
On Mon, Feb 25, 2008 at 11:38:23PM +0100, Bruno Costacurta wrote:
> Hello,
> 
> I have following errors when sending email to en external email address.
> Note: pc34ghz.org is the local domain, [EMAIL PROTECTED] the address to test
> 
> 
> echo "my test" | mail -s "test exim4" [EMAIL PROTECTED]
> ...
> 1JTluY-0001YG-5o <= [EMAIL PROTECTED] U=bruno P=local S=337
> 1JTluY-0001YG-5o ** [EMAIL PROTECTED] R=smarthost T=remote_smtp_smarthost: 
> SMTP 
> error from remote mail server after MAIL FROM:<[EMAIL PROTECTED]> SIZE=1371: 
> host smtp.pt.lu [194.154.192.108]: 553 5.1.8 <[EMAIL PROTECTED]>... Domain of 
> sender address [EMAIL PROTECTED] does not exist
Think this says it all Domain of sender address [EMAIL PROTECTED] does
not exist
> 1JTluY-0001YJ-E1 <= <> R=1JTluY-0001YG-5o U=Debian-exim P=local S=1307
> 1JTluY-0001YG-5o Completed
> 1JTluY-0001YJ-E1 => [EMAIL PROTECTED] R=smarthost T=remote_smtp_smarthost 
> H=smtp.pt.lu [194.154.192.108]
> 1JTluY-0001YJ-E1 Completed
> ...
> 
> Thanks for any help.
> Bye,
> Bruno
>  
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 

-- 
"I have a different vision of leadership. A leadership is someone who brings 
people together."

- George W. Bush
08/18/2000
Bartlett, TN


signature.asc
Description: Digital signature


Re: exim4 configuration errors - more details

2008-02-25 Thread Bruno Costacurta
On Monday 25 February 2008 23:38, Bruno Costacurta wrote:
> Hello,
>
> I have following errors when sending email to en external email address.
> Note: pc34ghz.org is the local domain, [EMAIL PROTECTED] the address to test
>
>
> echo "my test" | mail -s "test exim4" [EMAIL PROTECTED]
> ...
> 1JTluY-0001YG-5o <= [EMAIL PROTECTED] U=bruno P=local S=337
> 1JTluY-0001YG-5o ** [EMAIL PROTECTED] R=smarthost T=remote_smtp_smarthost:
> SMTP error from remote mail server after MAIL FROM:<[EMAIL PROTECTED]>
> SIZE=1371: host smtp.pt.lu [194.154.192.108]: 553 5.1.8
> <[EMAIL PROTECTED]>... Domain of sender address [EMAIL PROTECTED] does not
> exist
> 1JTluY-0001YJ-E1 <= <> R=1JTluY-0001YG-5o U=Debian-exim P=local S=1307
> 1JTluY-0001YG-5o Completed
> 1JTluY-0001YJ-E1 => [EMAIL PROTECTED] R=smarthost T=remote_smtp_smarthost
> H=smtp.pt.lu [194.154.192.108]
> 1JTluY-0001YJ-E1 Completed
> ...
>
> Thanks for any help.
> Bye,
> Bruno

Also, hereafter my file 'update-exim4.conf.conf' :

dc_eximconfig_configtype='smarthost'
dc_other_hostnames='pc34ghz'
dc_local_interfaces=''
dc_readhost='pc34ghz.org'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='smtp.pt.lu'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
dc_localdelivery='maildir_home'

Thanks for any clue.
Bye,
Bruno



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



exim4 configuration errors

2008-02-25 Thread Bruno Costacurta
Hello,

I have following errors when sending email to en external email address.
Note: pc34ghz.org is the local domain, [EMAIL PROTECTED] the address to test


echo "my test" | mail -s "test exim4" [EMAIL PROTECTED]
...
1JTluY-0001YG-5o <= [EMAIL PROTECTED] U=bruno P=local S=337
1JTluY-0001YG-5o ** [EMAIL PROTECTED] R=smarthost T=remote_smtp_smarthost: SMTP 
error from remote mail server after MAIL FROM:<[EMAIL PROTECTED]> SIZE=1371: 
host smtp.pt.lu [194.154.192.108]: 553 5.1.8 <[EMAIL PROTECTED]>... Domain of 
sender address [EMAIL PROTECTED] does not exist
1JTluY-0001YJ-E1 <= <> R=1JTluY-0001YG-5o U=Debian-exim P=local S=1307
1JTluY-0001YG-5o Completed
1JTluY-0001YJ-E1 => [EMAIL PROTECTED] R=smarthost T=remote_smtp_smarthost 
H=smtp.pt.lu [194.154.192.108]
1JTluY-0001YJ-E1 Completed
...

Thanks for any help.
Bye,
Bruno
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]