logs archiveIRC Archive / Freenode / #exim / 2010 / April / 7 / 1
jshriver
Greetings
Is it possible to setup an exim server for use at home so the machine can send emails out?
sayantan
sure... it can
only your exim server needs to be registered
jshriver
back
Can someone walk me through setting up my computer so it can send emails to my gmail account from the cli
capitan
oh... there's a channel :)
hi guys... i'm very new to exim, and mail servers in general... i have a question about the /etc/aliases file... is there a practical limit to how many addresses can be placed in there? where does the info "go"? Is it stored in a database? a data structure in memory?
i'm trying to figure out whether i should use that file as my mapping "database"... or just have one regex pattern in there, and pipe the request to a php script to do the lookups to my sql database externally
phx
capitan, exim can have sql support, you need no scripts for the lookups
capitan, and using a php script for exim to look up stuff is just retarded
and at the end, when you get actual traffic, it'll also turn your exim setup into a forkbomb
capitan
phx, i wasn't aware exim could have native sql support for the alias lookups... thanks... can you point me to some documentation on that?
phx, and regarding the forkbomb, that's a good point. i thought i read something somewhere that prevented that (queueing up requests rather than forking off a ton of php processes)... i was gonna cross that bridge once i got to it :P
phx
http://exim.org/ and go for documentation
though for building exim i never used that. ports offers me quite a good way to adjust my exim builds
you can use sql queries allover in your exim configuration, for whatever propose, not just aliases
capitan
cool... section 9 details it
i can't lie though... exim is pretty overwhelming to me... LOTS of knobs to turn :(... hence the long documentation
phx
yeah, the documentation is detailed. exim is the swiss army knife of MTAs, it has tons of features
but reading the docs a few times will get you used to it, no problems
it also took me a bit of a time to understand it, don't worry, it's normal
         

capitan
haha... "a few times"? i'll have to take a week off for that ;)
phx
;)
capitan
i think i need a "theory" type primer first
phx
on what OS are you doing this exim installation/
?
capitan
linux... debian
phx
there's exim prebuilt. exim-deamon-heavy-whatever, check apt
apt-cache search --names-only exim
capitan
yes... i've apt-get'ed it already
that's the easy part :P
configuration is the intimidating part
phx
you need the heavy one or whatever is the name, for sql support
capitan
and even learning to understand the syntax of the configuration files
phx
personally i dislike debian's way of exim configuration, i could never live with that :)
capitan
ahhh... i see. i'll make sure i installed the right one
ya that was another thing... usually doing things the "debian way" makes things a lot more hassle-free
phx
that's what i like in the ports system, i can tell what kind of configuration do i need for the build :)
capitan
but in this case, it seems to complicate things... esp since i've never touched exim, or any other mta's for that matter
phx, which bsd?
phx
fbsd i'm using
capitan
ya i barely touched it many years ago... as far as i remember it was pretty slick... package management with custom build configuration in harmony
phx
it works quite well :)
and i just love zfs!
capitan
ya i hear very good things about it
maybe i have to take the time to reintroduce myself one of these days
it'll probably require a shorter vacay than the exim manual :P
phx
never hurts to know a lot of things :)
here at work, we've got debians, fbsds, solaris, fedora, windows, openvms and whatever else
capitan
indeed
wow that's a pretty mixed environment
phx
well, not that much
         

capitan
where do you work, if you don't mind me asking?
phx
i'm replacing debians with fbsds, the voip is fedora hence the trixbox, openvms is an old scrambling platform (3rdparty), and solaris is also a different scrambling platform for the TV channels
we're doing satellite uplinks for different TV channels, also got our own sat TV service, and we even have a DVB-Tish service recently
capitan
wow! exciting
phx
that's funny, it's a terrestial system with DVB-C frequencies :)
capitan
you lost me ;)
phx
do you know what's DVB, right?
capitan
i sure don't ;)
phx
Digital Video Broadcasting
henk
capitan: imho the debian way of doing the exim config is pretty flexible which is good for use with puppet e.g. you can just drop another router-in-a-file into the split config layout and exim will use it. it's not that easily doable with the one-file config layout.
capitan: apart from this setting the debian config is just another exim config.
phx
basically TV and radio channel distribution using digital techniques. mpeg2, mpeg1layer2, h264 and such things. -C is cable, -S/-S2 is satellite, -T is terrestial, -H is hendheld
handheld, sry
capitan
henk, it's probably like most other things in debian... i'll see the full charm/power when i understand the thing itself
but right now i'm eximgnorant ;)
henk
capitan: hehe probably :) looks like black magic at the first glance, but once you get it, it's pretty useful and flexible...
phx
yup. so far i haven't faced a problem i couldn't do with exim. it sometimes might get quite tricky, but it can be done
capitan
well thanks for the encouragement guys
i'm sure i'll be picking your brains once i return to the exim portion of my task
(craigslist-like-anonymous-emails)
phx
yw, i'll have the next two days off anyway ;)
capitan
lucky you!
i'm never off these days *sigh*
phx
yeah, i'm over those days :)
yesterday was monday due to easter, and today is friday, because of the days off :)
i like such weeks
capitan
hahaha
henk
i'm just trying to understand the return-path set by exim. afaict it is set from the envelope MAIL FROM when the mail leaves the mta. know when a php-script sends a mail the return-path is set to 'www-data@FQDN'. messages about delivery problems and such get send there. according to rfc 2076 this header should be used and not errors-to. is everything i said correct? is that how it's usually done? i'd like to receive reports about that email at me@mydoma.in. ...
... what would i have to do?
phx
return-path is set by the delivering MTA afaik
and also, don't send emails from www-data@ if you don't accept mail for it
always use existing addresses
henk
phx: yes, that's what i want to do... but the return-path seems to be set to www-data@FQDN automatically
phx
address rewriting
henk
ok, thanks
phx
henk, got it working?
henk
phx: uff, no, didn't even try yet... gimme some minutes...
phx
:)
henk
or hours even perhaps...
phx
:)
Lap_64
hi is it possible to run exim on same server but on different IP's
henk
phx: yeah, works, thanks!
Lap_64: sure.
phx
henk, tbh webapps shouldn't send emails by the sendmail interface. they should use SMTP also
henk, that way the app is able to define the outgoing (from/sender) address
Lap_64
henk, do i need to make changes on the exim file ?
henk
phx: yes, true. tell the drupal people :-p
Lap_64
henk, how should i do that ?
henk
Lap_64: i don't know. what exactly is your goal?
phx
henk, maybe a pineapple covered with chili stick up they arse may be able to persuade them...
Lap_64, by reading the second part of the topic
Lap_64
henk, i just want to run exim server on same server on two diffrent IPs may be in 2 different ports
henk
phx: oh, please tell me when you are going to do that, i wanna seeeeeeee!!!111oneeleven
Lap_64
like one is on 192.168.1.1 and the 2nd one is on 192,168.1.2 but on same server
phx
lol :)
Lap_64, rtfd.
henk
Lap_64: i don't see the problem...
Lap_64
henk, hehehe yeah but i just need to do changes in the conf file yeah ?
henk
Lap_64: we don't know what your config looks like atm and what you plan on doing with those two ips...
phx
why does people ignore the solution to their problem and keep on crying?
henk
because crying is easier :-p
berndj
under what conditions will exim envelope_to_add multiple addresses on a pipe transport (with no explicitly set batch_max)?
herron
how does one get exim to listen to external not just localhost ubuntu docs seem bad https://help.ubuntu.com/community/Exim4
henk
herron: sudo dpkg-reconfigure exim4-config
herron: that command will ask you where you want to listen.
herron
henk, thanks /me will test now
its a runner!
is there a standard place to put a forward file if you dont want to add a user to the system
danielshorten
I have a client domain precedeohs.com and a mail company domain hostpapa.com.
Is there a reason why sending email to user@precedeohs.com would get an error from the mail server...
The following address(es) failed: root@hp30.hostpapa.com (generated from webmaster@hp30.hostpapa.com)
Sorry, sending an email to webmaster@precedeohs.com
Or sending an email to user@precedeohs.com gives a permanent error: 69.90.161.170 does not like recipient.
Remote host said: 550 Unrouteable address
This should be a valid address.
Does this sound like a problem that could be caused by a CNAME in an MX record?
artur
Hi
How to tell exim to skip defined extension from av scanning?
fab__
hi, a mailserver i administer is currently under attack by a botnet, which seems to be able to relay through this server, the log messages show entries where the authentication field looks like "A=cram_md5: " without a user name
the authentication is done via an mysql db
has anyone an idea what could cause empty authentication entries in the log? authentication with empty username seems to not be possible
« prev next »