Re: need help with exim setup

2003-06-26 Thread Derrick 'dman' Hudson
On Wed, Jun 25, 2003 at 04:18:07PM -0600, Paul E Condon wrote:
| 
| I have ppp connection to my ISP, peakpeak.com.
[...]
| choice 2 in 'eximconfig'

What is the name for that choice?  I no longer have the script (having
removed the old debian exim v3 package ages ago).

[...]
| 1. I can't send email to my wife, and 
| 2. I can't send email to ISP support services,
|   for which the address is [EMAIL PROTECTED]
| 
| I think that these two problems are the result of improper
| configuration of exim.

You are correct.

| Exim seems to be attempting to deliver both
| kinds of email locally rather than sending them out to the smtp
| service at the ISP, and, of course, it can't deliver because neither
| address is known locally.

This is because you told exim that your machine is the handler for
peakpeak.com.

| Am I right about this being an exim config problem? And, 
| what should I change to fix it?

In /etc/exim/exim.conf find where peakpeak.com is referenced.  Remove
those references ;-).

A quick perusal of my old v3 config indicates that the option is named
local_domains.

-D

-- 
Micros~1 :
 For when quality, reliability
  and security just aren't
   that important!
 
http://dman13.dyndns.org/~dman/


pgp0.pgp
Description: PGP signature


need help with exim setup

2003-06-25 Thread Paul E Condon

I have ppp connection to my ISP, peakpeak.com.  I have a LAN for my
wife's iMac and my two Debian machines. All internet traffic goes thru
the single ppp connection. I have set up exim using choise 2 in the
exim config. I use [EMAIL PROTECTED] and my wife uses
[EMAIL PROTECTED]  Email to and from the internet works for both
my wife and I, but ...  

1. I can't send email to my wife, and 
2. I can't send email to ISP support services, 
for which the address is [EMAIL PROTECTED]  

I think that these two problems are the result of improper
configuration of exim. Exim seems to be attempting to deliver both
kinds of email locally rather than sending them out to the smtp
service at the ISP, and, of course, it can't deliver because neither
address is known locally. For my wife, I wouldn't mind having local
delivery, but for the ISP's support, I definitely need to send the
mail off site.

Am I right about this being an exim config problem? And, 
what should I change to fix it?

TIA

PS Why email my wife? We do talk to each other, but stuff about
software updates for the iMac come to me, and forwarding the email to
her would be a reliable way to get hot-links onto the iMac.

-- 
Paul E Condon   
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: New exim setup (and exim 4?)

2003-03-20 Thread Derrick 'dman' Hudson
On Fri, Mar 14, 2003 at 07:23:21AM -0800, Bill Moseley wrote:
| I'm moving from a sendmail mail server to a Woody based exim setup.
| I am an Exim beginner, so I'm trying to get prepared for the move.  Any
| tips or pointers to HOWTOs would be appreciated.
| 
| Should I stick with Exim 3 or would it be wise to start with Exim 4?
| (I see exim4 is in experimental now.)

Go to version 4.  I don't know how decent the experimental package is,
but the software itself is very stable.  (I started using exim4 around
a year ago and thus had to compile it myself)  While a large portion
of exim3's operation is the same in exim4, much has changed as well.
The configuration is simpler in some areas and much more flexible in
others.  Thus the config file is incompatible, so it is best to start
with the current technology instead of starting with old tools and
then migrating later.

| Do you have a favorite HOWTO for setting up Exim with virtual hosts
| (multiple hosted domains)?  I'm only planning on hosting a small number of
| domains.

Sorry, I haven't done any virtual hosting yet.

| My current sendmail setup does a number of things I'd like to keep.  I
| looking for examples how to do these things with Exim:
| 
| - I use procmail to add an X-Envelope-To: to every incoming message.  Can
| Exim do this for me?  I still want procmail as the local delivery (which
| exim does).

Yes.  (see the 'headers_add' option on routers and transports, or
better yet set 'return_path_add' and receive the typical
Return-Path: header)

| - Some virtual hosts deliver all mail to a single local user except a few
| specific address (e.g. [EMAIL PROTECTED] is delivered to local user foo,
| [EMAIL PROTECTED] gets forwarded to an external address, but all other
| addresses go to local user baz by default).
| 
| - I have other virtual hosts where a bunch of defined addresses get
| aliased to other addresses, but if foo@ is not aliased then it gets
| bounced.
| 
| - And I have one domain where all mail is delivered to one user.  That
| user uses procmail to alias to other accounts (their alias list is updated
| often).  Their procmail script uses the X-Envelope-To: header to determine
| where to forward each message.

I am quite certain all this is possible (it's just a variety of
conditions for choosing which router will handle delivery) but I
haven't implemented this specific configuration.

| One change will be to deliver to maildir instead of mbox,

Easy enough.

| so I can setup IMAP.

IMAP works with maildir, mbox, and a variety of other formats too
(wholly dependant on the imap server you choose)

| I need to review the recent thread on Building an IMAP server to
| see which one to install (Cyrus or Courier-imap).

Well, cyrus doesn't use maildir.  It uses its own database or
database-like format.  Nonetheless cyrus does work with exim.

| My current plan is to not allow any remote imap connections, but maybe ssl
| based webmail.

Sure, if that's what you want.

-D

-- 
If we claim we have not sinned, we make Him out to be a liar and His
Word has no place in our lives.
I John 1:10
 
http://dman.ddts.net/~dman/


pgp0.pgp
Description: PGP signature


New exim setup (and exim 4?)

2003-03-14 Thread Bill Moseley
I'm moving from a sendmail mail server to a Woody based exim setup.
I am an Exim beginner, so I'm trying to get prepared for the move.  Any
tips or pointers to HOWTOs would be appreciated.

Should I stick with Exim 3 or would it be wise to start with Exim 4?
(I see exim4 is in experimental now.)

Do you have a favorite HOWTO for setting up Exim with virtual hosts
(multiple hosted domains)?  I'm only planning on hosting a small number of
domains.

My current sendmail setup does a number of things I'd like to keep.  I
looking for examples how to do these things with Exim:

- I use procmail to add an X-Envelope-To: to every incoming message.  Can
Exim do this for me?  I still want procmail as the local delivery (which
exim does).

- Some virtual hosts deliver all mail to a single local user except a few
specific address (e.g. [EMAIL PROTECTED] is delivered to local user foo,
[EMAIL PROTECTED] gets forwarded to an external address, but all other
addresses go to local user baz by default).

- I have other virtual hosts where a bunch of defined addresses get
aliased to other addresses, but if foo@ is not aliased then it gets
bounced.

- And I have one domain where all mail is delivered to one user.  That
user uses procmail to alias to other accounts (their alias list is updated
often).  Their procmail script uses the X-Envelope-To: header to determine
where to forward each message.


One change will be to deliver to maildir instead of mbox, so I can setup
IMAP.  I need to review the recent thread on Building an IMAP server to
see which one to install (Cyrus or Courier-imap).

My current plan is to not allow any remote imap connections, but maybe ssl
based webmail.




-- 
Bill Moseley [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: New exim setup (and exim 4?)

2003-03-14 Thread Ernst-Magne Vindal
On Fri, 2003-03-14 at 16:23, Bill Moseley wrote:
 I'm moving from a sendmail mail server to a Woody based exim setup.
 I am an Exim beginner, so I'm trying to get prepared for the move.  Any
 tips or pointers to HOWTOs would be appreciated.
 
 Should I stick with Exim 3 or would it be wise to start with Exim 4?
 (I see exim4 is in experimental now.)
 
 Do you have a favorite HOWTO for setting up Exim with virtual hosts
 (multiple hosted domains)?  I'm only planning on hosting a small number of
 domains.
 
 My current sendmail setup does a number of things I'd like to keep.  I
 looking for examples how to do these things with Exim:
 
 - I use procmail to add an X-Envelope-To: to every incoming message.  Can
 Exim do this for me?  I still want procmail as the local delivery (which
 exim does).
 
 - Some virtual hosts deliver all mail to a single local user except a few
 specific address (e.g. [EMAIL PROTECTED] is delivered to local user foo,
 [EMAIL PROTECTED] gets forwarded to an external address, but all other
 addresses go to local user baz by default).
 
 - I have other virtual hosts where a bunch of defined addresses get
 aliased to other addresses, but if foo@ is not aliased then it gets
 bounced.
 
 - And I have one domain where all mail is delivered to one user.  That
 user uses procmail to alias to other accounts (their alias list is updated
 often).  Their procmail script uses the X-Envelope-To: header to determine
 where to forward each message.
 
 
 One change will be to deliver to maildir instead of mbox, so I can setup
 IMAP.  I need to review the recent thread on Building an IMAP server to
 see which one to install (Cyrus or Courier-imap).
 
 My current plan is to not allow any remote imap connections, but maybe ssl
 based webmail.
 
 
 
 
 -- 
 Bill Moseley [EMAIL PROTECTED]


for a start you could take a look at
http://dman.ddts.net/~dman/config_docs/exim4_spamassassin.html
and ofcourse the man pages:) and probably localhost/doc/exim.

-- 
Mvh
Ernst-Magne Vindal
[EMAIL PROTECTED]

Please include the original message in Reply


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: New exim setup (and exim 4?)

2003-03-14 Thread Ernst-Magne Vindal
On Fri, 2003-03-14 at 16:23, Bill Moseley wrote:
 I'm moving from a sendmail mail server to a Woody based exim setup.
 I am an Exim beginner, so I'm trying to get prepared for the move.  Any
 tips or pointers to HOWTOs would be appreciated.
 
 Should I stick with Exim 3 or would it be wise to start with Exim 4?
 (I see exim4 is in experimental now.)
 
 Do you have a favorite HOWTO for setting up Exim with virtual hosts
 (multiple hosted domains)?  I'm only planning on hosting a small number of
 domains.
 
 My current sendmail setup does a number of things I'd like to keep.  I
 looking for examples how to do these things with Exim:
 
 - I use procmail to add an X-Envelope-To: to every incoming message.  Can
 Exim do this for me?  I still want procmail as the local delivery (which
 exim does).
 
 - Some virtual hosts deliver all mail to a single local user except a few
 specific address (e.g. [EMAIL PROTECTED] is delivered to local user foo,
 [EMAIL PROTECTED] gets forwarded to an external address, but all other
 addresses go to local user baz by default).
 
 - I have other virtual hosts where a bunch of defined addresses get
 aliased to other addresses, but if foo@ is not aliased then it gets
 bounced.
 
 - And I have one domain where all mail is delivered to one user.  That
 user uses procmail to alias to other accounts (their alias list is updated
 often).  Their procmail script uses the X-Envelope-To: header to determine
 where to forward each message.
 
 
 One change will be to deliver to maildir instead of mbox, so I can setup
 IMAP.  I need to review the recent thread on Building an IMAP server to
 see which one to install (Cyrus or Courier-imap).
 
 My current plan is to not allow any remote imap connections, but maybe ssl
 based webmail.
 
 
 
 
 -- 
 Bill Moseley [EMAIL PROTECTED]


for a start you could take a look at
http://dman.ddts.net/~dman/config_docs/exim4_spamassassin.html
sorry, the link abov is most about spamassassin with exim, but there is a lot of 
documentation at http://www.us.exim.org/
and ofcourse the man pages:) and probably localhost/doc/exim.

-- 
Mvh
Ernst-Magne Vindal
[EMAIL PROTECTED]

Please include the original message in Reply


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: New exim setup (and exim 4?)

2003-03-14 Thread Jason Wojciechowski
Bill Moseley ([EMAIL PROTECTED]) wrote:
 I'm moving from a sendmail mail server to a Woody based exim setup.
 I am an Exim beginner, so I'm trying to get prepared for the move.  Any
 tips or pointers to HOWTOs would be appreciated.

snip

 My current sendmail setup does a number of things I'd like to keep.  I
 looking for examples how to do these things with Exim:

I'm curious whether you have good reasons to move away from sendmail.
The if it ain't broke ... philosophy is probably a good one for
server admin'ing, and since you have a working sendmail setup that you
like, what's wrong with keeping it?

This isn't meant as a challenge or anything, in case it seems to come
across that way.

-- 
Jason Wojciechowski
http://wonka.hampshire.edu/~jason


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: New exim setup (and exim 4?)

2003-03-14 Thread Bill Moseley
On Fri, 14 Mar 2003, Jason Wojciechowski wrote:

 I'm curious whether you have good reasons to move away from sendmail.
 The if it ain't broke ... philosophy is probably a good one for
 server admin'ing, and since you have a working sendmail setup that you
 like, what's wrong with keeping it?

No good reason.

The machine is on its last legs (P90 that's making scary sounds and
leaking some foul smelling liquid) and is running SuSE and I want to move
to Debian.  So good time to switch to Exim.

Why Exim?  Because I want to learn how to use it.

I posted because I'd like focus my time on things I need right away, and
to take advantage of other's experiences.  For example, I don't want to
spend too much time on Exim3 if I soon find out that I need Exim4.  I also
expect my configuration is not that uncommon, so hopefully someone has
notes or a HOWTO floating around.  You know, basic hand-holding when
starting a new project... ;)

-- 
Bill Moseley [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



amavis-ng + exim setup problems

2002-10-09 Thread Gerald Livingston

Installed amavis-ng and did the configs for exim.

Everything works fine (using ~/.procmailrc for final delivery) with the
amavis stuff commented out.

However, when I uncomment my amavis sections in /etc/exim/exim.conf I
get the following error (and no mail delivery):

2002-10-09 17:08:02 Exim configuration error
  director amavis: cannot find director driver pipe in line 278

Here are the amavis sections from exim.conf

##
#  TRANSPORTS CONFIGURATION  #
##
#Amavis scnner transport

#amavis:
#  driver = pipe
#  command = /usr/sbin/amavis -f ${sender_address} -d
#  ${pipe_addresses} prefix =
#  suffix =
#  check_string =
#  escape_string =
# for debugging change return_output to true
#  return_output = false
#  return_path_add = false
#  user = amavis
#  group = amavis
#  path = /bin:/sbin:/usr/bin:/usr/sbin
#  current_directory = /var/amavis
#  headers_add = X-Virus-Scanned: by AMaViS-ng

##
#  DIRECTORS CONFIGURATION   #
# Specifies how local addresses are handled  #
##

#amavis_director:
#  condition = ${if eq {$received_protocol}{scanned-ok} {0}{1}}
#  driver = smartuser
#  transport = amavis

##
#  ROUTERS CONFIGURATION #
#Specifies how remote addresses are handled  #
##

#amavis_router:
#  condition = ${if eq {$received_protocol}{scanned-ok} {0}{1}}
#  driver = domainlist
#  route_list = *
#  transport = amavis

Any ideas?

G

-- 
gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: exim setup

2000-06-05 Thread mcclosk

 Im still working on getting exim working here. I try to telnet
 localhost 25 and I get connection refused. I tried grep smtp
 /etc/inetd.conf and get smtp stream tcp nowait mail /usr/sbin/exim
 exim -bs

 what would keep telnet from conecting?

You can get this behaviour if the loopback device is not configured. I
once accidentally clobbered lo when I changed the network configuration
(to use DHCP) and this was exactly what happened. What do you get if
you do ifconfig?

There should be something like this:

loLink encap:Local Loopback  
  inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
  UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
  RX packets:12301 errors:0 dropped:0 overruns:0 frame:0
  TX packets:12301 errors:0 dropped:0 overruns:0 carrier:0
  Collisions:0 


Jim



Re: exim setup

2000-06-05 Thread Mario Olimpio de Menezes
On Sun, 4 Jun 2000 [EMAIL PROTECTED] wrote:

 
  Im still working on getting exim working here. I try to telnet
  localhost 25 and I get connection refused. I tried grep smtp
  /etc/inetd.conf and get smtp stream tcp nowait mail /usr/sbin/exim
  exim -bs
 
  what would keep telnet from conecting?
 
 You can get this behaviour if the loopback device is not configured. I
 once accidentally clobbered lo when I changed the network configuration
 (to use DHCP) and this was exactly what happened. What do you get if
 you do ifconfig?
 

I'm having this same problem in a fresh installation of potato. I even
have a loopback device with no help. The previous installation, that was
an upgrade, used to work just fine. Then a decided to put another hd and
to test the installation. Everything was OK but exim and consequently,
fetchmail (since there is no response from localhost on port 25).

My exim is configured to send and receive Internet mail (#1 option). 

Any other hint on this?

[]s,
Mario O.de MenezesMany are the plans in a man's heart, but
IPEN-CNEN/SP is the Lord's purpose that prevails
http://curiango.ipen.br/~mario Prov. 19.21
   http://www.revistalinux.com.br



Re: exim setup

2000-06-05 Thread t.bedlam
On Mon, Jun 05, 2000 at 08:49:17AM -0300, Mario Olimpio de Menezes was only 
   escaped alone to tell thee:

 to test the installation. Everything was OK but exim and consequently,
 fetchmail (since there is no response from localhost on port 25).
 
 My exim is configured to send and receive Internet mail (#1 option). 
 
 Any other hint on this?

I remember the exim installation asking if it wished to be run in daemon 
mode (for #2, at least, ISP using mail relay). You should have answered yes 
to this question in eximconfig. I have exim running (I was using sendmail, 
but am experimenting a bit with MTA's) and have noticed it doesn't show up 
in ps ax even in daemon mode.

In the meantime, until you fix this, adding:

mda formail -s procmail

to ~/.fetchmailrc will bypass port 25 and drop it to the MDA directly. With 
no ~/.procmailrc, procmail will put mail in your spool dir as normal, no 
change. If you do normally use procmail to filter and delievr mail, and have 
an rc file, exim will run procmail automagically.

When you get your MTA of choice running, you may then remove the mda line.

-- 
i'm determined to stand, whether god  |=|  [EMAIL PROTECTED]
will deliver me or not. -- bob dylan  |=|  www.cris.com/~bedlam



Exim Setup

2000-06-04 Thread Jay Kelly
Hello Group,
Im still working on getting exim working here. I try to telnet localhost 25
and I get connection refused. I tried grep smtp /etc/inetd.conf and get
smtp stream   tcp  nowait   mail /usr/sbin/exim exim -bs

what would keep telnet from conecting?



Re: Exim Setup

2000-06-04 Thread Jeronimo Pellegrini
:: On Sun, 04 Jun 2000 16:26:04 -0700, Jay Kelly [EMAIL PROTECTED] said:

 Hello Group,
 Im still working on getting exim working here. I try to telnet localhost 25
 and I get connection refused. I tried grep smtp /etc/inetd.conf and get
 smtp stream   tcp  nowait   mail /usr/sbin/exim exim -bs

 what would keep telnet from conecting?

How did you configure exim when you installed it? You may want to run
eximconfig again...

J.

-- 
Jeronimo Pellegrini
Institute of Computing - Unicamp - Brazil
http://www.ic.unicamp.br/~jeronimo
mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]



Re: multihost exim setup (general MTA question I guess)

1999-09-21 Thread Jonathan Lupa
Unfortunately, I'm not 100% resolved.  Thanks for the help, though!!!

On Mon, Sep 20, 1999 at 10:18:30PM +1000, Mark M wrote:
 On Sat, Sep 18, 1999 at 12:44:15AM -0400, Jonathan Lupa wrote:
  qualify_domain = JJLNet
 You may want to also have (I think)
 qualify_domain = Sith.JJLNet
 qualify_recipient = Sith.JJLNet

OK, I did those.  I agree: the qualification is good.

  local_domains = localhost:JJLNet:Sith:Rankor:Rankor.JJLNet
 you could say (without expanding the star yourself)
 local_domains = localhost:*.JJLNet

I actually changed this to :
local_domains = localhost:Sith:Sith.JJLNet

My reasoning is that mail addressed to [EMAIL PROTECTED] can then be
passed on through a route (which is necessary if I am to
get that info to my workstation anyway)... more on this in
a second...

  sender_net_accept_relay = 192.168.2.0/24
 I assume you meant that and didn't miss-type 192.168.1.0 :)

yep, for the record, I run on 192.168.2.* =)

  I suspect what I have to do here is actually add some rewrite code
  to the exim.conf to get the envelope headers. =/
 
 Yep, your right
 [EMAIL PROTECTED] [EMAIL PROTECTED] F
 as we need to rewrite the From field as opposed to the From: field!

OK, now comes the problems

I can get the rewrite rules to work correctly, but I can't have them
only apply to a certain route/transport/etc... I guess this is kind
of a triviality, but the upshoot is that all local mail is rewritten.
(I would prefer the From field stay intact as to know which machine
that cron message came from.)

Is there a way to keep rewrites from happening on certain routes or
transports?  I saw an option for directors but since they only apply
to local mail I don't think it will help me.

 Depends how fetchmail is set up I guess.snip

I'm miscommunicating.  I can get fetchmail to bring the mail to
localhost:25.  Its getting exim to move it correctly that I can't
do. I guess it is possible that I can't move mail coming into
localhost:25 with a header match on [EMAIL PROTECTED] off to 
Rankor, in which case I have to rethink my strategy. =(

 then you would use in a .forward file: snip

Here's my issue.  If I have a forward file, exim still needs to be
able to route the mail to the host listed in the forward file. So
presumably, I need another router command than the smarthost.
As long as I am setting up a non-smarthost route, I should be able
to move all incoming mail through that route, and outgoing mail
to that route if it matches a [EMAIL PROTECTED] type pattern

What I setup and doesn't work is:

rankor_route:
driver = domainlist
#local_smtp just specifies smtp as the driver
transport = local_smtp
route_list = [EMAIL PROTECTED] rankor.JJLNet byname;\
[EMAIL PROTECTED] rankor.JJLNet byname

The fact is, I am bumbling around with this router stuff and am
probably doing this just plain wrong.  Its possible I want to
treat Rankor as part of the local domains and not route it at 
all, but then I don't know how I would get the mail from 
Sith:25 to Rankor:25. If there is a director that would do
this for me, I'm in. I just don't know what that would be.

TIA!

-Jonathan
--
[EMAIL PROTECTED]



Re: multihost exim setup (general MTA question I guess)

1999-09-20 Thread Mark M

On Sat, Sep 18, 1999 at 12:44:15AM -0400, Jonathan Lupa wrote:

 Both are running slink, server does a DNS for JJLNet, any my ISP gives me 1
   ^
OK, I'm currently running the next release of Exim and the conf file
was changed slightly but that didn't seem to cause you a problem...

 Here is My /etc/exim.conf file for the server (edited as per your email)
 --
 # MAIN CONFIGURATION SETTINGS
 qualify_domain = JJLNet

You may want to also have (I think)

qualify_domain = Sith.JJLNet

qualify_recipient = Sith.JJLNet

so that if say cron mails root, then the mail will end up at
[EMAIL PROTECTED] (or whatever account root is redirected to)

 local_domains = localhost:JJLNet:Sith:Rankor:Rankor.JJLNet

you could say (without expanding the star yourself)

local_domains = localhost:*.JJLNet

 local_domains_include_host = true
 local_domains_include_host_literals = true
 host_lookup_nets = 0.0.0.0/0
 sender_net_accept_relay = 192.168.2.0/24
^
I assume you meant that and didn't miss-type 192.168.1.0 :)

 
 PROBLEM #1. When I try to send mail out through the ISP, the address
 Isn't getting rewritten correctly. Its getting sent through remote_smtp,
 and you can see that that guy should go through /usr/bin/outfilt (from
 the posted URL). I've included the outfilt just below, and have tested it
 by redirecting a fake peice of mail through there: It seems to work by
 hand... I suspect what I have to do here is actually add some rewrite code
 to the exim.conf to get the envelope headers. =/

Yep, your right

[EMAIL PROTECTED] [EMAIL PROTECTED] F
 ^  
as we need to rewrite the From field as opposed to the From: field!

This is assuming you added qualify_recipient = Sith.JJLNet to exim.conf

If you don't add this, then I guess it would be 
[EMAIL PROTECTED] [EMAIL PROTECTED] F

 PROBLEM #2. You'll notice that I havent tackled the transport of local mail
 to the workstation yet.  That is the last part of the puzzle.  I need to
 get the mail from the server to the workstation (possibly with a .forward).
 Does anyone know the best way to handle this? It is starting to look to me
 like I just need to setup the server to route all mail directed to
 [EMAIL PROTECTED] to the workstation, and have the workstation exim
 handle it from there. (The server can act as the workstations smarthost
 in that configuration, I think). 

Depends how fetchmail is set up I guess. If you have something like:
user jjlupa is jon here

then you would use in a .forward file:

if $header_to: contains [EMAIL PROTECTED] or
   $header_to: contains [EMAIL PROTECTED]
then deliver [EMAIL PROTECTED]
endif

and read it locally at Rankor. MS-Win users can get the mail from a 
POP3 daemon on Sith.JJLNet (or what other mail server you like).

 handle it from there. (The server can act as the workstations smarthost
 in that configuration, I think).
Yes.

PS. stumpel.html deals with the case of a network where many users use
one email account. If that is not required, you could do away with the
outfilt stuff and just have this rewrite rule:

[EMAIL PROTECTED] [EMAIL PROTECTED] bcfrFs
  ^^ again, depending on qualify recipient etc.

HTH,

Mark


Re: multihost exim setup (general MTA question I guess)

1999-09-18 Thread Mark M
Hi,

On Wed, Sep 15, 1999 at 10:53:54PM -0400, Jonathan Lupa wrote:
 OK, this is pretty complicated to me, so the chance of me misspeaking is
 large. 

I'm no expert, so the same goes for me.
 
 What I want is the server to do the fetchmail durring ip-up and ip-down.
 That mail getting delivered to the servers MTA, and then the servers MTA
 to be smart enough to deliver appropriate mail to the workstation. Also,

Try using this in the servers exim.conf:

local_domains = *.mynetwork

 I need outbound mail on the workstation to keep going (maybe send it off
 to the server where it is spooled until ip-up, when it gets send out.

host_accept_relay = *.mynetwork   (again, in server's exim.comf)

As far as I understand what your after, you then want to run exim.conf
on your workstation and set it up as a `sattelite' system, so that
outgoing messages are sent to your server (this will also rewrite the
headers to say they are from server.mynetwork).

Also, you may want to read

http://www.linuxgazette.com/issue42/stumpel.html

I have rewritten the `outfilt' script that this URL talks about so that
the From: field is obtained from an email-alias file (clobbering the mail
reader's aliasmyaddr to guard against accidental changes). Also, the 
CC:'s and To: headers processing is a little more sophisticated to
ensure it will work under a variety of conditions. I will stick it on the 
web in a few days if anyone is interested.

HTH,

Mark.


Re: multihost exim setup (general MTA question I guess)

1999-09-18 Thread Mark M
Whoops, should have said

local_domains = localhost:*.mynetwork 

in server's exim.conf

Cheers,

Mark.


multihost exim setup (general MTA question I guess)

1999-09-16 Thread Jonathan Lupa
OK, this is pretty complicated to me, so the chance of me misspeaking is
large. My basic setup is a small home network sitting behind a slink box
using ppp to talk to my ISP. Also of interest is part of my home network
which is a slink box setup as my workstation.

Currently, I manually run fetchmail on the workstation to retr mail from
my ISP directly to my workstation. (Outbound works fine right now also).

What I want is the server to do the fetchmail durring ip-up and ip-down.
That mail getting delivered to the servers MTA, and then the servers MTA
to be smart enough to deliver appropriate mail to the workstation. Also,
I need outbound mail on the workstation to keep going (maybe send it off
to the server where it is spooled until ip-up, when it gets send out.

Does anyone have eximrc's that demonstrate this kind of thing? I'm kinda
nervous about breaking my email (the one part of my system that I really
depend on).

Thanks All!

-Jonathan Lupa
--
[EMAIL PROTECTED]


help with EXIM setup

1999-01-20 Thread Mark Herrick
Can anyone point me in the direction of a setup guide for Exim MTA? I'm
wanting to set up a simple mail system for 1 or 2 users using a dial up
connection, with mail delivered to my system via SMTP from my ISP. However,
I'm completely new to MTA's, and find the 250 page Exim Spec a bit daunting!

TIA
--
Mark Herrick


Re: help with EXIM setup

1999-01-20 Thread Michael Lea
At 10:46 AM 1/20/99 +, you wrote:
Can anyone point me in the direction of a setup guide for Exim MTA? I'm
wanting to set up a simple mail system for 1 or 2 users using a dial up
connection, with mail delivered to my system via SMTP from my ISP. However,
I'm completely new to MTA's, and find the 250 page Exim Spec a bit daunting!

I just did this last night, and I mainly used the TeXinfo file...so 'info
exim' at a
prompt.  Lots of good information in there, and since it is hypertext it is
easy
to find what you want.




Re: help with EXIM setup

1999-01-20 Thread James Dietrich
On Wed, Jan 20, 1999 at 09:09:30AM -0500, Michael Lea wrote:
 At 10:46 AM 1/20/99 +, you wrote:
 Can anyone point me in the direction of a setup guide for Exim MTA? I'm
 wanting to set up a simple mail system for 1 or 2 users using a dial up
 connection, with mail delivered to my system via SMTP from my ISP. However,
 I'm completely new to MTA's, and find the 250 page Exim Spec a bit daunting!
 
 I just did this last night, and I mainly used the TeXinfo file...so 'info
 exim' at a
 prompt.  Lots of good information in there, and since it is hypertext it is
 easy
 to find what you want.

Check out
http://www.math.jhu.edu/~martind/debian/myexim.html
I found it to be invaluable as I was setting up exim on my box.

HTH,
James


Exim setup

1997-12-16 Thread Randy Edwards
   I recently switched from smail to exim as my MTA in the hopes of getting
something a bit easier to configure and which can more easily handle spam
blocking.  However, I've run into some problems getting exim to process my
local, user-to-user mail.

   I'm using the bogus domain name of golgotha.net with a bogus machine
name of spartacus.golgotha.net.  My internet access is through my ISP
which is together.net.  The problem I'm having is that my local mail (i.e.
from user to user on this machine) is being sent out to my ISP.  If someone
could take a look at the below config and spot any mistakes I'd greatly
appreciate it.

# This is the main exim configuration file.
# It was originally generated by `eximconfig', part of the exim package
# distributed with Debian, but it may edited by the mail system administrator.
# This file originally generated by eximconfig at Thu Dec 13 17:54:43 EST 1997
# See exim info section for details of the things that can be configured here.
# General configuration here, such as local domains


qualify_domain = golgotha.net
local_domains = golgotha.net

local_domains_include_host = true
local_domains_include_host_literals = true
never_users = root
trusted_users = mail
gecos_pattern = ^([^,:]*)
gecos_name = $1

received_header_text = Received: \
  ${if def:sender_fullhost {from ${sender_fullhost} \
  ${if def:sender_ident {(${sender_ident})}}\n\t}\
  {${if def:sender_ident {from ${sender_ident} \
  by ${primary_hostname} \
  ${if def:received_protocol {with ${received_protocol}}} \
  (Exim ${version_number} #${compile_number})\n\t\
  id ${message_id} (Debian)
end

##
#  TRANPORTS CONFIGURATION   #
##

local_delivery:
  driver = appendfile;
  group = mail
  mode = 0660
  file = /var/spool/mail/${local_part}

address_pipe:
  driver = pipe;

address_file:
  driver = appendfile

address_reply:
  driver = autoreply


 # General configuration for SMTP delivery
smtp:
  driver = smtp;


end

##
#  DIRECTORS CONFIGURATION   #
##


real_local:
  prefix = real-,
  driver = localuser,
  transport = local_delivery;


system_aliases:
  driver = aliasfile;
  file = /etc/aliases,
  search_type = lsearch
# user = list
# Uncomment the above line if you are running smartlist

userforward:
  no_verify,
  driver = forwardfile;
  file = .forward,
  modemask = 002,
  filter


smart:
  driver = smartuser;
  new_address = [EMAIL PROTECTED]


end

##
#  ROUTERS CONFIGURATION #
##


smarthost:
  driver = domainlist,
  transport = smtp;
  route_list = * together.net bydns_a

end

##
#  RETRY CONFIGURATION   #
##

# Domain   Error   Retries
# --   -   ---

*  *   F,2h,15m; G,16h,2h,1.5; F,4d,8h

end

##
#  REWRITE CONFIGURATION #
##

# These rewriters make sure the mail messages appear to have originated
# from the real mail-reading host.

^(root|postmaster|mailer-daemon)@spartacus.golgotha.net [EMAIL PROTECTED] Ffr
[EMAIL PROTECTED] [EMAIL PROTECTED] Ffr
[EMAIL PROTECTED] [EMAIL PROTECTED] Ffr


# End of Exim configuration file

 Regards, | Debian GNU/ __  o
 .|/ / _  _  _  _  _ __  __
 Randy|   / /__  / / / \// //_// \ \/ /
 ([EMAIL PROTECTED])  |  // /_/ /_/\/ /___/  /_/\_\
  |  ...because lockups are for convicts...



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .