logs archiveIRC Archive / Freenode / #exim / 2009 / December / 29 / 1
ttyS1
How can I create virtual users without a database ?
henk
ttyS1: with a file or a ldap directory e.g.
ttyS1
a file
henk
have fun
ttyS1
any documentation on how to do this with a file ?
henk
sure, the official on exim.org
ttyS1
hum didn't see it.
henk
http://exim.org/docs.html
ttyS1
henk: what term am I supposed to be looking for, only similar thing I see is virtual domains
         

henk
ttyS1: well, i don't know... what exactly do you have in mind? how do you want your users set up?
i'd figure that out first, then you can look if it's possible with exim.
ttyS1
I would like to create non system users using a flat file
henk
yes, you said that...
look at the lookup methods exim provides, then decide which you need...
ttyS1
I don't want users having access to any system resources. I figured there would be a way just like vsftpd
oh ok let me see
henk
have you even had a look at the docs? or your config?
verblendet
hi, i have some problems with german umlauts in exim. if a user sends an email , the subjects is broken, instead of e.g. für, it becomes für
is this exim related or client stuff?
its only the subject that is 'broken' the rest, body etc is as usual with german umlauts etc.
and it happens only with a few accounts, ... maybe a broken client?
henk
i'd guess so... have you tried with your own client?
verblendet
yes
i tried woth seamonkey, thunderbird, outlook, seems all fine
i know from far away stories that the client is a brother faxmachine or so.......
10 years old :))
but when i ask which client is used, i get only: 'this should not depend on the client, we expect it to work as usual....' hmpf, yes, doesnt help a lot
henk, in debian, i have installed all locales, so this shouldnt be the problem or?
henk
verblendet: i doubt it... but i don't actually know. you could try sniffing the traffic from the brother fax to your smtp port to find out what exactly it sends. perhaps you can find the charset.
corpix
hi
henk
hi
corpix
short question: i have a local debian lenny server running 24/7, I'd like to poll emails from alot of external POP/IMAP, store them in a local imap account, and for each external pop-account, i want exim to make it possible to answer to a mail using the propriate SMTP
is that possible ?
henk
sounds like you want to use exim as an pop/imap client?!
corpix
in other words, not exim is my SMTP, it should use several external SMTPs (which belong to the POPs)
henk
if you poll emails, you are talking pop or imap.
corpix
current setup is following
i fetch mails using fetchmail
store them into a courier imap (using procmail)
to that local imap i connect using a email client
in that one imap account, i see all emai-accounts as "folders" i subscribed to
BUT i still need to tell my eMail client manually to use different smtps
do you know what i mean ?
;)
henk
that is usually the way to do it, yes.
verblendet
so, set up your client to use more than one smtp and youre done
corpix
thats what i have now
verblendet
depends on the client, i would suggest a client that support more than 1 identity
         

corpix
but i need to store all that smtps locally on the client
verblendet
e.g. seamonkey
corpix
i got icedove
verblendet
store smtps?
corpix
yes, i need to store smtp settings to icedove
verblendet
just do it
set up multiple smtp-----
if icedove cant do it, change client
corpix
i can do this in icedove
when i write a mail i can choose from where to send it
verblendet
so i dont see your problem :)
corpix
okay, its about 60 mail accounts
verblendet
ouch :)
you want it automatically?
set up proper smtp for each account and youre done
corpix
i want exim to be my main smtp, and choose the right external smtp automagically
verblendet
if icedove cant do it, change client
seamonkey can do it
set up proper smtp for each account which gets selected automatically
henk
corpix: how is exim supposed to choose for you?
corpix
hmm, isnt it possible to have exim as a main smtp, so exim decides what external smtp to use according to what mail is answered ?
henk
based on what?
corpix
based on the mailaddy
verblendet
smatrelay maybe?
corpix
smtprelay wont work
due to spam, this feature is blocked by alot isps
verblendet
yes, they check for mx
and ip, and rdns and and and
but shouldnt really matter if you set up the exim relay properly
corpix
well, okay, i'll check that
verblendet
but you at least should use different smtp accounts on your exim to have a criteria
so, same stuff, you have to set up 60 smtps
corpix
but ONCE on the server
not several times on the clients
verblendet
yes, and you dont need to change anything on te server if you directly use the remote smtp.....
no, on the client too
corpix
oh
verblendet
i guess so. makes no sense without it
or you have to tell exim to relay for different sender addresses, which is hard i guess
corpix
thats exactly what i want
verblendet
senderaddress can vary and must not be the real email
corpix
true
verblendet
i can send from xyz@somethingelse.comnetorg
corpix
hmm, okay.
verblendet
just use remote smtp and youre done
there is no automagic solution
otherwise, if you set up exim to do so, you need server access to set up a new relay, which is bad
corpix
i hoped there is a list like <senderaddress> <smtptouse> <usr> <pwd>
verblendet
i dont know :)
corpix
seems like i need to check perl to make this work as i want
thanks for this conversation guys
henk
corpix: well, you can use some files of course
but imho that does not really offer an advantage... i have several mail accounts in my client as well and it works just fine. when i answer a mail the sender is preset to the receiver of the mail, so the correct smtp settings are used. you'd still have to choose your sender address in the client so why not let the client handle smtp server choice on the same time?
corpix
due to security
i dont wanna save smtp pass locally
henk
but on your smtp server? unencrypted? o_O
corpix
well, there is md5 sha aes somewhat
henk
hm, ok, could work... i don't store passwords either, so i have no idea :)
corpix
heh, i dont want to have 60 passwords in mind, which are generated by "pwgen" ;)
henk
you're doing it wrong...
corpix
use the sam pass ;) ?
henk
why do you have to use 60 mail accounts?
corpix
its no private use
i have several companies
long story
henk
yeah, i can imagine. don't worry, i'm afraid i don't want to hear it anyway...
corpix
heh
no i just have things sorted, in different mailsaccounts
btw, seamonkey is just like icedove / thunderbird
henk
yeah, i like that too. but i like things to stay manageable too and 60 is way too much imho...
corpix
not for a work-a-holic ;)
henk
yeah, pretty much. and i don't like either of them. have you tried claws?
corpix
hmm need to google
henk
depends on your work... if it consists solely of "using an email program", then yes, i guess it's ok.
corpix
key question, can exim do what ms exchange does ? I like to use opensource in order to save money for customers
henk
what does ms exchange do?
corpix
alot, lets say one employee is on holidays, you can route his/her mails to another employee
not just mails, even todo lists etc
verblendet
yes you can
corpix
well i hate m$, thats why i want it the opensource way
verblendet
but no todolists
corpix
calendar ?
verblendet
you can set up forward, copy, autoresponder and all that
but exim is not a groupware
corpix
yeah i know
cannonball
Exchange is a suite of applications. Exim does the SMTP part of that suite. the rest will have to be handled by something else. About the closest thing to Exchange on the Linux side is Zimbra or Scalix (prefer Zimbra myself).
corpix
cannonball: ah, nice , ill check that
cannonball
Both are massive java applications. Good luck.
corpix
heh
cannonball
Each will install its own version of a sql server, openldap, an imap server, an smtp server, logging, etc.
corpix
eeek, just like knowledge tree
argh
verblendet
ouch , java, ... me closes zimnbra page immediately :))
corpix
a full ms exchange alternative replacement would save alot of licence cost
verblendet
and each its own version? hmpf, thats not good
henk
zimbra is pretty heavy stuff...
corpix
a good market to the one who implements that
verblendet
like all groupwares... :)
corpix, only if the customer is willing to pay , hehe
corpix
verblendet: the customer is always willing to play LESS
;)
s/play/pay
just be around 80% of the licence costs of ms exchange
verblendet
regarding my email subjects, i expected the subject is encoded in the mail file stored in the imap folder, but it is cleartext, even with german umlauts... hmmmm is that correct? or shouldnt it be stored in a format like ido123-somethingelse%%HelloMyfriend ?
corpix
implement / install this to several customers, buy a new car.
;)
verblendet
encoded like so: =?iso-8859-1?Q?Holen_Sie_sich_die_K=F6nigliche_Behandlung_Hier!?=
i mean. but it isn't, should the client encode the mailsubject? i guess without encodeing the server expects pure ascii, but äöü is not pure ascii and unencoded...
im confused
corpix
verblendet: jaja, immer wieder eine frickelei mit den umlauten -- das wird wohl nie aufhören ;)
henk
pf ueberall deutsche... :-p
verblendet
hihi
corpix
grüße aus berlin
ciao, danke
henk
zurueck aus zuerich, cu
verblendet
tschuess aus hanau :)
« prev next »