![]() |
|
|
|||
|
Exim and outgoing mail
Hi ng! Now I have a problem with exim4 and outgoing mail that drives me a little bit crazy since three days (searching the web and the man-pages). Though I have uncommented the client-section in /etc/exim4/conf.d/auth/30_exim4-config_examples (plain for my isp alice-dsl.net) and then have run update-exim4.conf and restarted exim (and I am in passw.client of course), I can't send emails to my yahoo-adress for example, though local mail delivery works perfect and receiving messages from local and from web via fetchmail too! When I run exim4 -v -odf jenslindermann@yahoo.de My cute email .. I get this: LOG: MAIN <= root@COMPUTER U=root P=local S=278 delivering 1JnYiY-0001Hu-R5 R: smarthost for jenslindermann@yahoo.de T: remote_smtp_smarthost for jenslindermann@yahoo.de Connecting to out.alice-dsl.net [IP-ADRESS]:25 ... connected SMTP<< 220 out.alice-dsl.de SMTP Server Sun, 20 Apr 2008 14:25:44 +0200 SMTP>> EHLO Hades SMTP<< 250-out.alice-dsl.de Hello [IP-ADRESS] 250-TURN 250-SIZE 141557760 250-ETRN 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-8bitmime 250-BINARYMIME 250-CHUNKING 250-VRFY 250-X-EXPS GSSAPI NTLM LOGIN 250-X-EXPS=LOGIN 250-AUTH GSSAPI NTLM LOGIN 250-AUTH=LOGIN 250-X-LINK2STATE 250-XEXCH50 250 OK SMTP>> MAIL FROM:<root@alice-dsl.net> SIZE=1310 SMTP>> RCPT TO:<jenslindermann@yahoo.de> SMTP>> DATA SMTP<< 250 2.1.0 root@alice-dsl.net....Sender OK SMTP<< 550 5.7.1 Unable to relay for jenslindermann@yahoo.de SMTP<< 554 5.5.2 No valid recipients SMTP>> QUIT LOG: MAIN ** jenslindermann@yahoo.de R=smarthost T=remote_smtp_smarthost: SMTP error from remote mail server after RCPT TO:<jenslindermann@yahoo.de>: host out.alice-dsl.net [IP-ADRESS]: 550 5.7.1 Unable to relay for jenslindermann@yahoo.de LOG: MAIN <= <> R=1JnYiY-0001Hu-R5 U=Debian-exim P=local S=1193 delivering 1JnYih-0001Hx-H8 R: system_aliases for root@COMPUTER R: system_aliases for lindermann@COMPUTER R: userforward for lindermann@COMPUTER R: procmail for lindermann@COMPUTER T: procmail_pipe for lindermann@COMPUTER LOG: MAIN => lindermann <root@Hades> R=procmail T=procmail_pipe LOG: MAIN Completed LOG: MAIN Completed Hope you can help me - and again: sorry for my 'German' English. Jens -- Debian GNU/Linux 4.0 stable |
|
|||
|
Re: Exim and outgoing mail
Jens-Olaf Lindermann wrote:
> Hi ng! > > Now I have a problem with exim4 and outgoing mail that drives me a little > bit crazy since three days (searching the web and the man-pages). Though I > have uncommented the client-section > in /etc/exim4/conf.d/auth/30_exim4-config_examples (plain for my isp > alice-dsl.net) and then have run update-exim4.conf and restarted exim (and > I am in passw.client of course), I can't send emails to my yahoo-adress for > example, though local mail delivery works perfect and receiving messages > from local and from web via fetchmail too! > > When I run exim4 -v -odf jenslindermann@yahoo.de > My cute email > . > > I get this: > > LOG: MAIN > <= root@COMPUTER U=root P=local S=278 > delivering 1JnYiY-0001Hu-R5 > R: smarthost for jenslindermann@yahoo.de > T: remote_smtp_smarthost for jenslindermann@yahoo.de > Connecting to out.alice-dsl.net [IP-ADRESS]:25 ... connected > SMTP<< 220 out.alice-dsl.de SMTP Server Sun, 20 Apr 2008 14:25:44 +0200 > SMTP>> EHLO Hades > SMTP<< 250-out.alice-dsl.de Hello [IP-ADRESS] > 250-TURN > 250-SIZE 141557760 > 250-ETRN > 250-PIPELINING > 250-DSN > 250-ENHANCEDSTATUSCODES > 250-8bitmime > 250-BINARYMIME > 250-CHUNKING > 250-VRFY > 250-X-EXPS GSSAPI NTLM LOGIN > 250-X-EXPS=LOGIN > 250-AUTH GSSAPI NTLM LOGIN > 250-AUTH=LOGIN > 250-X-LINK2STATE > 250-XEXCH50 > 250 OK > SMTP>> MAIL FROM:<root@alice-dsl.net> SIZE=1310 > SMTP>> RCPT TO:<jenslindermann@yahoo.de> > SMTP>> DATA > SMTP<< 250 2.1.0 root@alice-dsl.net....Sender OK > SMTP<< 550 5.7.1 Unable to relay for jenslindermann@yahoo.de > SMTP<< 554 5.5.2 No valid recipients > SMTP>> QUIT > LOG: MAIN > ** jenslindermann@yahoo.de R=smarthost T=remote_smtp_smarthost: SMTP error > from remote mail server after RCPT TO:<jenslindermann@yahoo.de>: host > out.alice-dsl.net [IP-ADRESS]: 550 5.7.1 Unable to relay for > jenslindermann@yahoo.de > LOG: MAIN > <= <> R=1JnYiY-0001Hu-R5 U=Debian-exim P=local S=1193 > delivering 1JnYih-0001Hx-H8 > R: system_aliases for root@COMPUTER > R: system_aliases for lindermann@COMPUTER > R: userforward for lindermann@COMPUTER > R: procmail for lindermann@COMPUTER > T: procmail_pipe for lindermann@COMPUTER > LOG: MAIN > => lindermann <root@Hades> R=procmail T=procmail_pipe > LOG: MAIN > Completed > LOG: MAIN > Completed > > > Hope you can help me - and again: sorry for my 'German' English. > Jens > > > > Your smarthost will not relay mail from jenslindermann@yahoo.de - if you have a different "From:" email address, say, somebody@alice-dsl.de then it will probably work fine. Robert |
|
|||
|
Re: Exim and outgoing mail
Robert Harris wrote:
> > Your smarthost will not relay mail from jenslindermann@yahoo.de - if you > have a different "From:" email address, say, somebody@alice-dsl.de then > it will probably work fine. Hi Robert, alas it will not... Local deliver works fine: As I send myself an email at my local adress, I will see it in mutt. But when I try to send e-mails to, say, jenslindermann@yahoo.de (to the www), there always comes the message "SMTP 550 5.7.1 Unable to relay..." This is strange, because with kmail or icedove smtp it works. confused Jens I know it is OT here, but in the german mailserver-group nobody answers. And beside - exim is not a mailserver but a mailclient in my case. ;-) -- Debian GNU/Linux 4.0 stable |
|
|||
|
Re: Exim and outgoing mail
Jens-Olaf Lindermann wrote:
> Robert Harris wrote: > > > >> Your smarthost will not relay mail from jenslindermann@yahoo.de - if you >> have a different "From:" email address, say, somebody@alice-dsl.de then >> it will probably work fine. >> > > Hi Robert, > > alas it will not... Local deliver works fine: As I send myself an email at > my local adress, I will see it in mutt. But when I try to send e-mails to, > say, jenslindermann@yahoo.de (to the www), there always comes the > message "SMTP 550 5.7.1 Unable to relay..." This is strange, because with > kmail or icedove smtp it works. > > confused > Jens > > I know it is OT here, but in the german mailserver-group nobody answers. And > beside - exim is not a mailserver but a mailclient in my case. ;-) Exim is an MTA (Mail Transfer Agent) -- an SMTP mail server. It is not a POP3 or IMAC mailbox server -- an MDA (Mail Delivery Agent). Your "client" would be Mutt and/or Mail/Mailx, Icedove, KMail, etc. They are MUAs (Mail User Agents). Do you have Exim configured correctly? I receive nightly logs sent by INN running on a Sarge box, which go to my MTA+MDA (Stalker Internet Mail Server -- SIMS) running on an old Mac. I download them from a Ubuntu box into Thunderbird. I can also send mail to an Internet address from that same computer, if I use a FQDN. I do use a BIND9 DNS server on the LAN though, which would make addressing different than sending out to an ISP mailbox. So using a FQDN might be required in your case. Have you tried to reconfigure Exim with sudo dpkg-reconfigure exim4-config ? Maybe trying a low priority ( sudo dpkg-reconfigure -plow exim4-config ) to see all of the options. If available, -pcritical is even more thorough. You can choose one of four types of configurations. If I remember correctly, "Internet" should be the choice, indicating the mail is not to be kept on the local machine. Just read the questions carefully and select the best answer. Also check your /etc/aliases file to make sure it is correct because Exim uses it. - John No Microsoft, Apple, Intel, Trend Micro, nor Ford products were used in the preparation or transmission of this message. The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do. |
|
|||
|
Re: Exim and outgoing mail
On Sun, 20 Apr 2008 14:40:23 +0200, Jens-Olaf Lindermann wrote:
> Though I > have uncommented the client-section > in /etc/exim4/conf.d/auth/30_exim4-config_examples (plain for my isp > alice-dsl.net) that's the wrong place, if I understand you correctly. from the top of this file: # The examples below are for server side authentication, when the # local exim is SMTP server and clients authenticate to the local # exim. in your case you don't want to authenticate against your local exim but you want your exim (as a client) to authenticate against your smarthost (i.e. alice). > and then have run update-exim4.conf and restarted exim (and > I am in passw.client of course), passwd.client is one of the two needed places. > SMTP<< 220 out.alice-dsl.de SMTP Server Sun, 20 Apr 2008 14:25:44 +0200 > SMTP>> EHLO Hades > SMTP<< 250-out.alice-dsl.de Hello [IP-ADRESS] > 250-TURN > 250-SIZE 141557760 > 250-ETRN > 250-PIPELINING > 250-DSN > 250-ENHANCEDSTATUSCODES > 250-8bitmime > 250-BINARYMIME > 250-CHUNKING > 250-VRFY > 250-X-EXPS GSSAPI NTLM LOGIN > 250-X-EXPS=LOGIN > 250-AUTH GSSAPI NTLM LOGIN > 250-AUTH=LOGIN > 250-X-LINK2STATE > 250-XEXCH50 > 250 OK > SMTP>> MAIL FROM:<root@alice-dsl.net> SIZE=1310 > SMTP>> RCPT TO:<jenslindermann@yahoo.de> > SMTP>> DATA doesn't look like any authentication actually happens. (and is out.alice-dsl.de really alice's smtp-relay for customers?) the second place (though you probably have that set?) is update-exim4.conf.conf, which needs a line like: dc_smarthost='smtp.alice.de' one trap I ran into was that the hostname in update-exim4.conf.conf and in passwd.client has to be _identical_. gregor -- .''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4 : :' : debian gnu/linux user, admin & developer - http://www.debian.org/ `. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/ `- NP: Josh With: Downhearted man blues |
|
|||
|
Re: Exim and outgoing mail
On Sun, 20 Apr 2008 14:40:23 +0200, Jens-Olaf Lindermann wrote:
> Though I > have uncommented the client-section > in /etc/exim4/conf.d/auth/30_exim4-config_examples (plain for my isp > alice-dsl.net) that's the wrong place, if I understand you correctly. from the top of this file: # The examples below are for server side authentication, when the # local exim is SMTP server and clients authenticate to the local # exim. in your case you don't want to authenticate against your local exim but you want your exim (as a client) to authenticate against your smarthost (i.e. alice). > and then have run update-exim4.conf and restarted exim (and > I am in passw.client of course), passwd.client is one of the two needed places. > SMTP<< 220 out.alice-dsl.de SMTP Server Sun, 20 Apr 2008 14:25:44 +0200 > SMTP>> EHLO Hades > SMTP<< 250-out.alice-dsl.de Hello [IP-ADRESS] > 250-TURN > 250-SIZE 141557760 > 250-ETRN > 250-PIPELINING > 250-DSN > 250-ENHANCEDSTATUSCODES > 250-8bitmime > 250-BINARYMIME > 250-CHUNKING > 250-VRFY > 250-X-EXPS GSSAPI NTLM LOGIN > 250-X-EXPS=LOGIN > 250-AUTH GSSAPI NTLM LOGIN > 250-AUTH=LOGIN > 250-X-LINK2STATE > 250-XEXCH50 > 250 OK > SMTP>> MAIL FROM:<root@alice-dsl.net> SIZE=1310 > SMTP>> RCPT TO:<jenslindermann@yahoo.de> > SMTP>> DATA doesn't look like any authentication actually happens. (and is out.alice-dsl.de really alice's smtp-relay for customers?) the second place (though you probably have that set?) is update-exim4.conf.conf, which needs a line like: dc_smarthost='smtp.alice.de' one trap I ran into was that the hostname in update-exim4.conf.conf and in passwd.client has to be _identical_. gregor -- .''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4 : :' : debian gnu/linux user, admin & developer - http://www.debian.org/ `. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/ `- NP: Josh With: Downhearted man blues |
|
|||
|
Re: Exim and outgoing mail
John F. Morse wrote:
Hi John, > Have you tried to reconfigure Exim with sudo dpkg-reconfigure exim4-config I have reconfigured it. 1. split in multiple files 2. SMTP and smarthost (fetchmail), 3. E-Mail-Name of my system: Name of my machine 4. IP 127.0.0.1 5. further domains: name of my machine 6. relay: empty 7. smtp.mailserver.org:25 8. Hide local E-Mail-Name: Yes 9. visible name: mailserver.org 10.minimize DNS: Yes 11.mbox /var/mail/ And I have also configured the client-section of my template-file in confd/. > Also check your /etc/aliases file to make sure it is correct because > Exim uses it. must there stand something special for me 'user'? Hope that there are some more informations for you. Jens -- Debian GNU/Linux 4.0 stable |
|
|||
|
Re: Exim and outgoing mail
On Sun, 20 Apr 2008 22:11:56 +0200, Jens-Olaf Lindermann wrote:
>> Also check your /etc/aliases file to make sure it is correct because >> Exim uses it. > must there stand something special for me 'user'? TTBOMK /etc/aliases is for _incoming_ mail, which doesn't seem to be your problem. /etc/email-addresses can be used to "translate" local usernames to mailadresses for outgoing mail. gregor -- .''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4 : :' : debian gnu/linux user, admin & developer - http://www.debian.org/ `. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/ `- NP: Cranberries: Linger |
|
|||
|
Re: Exim and outgoing mail
On Sun, 20 Apr 2008 22:11:56 +0200, Jens-Olaf Lindermann wrote:
>> Also check your /etc/aliases file to make sure it is correct because >> Exim uses it. > must there stand something special for me 'user'? TTBOMK /etc/aliases is for _incoming_ mail, which doesn't seem to be your problem. /etc/email-addresses can be used to "translate" local usernames to mailadresses for outgoing mail. gregor -- .''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4 : :' : debian gnu/linux user, admin & developer - http://www.debian.org/ `. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/ `- NP: Cranberries: Linger |
|
|||
|
Re: Exim and outgoing mail
gregor herrmann wrote:
> > # The examples below are for server side authentication, when the > # local exim is SMTP server and clients authenticate to the local > # exim. Hi Gregor, great, much help here for me newbie - thanks! I am so confused that information goes probably wrong. I have uncommented the client-side authentication 'plain' and 'login' in exim4.conf.template and run update. > doesn't look like any authentication actually happens. > (and is out.alice-dsl.de really alice's smtp-relay for customers?) smtp.alice-dsl.net is just an alias for out.alice-dsl.de is, which I have found out running the 'host' command. But how can I get authentication work? (I swear I write a tutorial for alice!) > the second place (though you probably have that set?) is > update-exim4.conf.conf, which needs a line like: > dc_smarthost='smtp.alice.de' This line is there and identical with passwd.client too. Grmpf! Jens -- Debian GNU/Linux 4.0 stable |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|