Re: Sending mail via exim: spooky....
Phillip Deackes schrieb: I posted some information on this recently. I am sending it again: I'm sorry. My attention was completely captured by another thread... My machine's name (hostname) is scgf. If I look in /etc/hosts I see: 127.0.0.1 scgf localhost In /etc/hostname: scgf scgf does not exist in the real world, just on my machine. Your Linux machine needs a name. Be kind and give it a name. So my machine's name is woof... To help you understand what I have written below, my real-world email address is [EMAIL PROTECTED] My /etc/exim.conf it set up like this (there is a lot more besides, of course, but these lines are relevant to this thread): qualify_domain = gmx.co.uk For me: qualify_domain = netway.at qualify_recipient = scgf.gmx.co.uk local_domains = localhost:scgf.gmx.co.uk My version of exim (2.05-2) seems to be unfamiliar with your dot notation, so my entries are like this: qualify_recipient = woof local_domains = localhost:woof host_accept_relay = localhost This option doesn't appear in my exim.conf, but it seems that it doesn't matter in my case. The above lines ensure that all outgoing mail appears to come from [EMAIL PROTECTED] Local mail is delivered locally and does not leave my system. All incoming mail from my ISP, collected by fetchmail, is detected by Exim and is delivered according to the filters in my ~/.forward file. If you follow my example, your mail system should work OK. Well, I have to check local deliveries like system messages, but sending remote mail works fine now! Thank you very much. Andreas
RE: Sending mail via exim: spooky....
On 26-Aug-2000 Andreas Hetzmannseder wrote: Dear debian-users I tried to send a test message to my friend who has an e-mail account on the same PC and from the same provider as me, let's say [EMAIL PROTECTED] This should have gone to my provider's smtp-server named smtp.netway.at. I edited just a little text using mutt, hit the key for 'send', the test message has been relaid in my outbox file, which is probably alright. But then I recognized quite a lot of modem activity, which went on for two or three minutes. Now I do have a really slow internet connection, but several minutes for a text of just two or three lines... It semed suspicious to me, so I turned it off. Well, the message hasn't arrived at our mailserver :( But what about the modem activity? This is really spooky Besides it seems, all that exim does in my case is deliver messages locally. /var/log/exim/mainlog includes the following: [...]unknown local-part friendsname in domain netway.at with netway.at being the 'visible mail name of my system' according to the following entry in my exim.conf: qualify_domain = netway.at Now I think that exim tried to deliver an error message to [EMAIL PROTECTED] according to my /etc/email-addresses: andy:[EMAIL PROTECTED] Like before /var/log/exim/mainlog said: unknown local-part hetzmann in domain netway.at Besides, I created this file for the purpose of handling outgoing mail, but now it looks like I can't receive system messages any more which used to go to /var/spool/mail/andy. Is my /etc/email-addresses OK? I think your problem is with the local_domains setting in exim.conf. Make sure you have qualify_recipient set to your hostname (not netway.at) and local_domains is commented out.
Re: Sending mail via exim: spooky....
Lehel Bernadt wrote: On 26-Aug-2000 Andreas Hetzmannseder wrote: Dear debian-users I tried to send a test message to my friend who has an e-mail account on the same PC and from the same provider as me, let's say [EMAIL PROTECTED] This should have gone to my provider's smtp-server named smtp.netway.at. I edited just a little text using mutt, hit the key for 'send' [...] Well, the message hasn't arrived at our mailserver :( [...] Besides it seems, all that exim does in my case is deliver messages locally. /var/log/exim/mainlog includes the following: [...]unknown local-part friendsname in domain netway.at with netway.at being the 'visible mail name of my system' according to the following entry in my exim.conf: qualify_domain = netway.at Now I think that exim tried to deliver an error message to [EMAIL PROTECTED] according to my /etc/email-addresses: andy:[EMAIL PROTECTED] Like before /var/log/exim/mainlog said: unknown local-part hetzmann in domain netway.at [...] I think your problem is with the local_domains setting in exim.conf. Make sure you have qualify_recipient set to your hostname (not netway.at) and local_domains is commented out. According to your suggestion my settings are now as follows: qualify_recipient = woof # ...which is localhost's name... local-domains = localhost:netway.at:localhost # localhost even twice? Well, I don't mind, if exim insists # on that... My problem remains. Two questions: - 'my hostname': Do you mean the name of my PC or the name of my providers smtp-server? - 'commenting out': Do you mean a) disable by taking out of the context through commenting? b) enable by taking out the comment mark You see, I have a special talent of understanding things quite contrary, like: west wind: Does it come from the west or does it go to the west? Thank you and kind regards... Andreas.
Re: Sending mail via exim: spooky....
Andreas Hetzmannseder [EMAIL PROTECTED] wrote: My problem remains. Two questions: - 'my hostname': Do you mean the name of my PC or the name of my providers smtp-server? - 'commenting out': Do you mean a) disable by taking out of the context through commenting? b) enable by taking out the comment mark You see, I have a special talent of understanding things quite contrary, like: west wind: Does it come from the west or does it go to the west? I posted some information on this recently. I am sending it again: My machine's name (hostname) is scgf. If I look in /etc/hosts I see: 127.0.0.1 scgf localhost In /etc/hostname: scgf scgf does not exist in the real world, just on my machine. Your Linux machine needs a name. Be kind and give it a name. To help you understand what I have written below, my real-world email address is [EMAIL PROTECTED] My /etc/exim.conf it set up like this (there is a lot more besides, of course, but these lines are relevant to this thread): qualify_domain = gmx.co.uk qualify_recipient = scgf.gmx.co.uk local_domains = localhost:scgf.gmx.co.uk host_accept_relay = localhost The above lines ensure that all outgoing mail appears to come from [EMAIL PROTECTED] Local mail is delivered locally and does not leave my system. All incoming mail from my ISP, collected by fetchmail, is detected by Exim and is delivered according to the filters in my ~/.forward file. If you follow my example, your mail system should work OK. -- Phillip Deackes Using Storm Linux
Sending mail via exim: spooky....
Dear debian-users I tried to send a test message to my friend who has an e-mail account on the same PC and from the same provider as me, let's say [EMAIL PROTECTED] This should have gone to my provider's smtp-server named smtp.netway.at. I edited just a little text using mutt, hit the key for 'send', the test message has been relaid in my outbox file, which is probably alright. But then I recognized quite a lot of modem activity, which went on for two or three minutes. Now I do have a really slow internet connection, but several minutes for a text of just two or three lines... It semed suspicious to me, so I turned it off. Well, the message hasn't arrived at our mailserver :( But what about the modem activity? This is really spooky Besides it seems, all that exim does in my case is deliver messages locally. /var/log/exim/mainlog includes the following: [...]unknown local-part friendsname in domain netway.at with netway.at being the 'visible mail name of my system' according to the following entry in my exim.conf: qualify_domain = netway.at Now I think that exim tried to deliver an error message to [EMAIL PROTECTED] according to my /etc/email-addresses: andy:[EMAIL PROTECTED] Like before /var/log/exim/mainlog said: unknown local-part hetzmann in domain netway.at Besides, I created this file for the purpose of handling outgoing mail, but now it looks like I can't receive system messages any more which used to go to /var/spool/mail/andy. Is my /etc/email-addresses OK? But the big question is: How do I manage to make exim send remote mail correctly? Hoping for your kind support, Andreas.