logs archiveIRC Archive / Freenode / #exim / 2009 / December / 12 / 1
Kanisterschleife
hi
I'm trying to send mail using exim via a smarthost. I tried mail -s "subject" someaddress@somedomain.de, but exim tries to authenticate itself to the smarthost as hanno@localhost (hanno = my hostname, localhost = domain name), not using the authentication data I put in /etc/exim4/passwd.client
any idea?
anybody there?
I do now understand why exim authenticates itself as "hanno@localhost" to the mailserver [mail.]uni-bonn.de instead of using the username I put in passwd.client
please help me :(
nutmeg_
(Action) uploads 4.71 to Debian unstable.
Kanisterschleife
anybody there?
nutmeg_
mhm
Kanisterschleife
The replacement of mail addresses using /etc/email-addresses does not work
I use '*@localhost "${lookup{$1}lsearch{/etc/email-addresses}{$value}{fail}" Ffrs' to replace e.g. hanno@localhost by the entry corresponding to hanno in /etc/email-addresses (it contains hanno: habecker@uni-bonn.de, so hanno@localhost should be replaced by habecker@uni-bonn.de)
unfortunately, this does not work - nothing happens. If I explicitly map hanno@localhost to habecker@uni-bonn.de by putting the line 'hanno@localhost "habecker@uni-bonn.de"', it works
why?
Oh, sorry.. typo.
nutmeg_
(Action) was just going to suggest checking /usr/sbin/exim4 -d -brw hanno@localhost
Kanisterschleife
Another question: when sending a mail, exim automatically puts in my full name into the from field - where can I configure how the from field should look like?
nutmeg_
Kanisterschleife: The information is pulled from /etc/passwd.
Kanisterschleife: spect.txt 44.18 Constructed addresses
Kanisterschleife
nutmeg_: ah ok, I see. thank you.
nutmeg_: this is an option for exim4, not the mail command. Why can I use exim4 only as a superuser?
what's the correct replacement in normal user mode?
         

nutmeg_
Kanisterschleife: What exactly is the point of the exercise? Do you need to send custom Mails from a script?
Kanisterschleife
nutmeg_: ? I just want to learn about mail and configure exim on my debian system, that's all
nutmeg_
Kanisterschleife: ok. only debugging -d is restricted to superuser.
Kanisterschleife
nutmeg_: but as a normal user exim4 is not found
nutmeg: mailq is, though.
nutmeg_
Kanisterschleife: That is because /usr/sbin is not in our $PATH. You can still invoke it as /usr/sbin/exim4.
s/ our/ your/
Kanisterschleife
nutmeg_: ok. changing /etc/passwd is fine, thank you.
nutmeg_: I do not understand how "mail" is related to exim. Is it kind of "hull" for easier use of exim?
nutmeg_
Afaik mailx is one the of the first MUA (mail programs). See apt-cache show bsd-mailx. It uses exim (or sendmail or another prgram providing /usr/sbin/sendmail) for mail transfer.
Kanisterschleife
ah, of course. ok, sending mail directly via exim is fine, too. cool! :) I'm happy to understand the things a bit better now.
I have another question concerning the process of mail retrieval.. I want to use fetchmail to get my mails via IMAP from the mailserver. I can either make fetchmail to retrieve *all* mails using -a, or to fetch only those that are new.
unfortunately, sometimes I read mails on the webmail before getting them via fetchmail, so they are marked as read on the mailserver
then, of course, fetchmail does not fetch them.
Is it possible to let fetchmail go thouggh *all* messages on the mailserver, but only to retrieve the header data first, send these data to a MDA which decides if the mail is already in the local mail folder or not?
I want to have a complete list of mails in my local mail folder, so I should download all mails from the server regardless if they were read somehow before (eg via webmail) but store only those which are not already present in the local folder. But this will take too much time, so I wonder if it is possible to first download the header data and then decide if it is necessary to retrieve the actual content, too
Do you know what I mean?
nutmeg_
Kanisterschleife: This is kind of offtopic here. I think you might do better with e.g. offlineimap than fetchmail, though.
Kanisterschleife
nutmeg_: ok, sorry.. thought it would be ok because no one else is talking
nutmeg_
Kanisterschleife: I have made any suggestions I know anyway. ;-)
Kanisterschleife
nutmeg_: yes, thank you! I'll look at offlineimap. Is it possible not only to get mails from the mailserver via POP or IMAP but also put mails there? (for example, put written mails in the sent folder)
nutmeg_
Kanisterschleife: Yes, it can do a twoway sync.
Kanisterschleife
what's the technical background behind this? i.e. which protocol do I need to use to put data on the mailserver?
nutmeg_
Kanisterschleife: IMAP.
Kanisterschleife
nutmeg_: mh, ok, thought it was only made for downloading mail from the server
nutmeg_: ok, so if offlineimap synchronizes the local folders and the remote folders, then the MDA-part of exim is no longer in use, right? til now, i used fetchmail to get mail and pass it to exim which saves them in the mail folder. now, offlineimap will do this, and exim is used only for writing message?
nutmeg_
Kanisterschleife: You are right.
Kanisterschleife
nutmeg_: ok, fine, I understand.
nutmeg_: offlineimap looks great. thank you! you made my day :)
nutmeg__: thank you! you made my day :)
nutmeg__
Kanisterschleife: no worries
pavelz_
hi
I am trying to send mail with exim, when it is invoked like sendmail it seems to string From To headers
when I send mail over SMTP through it, it keeps those headers. what gives?
how come exim delivers differently when I am sending mail via smtp versus `exim` invocation
         

toolz
Hello, anyone available?
any idea why I cant get new email in my inbox in my box? I am able to send email
but cant get any in inbox
though I read the logs and e-mail arrive but not in my inbox..
petemc
what does the log entry for a mail delivered to your user say?
toolz
Completed.
in /var/log/exim/mainlog
all mails seem to be ok
logs show no errors
wtf.
I use exim4.71 on freebsd
with dovecot, and same in dovecot no error, seems that the new mails do not appear in /home/user/Maildir/new
cdrwxrwx--- 2 admin mail 1024 Dec 12 05:46 new
directory permissions
petemc
the log entry will show which router and transport it used, if you then look at those it should be easy to see where the mail went
toolz
what logfile?
where can I check?
petemc
mainlog, like you said
toolz
I will pastebin
weird now.
I cannot login because imap autentication failed
I see in logs the error but permissions are ok
« prev next »