exim4 upgrade warning DEBCONFsomethingDEBCONF found in exim configuration fix

2008-09-28 Thread Ryan Nowakowski
I stumbled across this while upgrading to testing an thought it might
be useful for others.  If you see this when upgrading exim4-config:

 DEBCONFsomethingDEBCONF found in exim configuration. This is most probably 
 caused by you upgrading to exim4 4.67-3 or later without accepting the 
 suggested conffile changes. Please read 
 /usr/share/doc/exim4-config/NEWS.Debian.gz for 4.67-2 and 4.67-4

...remove all *.dpkg-old files under your /etc/exim4/conf.d/ directory.
Then re-run update-exim4.conf.  That should get rid of the warning.

- Ryan


signature.asc
Description: Digital signature


sa-exim configuration

2005-11-02 Thread Aaron Stromas
Hi,

My SA-exim seem to run but does let spam through. From the headers it seem sa-exim simply does not scan mail:

X-SA-Exim-Connect-IP: 80.108.137.150X-SA-Exim-Mail-From: 
[EMAIL PROTECTED]X-SA-Exim-Scanned: No (on localhost.localdomain); SAEximRunCond expanded to false
Any suggestions why it doesn't scan it? According to instructions in the package it
should run out-of-the-box, as long as spamd is up, which it it. TIA,

-a


Re: sa-exim configuration

2005-11-02 Thread Aaron Stromas

On 11/2/05, Aaron Stromas [EMAIL PROTECTED] wrote:

Hi,

My SA-exim seem to run but does let spam through. From the headers it seem sa-exim simply does not scan mail:

X-SA-Exim-Connect-IP: 80.108.137.150X-SA-Exim-Mail-From:
 [EMAIL PROTECTED]
X-SA-Exim-Scanned: No (on localhost.localdomain); SAEximRunCond expanded to false
Any suggestions why it doesn't scan it? According to instructions in the package it
should run out-of-the-box, as long as spamd is up, which it it. TIA,

-a
Never mind, I see that SAEximRunCond=0 in sa-exim.conf

-a


Re: simple exim configuration

2005-09-04 Thread Paul Scott
On Sat, Sep 03, 2005 at 10:23:07PM -0700, Steve Lamb wrote:
 [EMAIL PROTECTED] wrote:
  I seem to have gotten most important things to work.  One thing I 
  miss that I need is a quick way to set the From: field since I 
  have three different email addresses that I send messages from.
...
 
 Ungh, one of the most bass-ackwards things that test mailers still cling
 to after two decades.  The antiquated notion that people want to merge all
 their mail from different addresses into a single stream only to jump through
 a dozen or so hoops to split it back out.  Whole reason I don't use mutt.  I'm
 not keen on setting folder-hooks for every folder I ever create without a
 single notion of inheritance of settings.  Even worse is trying to keep all
 the outbound mail separate.  *shudder*
 
 Seriously, what problems are you having with TBird?  Let's get that
 running so you don't have to suffer the horrors of an MUA stuck in the 1990s.

This just appeared after upgrading some other packages on my sid desktop.  
After starting TBird from either menu or command line 'ps' says it's running 
but it never appears.

The other reason I'm solving these problems is that I have a very slow laptop 
that I read my mail with when I'm away from home and TBird is much too slow 
there.
 
  Another important feature that I haven't found yet is a good way 
  to filter messages automatically.  It looks like the 'mailbox' is
  part of the answer.
 
 Mutt doesn't filter.  Exim does.  Ignore the inevitable procmail rawks!
 people who spawn from the woodwork any time mutt and filter are uttered in
 the same message together.  Exim filters.  Exim's filter language doesn't look
 like line noise from a 9600 USRobotics on a phone line routed through Pango
 Pango.  Why run an additional program when then MTA does it just fine?
 
 Peruse exim.org's documentation, esp. the portion marked filter
 specification.  I use Exim's filtering here because Thunderbird does not
 filter IMAP accounts.  :(

Thanks.  I'll check that out.  I do actually plan to set up an IMAP server 
at home when I have time.  Right now the port forwarding on my DSL modem/router 
is not working.  (I just tried to set it up earlier today).

Thanks,

-- 
Paul


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



Re: simple exim configuration

2005-09-04 Thread paslist
On Sat, Sep 03, 2005 at 10:57:47PM -0700, Paul Scott wrote:
 On Sat, Sep 03, 2005 at 10:23:07PM -0700, Steve Lamb wrote:
  
  Seriously, what problems are you having with TBird?  Let's get that
  running so you don't have to suffer the horrors of an MUA stuck in the 
  1990s.
 
 This just appeared after upgrading some other packages on my sid desktop.  
 After starting TBird from either menu or command line 'ps' says it's running 
 but it never appears.

BTW I tried KMail and it wouldn't start either.

-- 
Paul


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



Re: simple exim configuration

2005-09-03 Thread Simo PW Kauppi
On Fri, Sep 02, 2005 at 06:44:17PM -0700, Paul Scott wrote:
 On Fri, Sep 02, 2005 at 11:29:14PM +0300, Simo PW Kauppi wrote:
 
  It is probably so that your own box tries to deliver the message to
  [EMAIL PROTECTED] and fails. Then it sends the failure to the sender
  which in this case is [EMAIL PROTECTED] which should also fail
  because it shouldn't go to the smarthost either.
 
  Try removing the ultrasw.com from the dc_other_hostnames list.
 
 Now I get no feedback on test messages but they're not getting through either.
 I will try to send this as a test and I will also send it by webmail.
 
 Thanks for reminding me about mainlog.  I'm also getting a lot of these
 which may be from a bad fetchmail config.
 
 2005-09-02 18:32:29 1EBMtO-0007uZ-9Q == [EMAIL PROTECTED] R=smarthost 
 T=remote_smtp_smarthost def\
 er (0): SMTP error from remote mail server after MAIL FROM:[EMAIL 
 PROTECTED] SIZE=2875: host \
 mail.ultrasw.com [66.181.240.7]: 451 4.7.0 Could not identify sender - DNS 
 error 9002
 
 
 Thanks,
 
 Paul

Now it seems that exim sends the mail to smarthost eventhough the mail
is from fetchmail and is meant for you.

What is your fetchmailrc like?

Mine is like this:
poll incoming.myisp.com
user username_in_isp
password secret
is username_local_user

Also make sure that your /etc/mailname is set correctly. I have
something.myisp.com (where something is the dynamic part of my FQDN)
as the mailname and I also have that in the dc_other_hostnames list.

I guess the main problem here is the name of your machine.

See also the question G11 in /usr/share/doc/fetchmail/fetchmail-FAQ.html.

Simo


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



Re: Re: simple exim configuration

2005-09-03 Thread Paul Scott
From: Simo PW Kauppi [mailto:[EMAIL PROTECTED]

 On Fri, Sep 02, 2005 at 06:44:17PM -0700, Paul Scott wrote:
  Thanks for reminding me about mainlog.  I'm also getting a lot of these
  which may be from a bad fetchmail config.
  
  2005-09-02 18:32:29 1EBMtO-0007uZ-9Q == [EMAIL PROTECTED] R=smarthost 
  T=remote_smtp_smarthost def\
  er (0): SMTP error from remote mail server after MAIL FROM:[EMAIL 
  PROTECTED] SIZE=2875: host \
  mail.ultrasw.com [66.181.240.7]: 451 4.7.0 Could not identify sender - DNS 
  error 9002
 
 Now it seems that exim sends the mail to smarthost eventhough the mail
 is from fetchmail and is meant for you.

I have been looking for documentation thats tells me more about how this all 
works and have not been completely successful.  If I send a test message to my 
email address I want exim to send it to my ISP and then fetchmail to retrieve 
it.  If I send a message to debian-user I want exim to send it to debian-user.
 
 What is your fetchmailrc like?
# Configuration created Thu Dec 19 13:49:58 2002 by fetchmailconf
set postmaster paul
set bouncemail
set no spambounce
set properties 
set daemon 1
poll ultrasw.com via mail.ultrasw.com
 with proto POP3
   user 'waterhorse' there with password 'secret' is 'waterhorse' here 
options fetchall
#user 'paslist' there with password 'secret' is 'paslist' here options 
fetchall
user 'pslist' there with password 'secret' is 'pslist' here options fetchall

I have three mailboxes.  I have stopped fetching mail from the one that is 
subscribed to debian-user so I can maintain a proper thread.

I now remember that I may have changed the 'is' values to my login name here 
when I was working on this same problem on my laptop.  I will change the is' 
values now.
 
 Mine is like this:
 poll incoming.myisp.com
 user username_in_isp
 password secret
 is username_local_user
 
 Also make sure that your /etc/mailname is set correctly. I have
 something.myisp.com (where something is the dynamic part of my FQDN)
 as the mailname and I also have that in the dc_other_hostnames list.
 
 I guess the main problem here is the name of your machine.

/etc/mailname is blank.  Do you mean that I should use mail.ultrasw.com ?
 
 See also the question G11 in /usr/share/doc/fetchmail/fetchmail-FAQ.html.

I don't quite know what to do with that information.  I understand that the 
last paragraph refers to something I have been told about but don't know what 
to do about.

Thanks,

Paul




Re: Re: simple exim configuration

2005-09-03 Thread Simo PW Kauppi
On Sat, Sep 03, 2005 at 12:20:11AM -0700, Paul Scott wrote:
 From: Simo PW Kauppi [mailto:[EMAIL PROTECTED]
 
  On Fri, Sep 02, 2005 at 06:44:17PM -0700, Paul Scott wrote:
   Thanks for reminding me about mainlog.  I'm also getting a lot of these
   which may be from a bad fetchmail config.
   
   2005-09-02 18:32:29 1EBMtO-0007uZ-9Q == [EMAIL PROTECTED] R=smarthost 
   T=remote_smtp_smarthost def\
   er (0): SMTP error from remote mail server after MAIL FROM:[EMAIL 
   PROTECTED] SIZE=2875: host \
   mail.ultrasw.com [66.181.240.7]: 451 4.7.0 Could not identify sender - 
   DNS error 9002
  
  Now it seems that exim sends the mail to smarthost eventhough the mail
  is from fetchmail and is meant for you.
 
 I have been looking for documentation thats tells me more about how this all 
 works and have not been completely successful.  If I send a test message to 
 my email address I want exim to send it to my ISP and then fetchmail to 
 retrieve it.  If I send a message to debian-user I want exim to send it to 
 debian-user.
  
  What is your fetchmailrc like?
 # Configuration created Thu Dec 19 13:49:58 2002 by fetchmailconf
 set postmaster paul
 set bouncemail
 set no spambounce
 set properties 
 set daemon 1
 poll ultrasw.com via mail.ultrasw.com
  with proto POP3
user 'waterhorse' there with password 'secret' is 'waterhorse' here 
 options fetchall
 #user 'paslist' there with password 'secret' is 'paslist' here options 
 fetchall
 user 'pslist' there with password 'secret' is 'pslist' here options 
 fetchall
 
 I have three mailboxes.  I have stopped fetching mail from the one that is 
 subscribed to debian-user so I can maintain a proper thread.
 
 I now remember that I may have changed the 'is' values to my login name here 
 when I was working on this same problem on my laptop.  I will change the is' 
 values now.

The is value should be your local username i.e. in your case I guess
'paul' in all three accounts (if you want all three accounts to deliver
mail to user 'paul').

  Mine is like this:
  poll incoming.myisp.com
  user username_in_isp
  password secret
  is username_local_user
  
  Also make sure that your /etc/mailname is set correctly. I have
  something.myisp.com (where something is the dynamic part of my FQDN)
  as the mailname and I also have that in the dc_other_hostnames list.
  
  I guess the main problem here is the name of your machine.
 
 /etc/mailname is blank.  Do you mean that I should use mail.ultrasw.com ?

No, the /etc/mailname is used to resolve the domain part of the email
address. If you send mail to e.g. paul (without any @something), then
whatever is in your /etc/mailname is appended to the username with @.

  See also the question G11 in /usr/share/doc/fetchmail/fetchmail-FAQ.html.
 
 I don't quite know what to do with that information.  I understand that the 
 last paragraph refers to something I have been told about but don't know what 
 to do about.

It describes the problem about the name resolving. I.e. when your exim
sends the mail to the smarthost, it must tell the smarthost where the
connection is coming from. More often than not, the name must match the
the name which the smarthost gets when doing the reverse DNS.

I'm not sure, but I think the exim uses the /etc/mailname to tell the
smarthost where the mail is coming from.

In exim4-config the /etc/mailname is called visible_name (if I recall
correctly).

 Thanks,
 
 Paul

After fixing the is-parameters, you could try to set the visible_name to
'localhost' and check the exim log for the results.

Simo


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



Re: Re: Re: simple exim configuration

2005-09-03 Thread Paul Scott
From: Simo PW Kauppi [mailto:[EMAIL PROTECTED]
Sent: 9/3/2005 2:20:56 AM
To: debian-user@lists.debian.org
Subject: Re: Re: simple exim configuration

 The is value should be your local username i.e. in your case I guess
 'paul' in all three accounts (if you want all three accounts to deliver
 mail to user 'paul').

done.  This allowed me to send a message to paslist which is not currently 
being read by fetchmail but messages to waterhorse or pslist are frozen along 
with many others.
 
   
   I guess the main problem here is the name of your machine.
  
  /etc/mailname is blank.  Do you mean that I should use mail.ultrasw.com ?
 
 No, the /etc/mailname is used to resolve the domain part of the email
 address. If you send mail to e.g. paul (without any @something), then
 whatever is in your /etc/mailname is appended to the username with @.

So my machine name is 'joy'.  Is that what I should use?
 
   See also the question G11 in /usr/share/doc/fetchmail/fetchmail-FAQ.html.
  
 
 It describes the problem about the name resolving. I.e. when your exim
 sends the mail to the smarthost, it must tell the smarthost where the
 connection is coming from. More often than not, the name must match the
 the name which the smarthost gets when doing the reverse DNS.

How do I know what that would be?  ultrasw.com ?
 
 I'm not sure, but I think the exim uses the /etc/mailname to tell the
 smarthost where the mail is coming from.
 
 In exim4-config the /etc/mailname is called visible_name (if I recall
 correctly).

That's not in any of my exim4 config files except:
conf.d/main/01_exim4-config_listmacrosdefs:.ifndef DC_visiblename
conf.d/main/01_exim4-config_listmacrosdefs:DC_visiblename=DEBCONFvisiblenameDEBCONF
conf.d/main/01_exim4-config_listmacrosdefs:.ifdef DC_visiblename
conf.d/main/01_exim4-config_listmacrosdefs:qualify_domain = DC_visiblename

 
 After fixing the is-parameters, you could try to set the visible_name to
 'localhost' and check the exim log for the results.

Since I am using dpkg-reconfigure where would I change this without interfering 
with debconf?

I have learned about eximon and I have a large number of frozen messages.  Can 
I free them up without losing them?

I found /usr/share/doc/exim4-base/README.Debian.gz and learned to set 
/etc/email-addresses.  Now I can send myself test messages at both addresses 
that fetchmail is currently reading!  I have also just sent a test message 
to another list I am subscribed to!

Now I just need to be able to set the 'From:' address in mutt so I can sent 
messages to lists that need the from address to be different than waterhorse.

Thank you so much for your patience,

Paul





Re: Re: Re: simple exim configuration

2005-09-03 Thread Simo PW Kauppi
On Sat, Sep 03, 2005 at 03:45:52AM -0700, Paul Scott wrote:
 From: Simo PW Kauppi [mailto:[EMAIL PROTECTED]
 Sent: 9/3/2005 2:20:56 AM
 To: debian-user@lists.debian.org
 Subject: Re: Re: simple exim configuration
 
  The is value should be your local username i.e. in your case I guess
  'paul' in all three accounts (if you want all three accounts to deliver
  mail to user 'paul').
 
 done.  This allowed me to send a message to paslist which is not currently 
 being read by fetchmail but messages to waterhorse or pslist are frozen along 
 with many others.
  

I guess the main problem here is the name of your machine.
   
   /etc/mailname is blank.  Do you mean that I should use mail.ultrasw.com ?
  
  No, the /etc/mailname is used to resolve the domain part of the email
  address. If you send mail to e.g. paul (without any @something), then
  whatever is in your /etc/mailname is appended to the username with @.
 
 So my machine name is 'joy'.  Is that what I should use?

It should be the Fully Qualified Domain Name, i.e. something.ultrasw.com

Like I said the problem here is that since you are probably using a
dynamic IP, your FQDN also changes when you get a different IP.

That's why I suggested you try to put 'localhost' in there. The problem
with this might be that your ISP's mail.ultrasw.com does not accept it,
but you can verify that from the exim logfile.

See also the question G11 in 
/usr/share/doc/fetchmail/fetchmail-FAQ.html.
   
  
  It describes the problem about the name resolving. I.e. when your exim
  sends the mail to the smarthost, it must tell the smarthost where the
  connection is coming from. More often than not, the name must match the
  the name which the smarthost gets when doing the reverse DNS.
 
 How do I know what that would be?  ultrasw.com ?

Try nslookup your.ip.address or traceroute your.ip.address

  I'm not sure, but I think the exim uses the /etc/mailname to tell the
  smarthost where the mail is coming from.
  
  In exim4-config the /etc/mailname is called visible_name (if I recall
  correctly).
 
 That's not in any of my exim4 config files except:
 conf.d/main/01_exim4-config_listmacrosdefs:.ifndef DC_visiblename
 conf.d/main/01_exim4-config_listmacrosdefs:DC_visiblename=DEBCONFvisiblenameDEBCONF
 conf.d/main/01_exim4-config_listmacrosdefs:.ifdef DC_visiblename
 conf.d/main/01_exim4-config_listmacrosdefs:qualify_domain = DC_visiblename

It seems to be called System mail name in the dpkg-reconfigure
exim4-config -dialog.

  After fixing the is-parameters, you could try to set the visible_name to
  'localhost' and check the exim log for the results.
 
 Since I am using dpkg-reconfigure where would I change this without 
 interfering with debconf?
 
 I have learned about eximon and I have a large number of frozen messages.  
 Can I free them up without losing them?

I'm sure you can. They should be purged automatically when the setup is
fixed. There seems to be an old thread concerning this:
http://lists.debian.org/debian-user/2004/03/msg00402.html

 I found /usr/share/doc/exim4-base/README.Debian.gz and learned to set 
 /etc/email-addresses.  Now I can send myself test messages at both addresses 
 that fetchmail is currently reading!  I have also just sent a test 
 message to another list I am subscribed to!
 
 Now I just need to be able to set the 'From:' address in mutt so I can sent 
 messages to lists that need the from address to be different than waterhorse.

I use:
set edit_headers
my_hdr From: Me Myself [EMAIL PROTECTED]

 Thank you so much for your patience,
 
 Paul

Simo


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



Re: Re: Re: simple exim configuration

2005-09-03 Thread Paul Scott
On Sat, Sep 03, 2005 at 02:18:20PM +0300, Simo PW Kauppi wrote:
   
   No, the /etc/mailname is used to resolve the domain part of the email
   address. If you send mail to e.g. paul (without any @something), then
   whatever is in your /etc/mailname is appended to the username with @.
 
 That's why I suggested you try to put 'localhost' in there. The problem
 with this might be that your ISP's mail.ultrasw.com does not accept it,
 but you can verify that from the exim logfile.

Apparently setting /etc/email-addresses solves this problem and the G11 
problem.
 
 See also the question G11 in 
 /usr/share/doc/fetchmail/fetchmail-FAQ.html.
  
  I have learned about eximon and I have a large number of frozen messages.  
  Can I free them up without losing them?
 
 I'm sure you can. They should be purged automatically when the setup is
 fixed. There seems to be an old thread concerning this:
 http://lists.debian.org/debian-user/2004/03/msg00402.html

I followed that thread just now and haven't yet discovered how to see 
whether I want to lose those messages.
 
  Now I just need to be able to set the 'From:' address in mutt so I can sent 
  messages to lists that need the from address to be different than 
  waterhorse.
 
 I use:
 set edit_headers
 my_hdr From: Me Myself [EMAIL PROTECTED]

I will try that when I send this.

Thanks again for your help,

Paul


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



simple exim configuration

2005-09-02 Thread Paul Scott
I have read the info file and some man pages and experimented and don't know 
how to  get exim to deliver mail to a remote site.

I am using 'dpkg-reconfigure exim4-config' to configure.  See file below.

My ISP returns:

  [EMAIL PROTECTED]
Unrouteable address

I have an idea that there is something about the other addresses in the header 
that don't match.

Any help, FM's to read would be appreciated.

TIA,

Paul Scott


[EMAIL PROTECTED]:~$ cat /etc/exim4/update-exim4.conf.conf 
# /etc/exim4/update-exim4.conf.conf
#
# Edit this file and /etc/mailname by hand and execute update-exim4.conf
# yourself or use 'dpkg-reconfigure exim4-config'

dc_eximconfig_configtype='smarthost'
dc_other_hostnames='joy:ultrasw.com'
dc_local_interfaces='127.0.0.1'
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='mail.ultrasw.com'
CFILEMODE='644'
dc_use_split_config='true'
dc_hide_mailname='false'
dc_mailname_in_oh='true'




Re: simple exim configuration

2005-09-02 Thread Simo PW Kauppi
On Fri, Sep 02, 2005 at 11:42:57AM -0700, Paul Scott wrote:
 I have read the info file and some man pages and experimented and don't know 
 how to  get exim to deliver mail to a remote site.
 
 I am using 'dpkg-reconfigure exim4-config' to configure.  See file below.
 
 My ISP returns:
 
   [EMAIL PROTECTED]
 Unrouteable address

Are you sure this comes from your ISP?

 I have an idea that there is something about the other addresses in the 
 header that don't match.
 
 Any help, FM's to read would be appreciated.
 
 TIA,
 
 Paul Scott
 
 
 [EMAIL PROTECTED]:~$ cat /etc/exim4/update-exim4.conf.conf 
 # /etc/exim4/update-exim4.conf.conf
 #
 # Edit this file and /etc/mailname by hand and execute update-exim4.conf
 # yourself or use 'dpkg-reconfigure exim4-config'
 
 dc_eximconfig_configtype='smarthost'
 dc_other_hostnames='joy:ultrasw.com'

It seems that you have defined ultrasw.com not to go to the smarthost.
That means that mail adressed to [EMAIL PROTECTED] stays in your own
box. That's ok, if your box really is ultrasw.com which it probably is
not. If you have a dynamic IP, you most likely also have a dynamic FQDN
something.ultrasw.com, which should be among dc_other_hostnames.

 dc_local_interfaces='127.0.0.1'
 dc_readhost=''
 dc_relay_domains=''
 dc_minimaldns='false'
 dc_relay_nets=''
 dc_smarthost='mail.ultrasw.com'
 CFILEMODE='644'
 dc_use_split_config='true'
 dc_hide_mailname='false'
 dc_mailname_in_oh='true'

Simo


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



Re: simple exim configuration

2005-09-02 Thread Paul Scott
On Fri, Sep 02, 2005 at 10:49:29PM +0300, Simo PW Kauppi wrote:
 On Fri, Sep 02, 2005 at 11:42:57AM -0700, Paul Scott wrote:
  I have read the info file and some man pages and experimented and don't 
  know how to  get exim to deliver mail to a remote site.
  
  I am using 'dpkg-reconfigure exim4-config' to configure.  See file below.
  
  My ISP returns:
  
[EMAIL PROTECTED]
  Unrouteable address
 
With my current set up I don't think I can maintain a proper thread.

 Are you sure this comes from your ISP?

Not completely but this was part of the header:

From: Mail Delivery System [EMAIL PROTECTED]@ultrasw.com

([EMAIL PROTECTED] is another of my mailboxes and was apprarently the from 
address for my test message.)

Thanks,

Paul




Re: simple exim configuration

2005-09-02 Thread Simo PW Kauppi
On Fri, Sep 02, 2005 at 01:07:10PM -0700, Paul Scott wrote:
 On Fri, Sep 02, 2005 at 10:49:29PM +0300, Simo PW Kauppi wrote:
  On Fri, Sep 02, 2005 at 11:42:57AM -0700, Paul Scott wrote:
   I have read the info file and some man pages and experimented and don't 
   know how to  get exim to deliver mail to a remote site.
   
   I am using 'dpkg-reconfigure exim4-config' to configure.  See file below.
   
   My ISP returns:
   
 [EMAIL PROTECTED]
   Unrouteable address
  
 With my current set up I don't think I can maintain a proper thread.
 
  Are you sure this comes from your ISP?
 
 Not completely but this was part of the header:
 
 From: Mail Delivery System [EMAIL PROTECTED]@ultrasw.com
 
 ([EMAIL PROTECTED] is another of my mailboxes and was apprarently the from 
 address for my test message.)
 
 Thanks,
 
 Paul

Sorry, I forgot to mention: After you send the message, you can
tail /var/log/exim4/mainlog to see whether the message went to the
smarthost or not.

Simo


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



Re: simple exim configuration

2005-09-02 Thread Simo PW Kauppi
On Fri, Sep 02, 2005 at 01:07:10PM -0700, Paul Scott wrote:
 On Fri, Sep 02, 2005 at 10:49:29PM +0300, Simo PW Kauppi wrote:
  On Fri, Sep 02, 2005 at 11:42:57AM -0700, Paul Scott wrote:
   I have read the info file and some man pages and experimented and don't 
   know how to  get exim to deliver mail to a remote site.
   
   I am using 'dpkg-reconfigure exim4-config' to configure.  See file below.
   
   My ISP returns:
   
 [EMAIL PROTECTED]
   Unrouteable address
  
 With my current set up I don't think I can maintain a proper thread.
 
  Are you sure this comes from your ISP?
 
 Not completely but this was part of the header:
 
 From: Mail Delivery System [EMAIL PROTECTED]@ultrasw.com
 
 ([EMAIL PROTECTED] is another of my mailboxes and was apprarently the from 
 address for my test message.)
 
 Thanks,
 
 Paul

It is probably so that your own box tries to deliver the message to
[EMAIL PROTECTED] and fails. Then it sends the failure to the sender
which in this case is [EMAIL PROTECTED] which should also fail
because it shouldn't go to the smarthost either.

Try removing the ultrasw.com from the dc_other_hostnames list.

Simo


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



Re: simple exim configuration

2005-09-02 Thread Paul Scott
On Fri, Sep 02, 2005 at 11:29:14PM +0300, Simo PW Kauppi wrote:

 It is probably so that your own box tries to deliver the message to
 [EMAIL PROTECTED] and fails. Then it sends the failure to the sender
 which in this case is [EMAIL PROTECTED] which should also fail
 because it shouldn't go to the smarthost either.

 Try removing the ultrasw.com from the dc_other_hostnames list.

Now I get no feedback on test messages but they're not getting through either.
I will try to send this as a test and I will also send it by webmail.

Thanks for reminding me about mainlog.  I'm also getting a lot of these
which may be from a bad fetchmail config.

2005-09-02 18:32:29 1EBMtO-0007uZ-9Q == [EMAIL PROTECTED] R=smarthost 
T=remote_smtp_smarthost def\
er (0): SMTP error from remote mail server after MAIL FROM:[EMAIL PROTECTED] 
SIZE=2875: host \
mail.ultrasw.com [66.181.240.7]: 451 4.7.0 Could not identify sender - DNS 
error 9002


Thanks,

Paul




What is the program to reset Exim configuration??

2004-08-22 Thread Lance Hoffmeyer
It's been a long time but I remember there is a console program that
will ask me a number of quesions about my Exim setup like
Using Smarthost, name of smarthost, etc
What is this program called?
For the life of me I cannot remember.
Lance
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: What is the program to reset Exim configuration??

2004-08-22 Thread Thomas Adam
On Sun, Aug 22, 2004 at 04:43:52PM -0500, Lance Hoffmeyer wrote:
 It's been a long time but I remember there is a console program that
 will ask me a number of quesions about my Exim setup like
 Using Smarthost, name of smarthost, etc
 
 What is this program called?
 
 For the life of me I cannot remember.

eximconfig(for exim3)
dpkg-reconfigure exim4-config (for exim4)

-- Thomas Adam
--
Frankly, Mr. Shankly, since you ask. You are a flatulent pain in 
the arse. -- Morrissey.


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



Re: What is the program to reset Exim configuration??

2004-08-22 Thread Stefan O'Rear
On Sun, Aug 22, 2004 at 04:43:52PM -0500, Lance Hoffmeyer wrote:
 It's been a long time but I remember there is a console program that
 will ask me a number of quesions about my Exim setup like
 Using Smarthost, name of smarthost, etc
 
 What is this program called?
 
 For the life of me I cannot remember.

eximconfig

Is that what you're looking for?

If you're using an ISP-provided email server you will also need fetchmail
and may need a few arcane clauses in your /etc/exim/exim.conf (the Manual
is your Friend).


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



Re: What is the program to reset Exim configuration??

2004-08-22 Thread John Floren
Lance Hoffmeyer wrote:
It's been a long time but I remember there is a console program that
will ask me a number of quesions about my Exim setup like
Using Smarthost, name of smarthost, etc
What is this program called?
For the life of me I cannot remember.
Lance
I believe dpkg-reconfigure exim will do that for you.
Digi
--
http://nuwen.net/~digi/cluster
The most costly of all follies is to believe passionately in the palpably
not true.  It is the chief occupation of mankind.
-- H.L. Mencken
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: webmin-exim configuration problems.

2004-05-24 Thread Jaldhar H. Vyas
On Wed, 19 May 2004, Ralph Crongeyer wrote:

 I see. I wonder if it's too much to ask, if you would post a message
 here when it's finished?


Finally got some time to do it.  But I think I missed todays deadline for
getting into the archive.  If so, it will be in unstable tomorrow.

I've tried a new (to me) technique for detecting which configuration to
use.  I've tested it and I'm pretty sure it works but if you notice
anything, please file a report via the bug tracking system
(http://bugs.debian.org/)

-- 
Jaldhar H. Vyas [EMAIL PROTECTED]
La Salle Debain - http://www.braincells.com/debian/


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



webmin-exim configuration problems.

2004-05-19 Thread Ralph Crongeyer
Hi all,
I have exim4 installed and running fine, I'm using the 
single /etc/exim4/exim4.conf file method of configuration. I have installed 
the webmin-exim package but it's giving me this error:

Unable to find the exim binary or it's configuration file. If Exim is 
installed on your system try the module configuration.

In module configuration I have:

Exim executable /etc/init.d/exim4

Exim configuration file /etc/exim4/exim4.conf

Is this wrong? Or is the package broken?

Ralph

-- 
Linux - to keep you humble.


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



Re: webmin-exim configuration problems.

2004-05-19 Thread Jaldhar H. Vyas
On Wed, 19 May 2004, Ralph Crongeyer wrote:

 Hi all,
 I have exim4 installed and running fine, I'm using the
 single /etc/exim4/exim4.conf file method of configuration. I have installed
 the webmin-exim package but it's giving me this error:

 Unable to find the exim binary or it's configuration file. If Exim is
 installed on your system try the module configuration.

 In module configuration I have:

 Exim executable   /etc/init.d/exim4

 Exim configuration file   /etc/exim4/exim4.conf

 Is this wrong? Or is the package broken?


It's not so much much broken as only designed for exim3.  There is a newer
version that supports both 3 and 4 but I've been sitting on packaging it.
Time to get a move on I suppose.

-- 
Jaldhar H. Vyas [EMAIL PROTECTED]
La Salle Debain - http://www.braincells.com/debian/


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



Re: webmin-exim configuration problems.

2004-05-19 Thread Ralph Crongeyer
I see. I wonder if it's too much to ask, if you would post a message here when 
it's finished?

Anyway, Thanks. At least I know what's wrong.

Ralph 

 On Wed, 19 May 2004, Ralph Crongeyer wrote:
  Hi all,
  I have exim4 installed and running fine, I'm using the
  single /etc/exim4/exim4.conf file method of configuration. I have
  installed the webmin-exim package but it's giving me this error:
 
  Unable to find the exim binary or it's configuration file. If Exim is
  installed on your system try the module configuration.
 
  In module configuration I have:
 
  Exim executable /etc/init.d/exim4
 
  Exim configuration file /etc/exim4/exim4.conf
 
  Is this wrong? Or is the package broken?

 It's not so much much broken as only designed for exim3.  There is a newer
 version that supports both 3 and 4 but I've been sitting on packaging it.
 Time to get a move on I suppose.

 --
 Jaldhar H. Vyas [EMAIL PROTECTED]
 La Salle Debain - http://www.braincells.com/debian/

-- 
Linux - to keep you humble.


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



Re: webmin-exim configuration problems.

2004-05-19 Thread Ping Wing

 In module configuration I have:
 
 Exim executable   /etc/init.d/exim4

this souhld be /usr/sbin/exim or something..

cheers,
http://www.axeltabs.com/

__
axel





__
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/


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



exim configuration: smarthost and address rewriting

2004-04-23 Thread Richard Cobbe
Greetings, all.

I'm having a little difficulty with exim configuration.  Debian stable,
exim 3.35-1woody2.

This is a home system, set up to deliver all outgoing mail through a
smarthost.  I ran eximconfig, selected the smarthost option, and entered
the relevant data to get my basic exim.conf file.  Since then, I've made
the following changes:

*** exim.conf.orig  Fri Apr 23 06:56:48 2004
--- exim.conf   Fri Apr 23 07:08:00 2004
***
*** 29,35 
  # domain to unqualified sender addresses, specify the recipient domain here.
  # If this option is not set, the qualify_domain value is used.
  
! # qualify_recipient =
  
  # Specify your local domains as a colon-separated list here. If this option
  # is not set (i.e. not mentioned in the configuration file), the
--- 29,35 
  # domain to unqualified sender addresses, specify the recipient domain here.
  # If this option is not set, the qualify_domain value is used.
  
! qualify_recipient = localhost
  
  # Specify your local domains as a colon-separated list here. If this option
  # is not set (i.e. not mentioned in the configuration file), the
***
*** 40,46 
  # are no local domains; not setting it at all causes the default value (the
  # setting of qualify_recipient) to be used.
  
! local_domains = localhost:comcast.net
  
  # Allow mail addressed to our hostname, or to our IP address.
  
--- 40,46 
  # are no local domains; not setting it at all causes the default value (the
  # setting of qualify_recipient) to be used.
  
! local_domains = localhost:home.rcc
  
  # Allow mail addressed to our hostname, or to our IP address.
  
***
*** 413,418 
--- 413,420 
  # don't have their own domain, but could be useful for anyone.
  # It looks up the real address of all local users in a file
  
+ [EMAIL PROTECTED][EMAIL PROTECTED] h
+ 
  [EMAIL PROTECTED]${lookup{$1}lsearch{/etc/email-addresses}\
{$value}fail} frFs
  


There's another hunk enabling authenticated connections, required by my
smarthost, but I'm omitting that here to avoid broadcasting my passwords
to all and sundry.  I don't think it's relevant to my question, in any
case.

I should point out that I have (deliberately) given my machine a bogus
hostname, nanny-ogg.home.rcc, to avoid collisions.  And my user name on
my local machine is `cobbe'.

In general, all of this works correctly.  Mail that I send from cobbe's
account is correctly routed through the smarthost to its destination,
and it is labeled as coming from the address [EMAIL PROTECTED],
which is the desired result.  Additionally, mail that is sent to
root is handled according to the local alias file, *not* routed up to
[EMAIL PROTECTED] (who, I'm sure, really doesn't want my logcheck output).

There's just one minor fly in the ointment left: mail that is sent from
[EMAIL PROTECTED] (as by logcheck, for instance) is rewritten to appear as
coming from [EMAIL PROTECTED]  I'd really like to have exim configured
to leave sender addresses of [EMAIL PROTECTED] alone, but it's not clear to
me from the Exim manual how to disable the qualify_domain rewriting for
a single local address.

Could anyone point me in the right direction, please?

Thanks very much for any help,

Richard


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



Re: Mailman and Exim configuration

2004-04-21 Thread Harley Pebley
  Everything is from latest stable branch:
 
  1) I've got Exim and Apache setup and working well.
 
  2) I installed the Mailman package. Everything seems to be working
  well (listinfo and admin pages display fine, newlist works, etc.)
  except it won't send anything out, ever. I've googled and googled
  and followed all the documentation, how-to's and FAQs I can find
  but nothing seems to help.
 
  All I know are these two cryptic entries:
  /var/log/mailman/smtp:
  Apr 05 06:26:04 2004 (18547) All recipients refused: (-1, 'version 
3.35 debug l
  vel 9 uid=8 gid=8')
 
  /var/log/mailman/smtp-failure:
  Apr 11 17:16:03 2004 (910) -1 [EMAIL PROTECTED] (version 
3.35 debug l
  vel 9 uid=8 gid=8)
 
  There are no related entries in the exim logs.
 
  Any ideas?
 
 At 05:45 04/12/2004, J.H.M. Dassen (Ray) wrote:
 For a serious list setup, I'd recommend using newer versions of mailman and
 exim. Switching to Exim4 really is worth the trouble.
 # Exim4 backport
 deb http://www.logic.univie.ac.at/~ametzler/debian/exim4manpages/ woody/
 # GnuTLS backports needed for tls-enabled exim4
 deb http://www.logic.univie.ac.at/~ametzler/debian/gnutls/ woody/
 # Mailman backport - I get clamav spamassassin razor as well here so I can
 # drop spam and virus messages easily.
 deb http://www.backports.org/debian stable mailman

I used the Mailman backport and now get the slightly less cryptic:

/var/log/mailman/smtp:
  Apr 21 16:35:45 2004 (2892) delivery to [EMAIL PROTECTED] 
failed with
  code -1: icheep in local_domains? yes (matched reepicheep)

It appears Mailman is trying to use a partial part (icheep) of the host name
(reepicheep) in its delivery attempts.
Any ideas why or how to fix?

Thanks,
Harley Pebley 

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



Re: Mailman and Exim configuration

2004-04-12 Thread J.H.M. Dassen (Ray)
On Sun, Apr 11, 2004 at 18:26:28 -0600, Harley Pebley wrote:
 Everything is from latest stable branch:

For a serious list setup, I'd recommend using newer versions of mailman and
exim. Switching to Exim4 really is worth the trouble.

# Exim4 backport
deb http://www.logic.univie.ac.at/~ametzler/debian/exim4manpages/ woody/
# GnuTLS backports needed for tls-enabled exim4
deb http://www.logic.univie.ac.at/~ametzler/debian/gnutls/ woody/
# Mailman backport - I get clamav spamassassin razor as well here so I can
# drop spam and virus messages easily.
deb http://www.backports.org/debian stable mailman

HTH,
Ray
-- 
PATRIOTISM  A great British writer once said that if he had to choose
between betraying his country and betraying a friend he hoped he would
have the decency to betray his country.
- The Hipcrime Vocab by Chad C. Mulligan


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



Mailman and Exim configuration

2004-04-11 Thread Harley Pebley
Everything is from latest stable branch:

1) I've got Exim and Apache setup and working well.

2) I installed the Mailman package. Everything seems to be working
well (listinfo and admin pages display fine, newlist works, etc.)
except it won't send anything out, ever. I've googled and googled
and followed all the documentation, how-to's and FAQs I can find
but nothing seems to help.
All I know are these two cryptic entries:
/var/log/mailman/smtp:
Apr 05 06:26:04 2004 (18547) All recipients refused: (-1, 'version 3.35 debug l
vel 9 uid=8 gid=8')
/var/log/mailman/smtp-failure:
Apr 11 17:16:03 2004 (910) -1 [EMAIL PROTECTED] (version 3.35 debug l
vel 9 uid=8 gid=8)
There are no related entries in the exim logs.

Any ideas?

Thanks,
Harley Pebley 

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



EXIM configuration question

2004-02-14 Thread Al Davis
I am puzzled about how to configure this.  It is probably one line but I 
missed it.

I want to configure it so that it first attempts to deliver directly.  
Then if it fails delivers through the ISP's relay.

Background ...

It's easy to configure it to always deliver directly.  That works except 
for certain sites (AOL) that block addresses that are listed in dynamic 
IP blocks.  (well known problem)

It's easy to configure it to always relay through my ISP's relay.

It's easy to have certain listed destinations delivered through my ISP's 
relay, and those not listed delivered directly.

I am using:
Exim version 3.36 #1 built 11-Dec-2003 11:35:23
on sid.


What I would like is for something to make the decision automatically 
without explicitly listing the problem sites.


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



exim configuration, second router not used

2003-08-19 Thread Geoff Crompton
  Hi All,

  I've got the following routers configured in my exim.conf file:

smarthost:
  driver = domainlist
  transport = remote_smtp
  route_list = * fermi.bjh bydns_a

lookuphost:
  driver = lookuphost
  transport = remote_smtp
end


  This is on a laptop. When the laptop is in the office, the first
router delivers email fine. However when I am outside the office I was
hoping that the first router would fail (as it can't look up fermi.dns
on the internal dns server), and then use the second router.

  However it doesn't seem to ever use the second router. An example from
my log file looks like this:

2003-08-19 20:59:28 19p2vR-rs-00 Unfrozen by forced delivery
2003-08-19 20:59:29 19p2vR-rs-00 == [EMAIL PROTECTED] R=smar thost defer (-1): 
lookup of host fermi.bjh failed in smarthost router
2003-08-19 20:59:29 19p4D3-0001fk-00 =  R=19p2vR-rs-00 U=mail P=local S=554
2003-08-19 20:59:29 19p2vR-rs-00 Frozen
2003-08-19 20:59:29 19p4D3-0001fk-00 = ghc [EMAIL PROTECTED] D=real_local 
T=local_delivery
2003-08-19 20:59:29 19p4D3-0001fk-00 Completed


  The second email (id 19p4D3-0001fk-00) is a local mail telling me it
failed to deliver.

  Can anyone tell me why my configuration is working? I had to comment
out smarthost to send any email!

  Thanks,
  Geoff


PS. Please CC me, I'm not on the list.


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



Re: Exim configuration

2003-08-14 Thread Antony Gelberg
Engosh wrote:
 Hi,
 
 I'm trying to configure a mail server at home. I'm using exim,
 fetchmail and procmail. By now I can send mails to my box from local,
 but I don't know what I have to do to be able to receive mails from
 the internet. Do you know how to do it?   
 
 Thanx.
 
 Engosh

Have you RTFM?

A


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



Re: Exim configuration

2003-08-14 Thread David Fokkema
On Fri, Jan 01, 1999 at 03:51:14AM +0100, Engosh wrote:
 On Mon, 11 Aug 2003 12:35:03 +0100
 Antony Gelberg [EMAIL PROTECTED] wrote:
 
  Engosh wrote:
   Hi,
   
   I'm trying to configure a mail server at home. I'm using exim,
   fetchmail and procmail. By now I can send mails to my box from local,
   but I don't know what I have to do to be able to receive mails from
   the internet. Do you know how to do it?   
   
   Thanx.
   
   Engosh
  
  Have you RTFM?
  
 
 I'm sorry but I don't know what RTFM means... ;)

Well, literally, it means Read The Fucking Manual. It is slang, commonly
used in newsgroups and mailing lists. Generally, a question like 'have
you RTFM?' means that your issue is well documented in the manual.

In your case, you could try running eximconfig and answering the
questions. Of course, for your mail addresses to work from the internet,
you should have a valid domain name. An e-mail address like
[EMAIL PROTECTED] only works if your computer is
accessible from the internet as myserver.somedomain.net.

BTW, you might want to check your system date. It is set to Friday, 1st
of January, 1999. Unless you have discovered time-travel or we
mysteriously communicate through a wormhole, this is not correct.

HTH, David


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



Exim configuration

2003-08-14 Thread Engosh

Hi,

I'm trying to configure a mail server at home. I'm using exim, fetchmail and procmail. 
By now I can send mails to my box from local, but I don't know what I have to do to be 
able to receive mails from the internet. Do you know how to do it?

Thanx.

Engosh


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



Re: Exim configuration

2003-08-14 Thread Greg Folkert
On Fri, 1999-01-01 at 03:51, Engosh wrote:
 On Mon, 11 Aug 2003 12:35:03 +0100
 Antony Gelberg [EMAIL PROTECTED] wrote:
  Have you RTFM?
  
 
 I'm sorry but I don't know what RTFM means... ;)
 
WWJD? He would RTFM!

What Would Josh Do? He would Read The Fine[1] Manual.


[1] Some think the F == Fscked or phucked or eff'd or Fscking or
phucking or Eff'ing

-- 
Greg Folkert [EMAIL PROTECTED]


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



Re: Exim configuration

2003-08-11 Thread Engosh
On Mon, 11 Aug 2003 13:57:25 +0200
David Fokkema [EMAIL PROTECTED] wrote:

 On Fri, Jan 01, 1999 at 03:51:14AM +0100, Engosh wrote:
  On Mon, 11 Aug 2003 12:35:03 +0100
  Antony Gelberg [EMAIL PROTECTED] wrote:
  
   Engosh wrote:
Hi,

I'm trying to configure a mail server at home. I'm using exim,
fetchmail and procmail. By now I can send mails to my box from local,
but I don't know what I have to do to be able to receive mails from
the internet. Do you know how to do it?   

Thanx.

Engosh
   
   Have you RTFM?
   
  
  I'm sorry but I don't know what RTFM means... ;)
 
 Well, literally, it means Read The Fucking Manual. It is slang, commonly
 used in newsgroups and mailing lists. Generally, a question like 'have
 you RTFM?' means that your issue is well documented in the manual.
 
Thanx for you help..


 In your case, you could try running eximconfig and answering the
 questions. Of course, for your mail addresses to work from the internet,
 you should have a valid domain name. An e-mail address like
 [EMAIL PROTECTED] only works if your computer is
 accessible from the internet as myserver.somedomain.net.
 

I already have one of these domains. I'll try with the eximconfig again. 

 BTW, you might want to check your system date. It is set to Friday, 1st
 of January, 1999. Unless you have discovered time-travel or we
 mysteriously communicate through a wormhole, this is not correct.
 

Done. Sorry I was trying different kernels, and maybe that's why it was that way I 
didn't see that. Thanx

 HTH, David

Engosh

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



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



Re: Exim configuration

2003-08-11 Thread Engosh
On Mon, 11 Aug 2003 12:35:03 +0100
Antony Gelberg [EMAIL PROTECTED] wrote:

 Engosh wrote:
  Hi,
  
  I'm trying to configure a mail server at home. I'm using exim,
  fetchmail and procmail. By now I can send mails to my box from local,
  but I don't know what I have to do to be able to receive mails from
  the internet. Do you know how to do it?   
  
  Thanx.
  
  Engosh
 
 Have you RTFM?
 

I'm sorry but I don't know what RTFM means... ;)

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



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



exim configuration for tmda

2003-06-18 Thread Jeff Penn
I'm having problems configuring tmda to run on Sarge with the default
exim install.  I've followed instructions in the tmda manual except:

echo |/path/to/bin/procmail -p  ~/.forward

I left this file empty since procmail is specified in exim.conf by 
default.

All mail ends up being passed to procmails $DEFAULT,

~/.tmda/logs/debug contains:
Traceback (most recent call last):
  File /usr/bin/tmda-filter, line 53, in ?
execfile(os.path.join(execdir, 'tmda-rfilter'))
  File /usr/bin/tmda-rfilter, line 175, in ?
raise Errors.MissingEnvironmentVariable('SENDER')
MissingEnvironmentVariable

Which appears to suggest exim is not passing procmail the required
environment variables.  I have tried various changes including modifying
the procmail_pipe configuration in exim.conf without any success (such
as adding -p option to the command).

/etc/exim/exim.conf:
trusted_users = mail:uucp:jeff 
  
address_pipe:
  driver = pipe 
  path = /usr/bin:/bin:/usr/local/bin
  return_fail_output
  return_path_add
  environment = EXTENSION=${substr_1:$local_part_suffix}:\
[EMAIL PROTECTED]
  
procmail_pipe:
  driver = pipe
  command = /usr/bin/procmail
  return_path_add
  delivery_date_add
  envelope_to_add
  suffix = 

userforward:
  driver = forwardfile
  file_transport = address_file
  pipe_transport = address_pipe
  reply_transport = address_reply
  no_verify
  check_ancestor
  check_local_user
  file = .forward
  modemask = 002
  filter
  suffix = +*
  suffix_optional

procmail:
  driver = localuser
  transport = procmail_pipe
  require_files =
${local_part}:+${home}:+${home}/.procmailrc:+/usr/bin/procmail
  no_verify

localuser:
  driver = localuser
  transport = local_delivery
  suffix = +*
  suffix_optional


thanks
Jeff


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



Re: simple exim configuration

2002-12-22 Thread Alan Chandler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 22 December 2002 5:44 am, Paul Scott wrote:

 Did you use fetchmailconf to generate /etc/fetchmailrc?   I have run it
 several times and now it doesn't run.  It spends about a minute with an
 hourglass and then the hourglass disappears.  This is true whether I am
 logged in as root or paul.  I have looked in several log files without
 finding any clues.

No - I hand crafted it - and tweaked it - over several months.  I only showed 
a very small snippet of it, because at one time (I have cut back a bit) I was 
polling 4 ISPs with several accounts on each.  Right now I am on a cable 
modem, but when I started it was dialup



 A .fetchmailrc was generated in my (paul) home directory which looked
 similar to yours

In my case fetchmail is a system wide thing, its collecting mail on behalf of 
my whole family and runs as a daemon from startup (I can't remember what I 
had to tweak on the debian setup to do this, I think it was just set the 
correct values in /etc/default/fetchmail)

- -- 
Alan Chandler
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+BXGBuFHxcV2FFoIRAvB4AJwMdt8tQFIgCzsWqeRdxnfF6G5+OACgghJJ
WDqMu7LueZjTimoGDXlMAy4=
=rn/x
-END PGP SIGNATURE-


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




Re: simple exim configuration

2002-12-21 Thread Mark L. Kahnt
On Sat, 2002-12-21 at 03:16, Paul Scott wrote:
 Alan Chandler wrote:
 
[***SNIP!!!***]

 Yes, that's what I'm trying at the moment.   Unfortunately fetchmailconf 
 has stopped working.  The only clues I presently have (with my limited 
 experience) is that when I do 'inetd restart'  I find in 
 /var/log/daemon.log:
 
 Dec 21 01:10:23 joy inetd[32608]: restart: No such file or directory
 
You want:

/etc/init.d/inetd restart

to select the daemon manager that shuts down and then restarts the
existing inetd daemon - that's how you send the signal to it. If it is
only a change to services it is supporting, you might try force-reload
instead.

[***More SNIP!!!***]

 Thanks,
 
 Paul
-- 
Mark L. Kahnt, FLMI/M, ALHC, HIA, AIAA, ACS, MHP
ML Kahnt New Markets Consulting
Tel: (613) 531-8684 / (613) 539-0935
Email: [EMAIL PROTECTED]



signature.asc
Description: This is a digitally signed message part


Re: simple exim configuration

2002-12-21 Thread Paul Scott
Oops.  Here's to the list:

Mark L. Kahnt wrote:


On Sat, 2002-12-21 at 03:16, Paul Scott wrote:
 

experience) is that when I do 'inetd restart'  I find in 
/var/log/daemon.log:

Dec 21 01:10:23 joy inetd[32608]: restart: No such file or directory

You want:

/etc/init.d/inetd restart

to select the daemon manager that shuts down and then restarts the
existing inetd daemon - that's how you send the signal to it. If it is
only a change to services it is supporting, you might try force-reload
instead.


Thank you very much,

Paul



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



Re: simple exim configuration

2002-12-21 Thread Alan Chandler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 21 December 2002 8:16 am, Paul Scott wrote:
 Alan Chandler wrote:
...
 but for instance, I do
 
 fetchmail -smtp-exim (as MTA)-pipe-spamassassin-exim(as
 sendmail)-$HOME/Maildir-courier-pop3-kmail

 Can you tell me what configuration causes any of those connections
 (except for those which have already been answered in this thread).

Fetchmail
=

Runs as a daemon (debian package loaded and started by /etc/init.d/fetchmail) 
- - I have listed some of my /etc/fetchmailrc below (I actually poll several 
seperate ISPs and I also have 5 different blueyonder user lines for different 
accounts)

poll pop3.blueyonder.co.uk no dns proto POP3 tracepolls
aka blueyonder.co.uk
localdomains chandlerfamily.org.uk
 user ac003a3222 password x forcecr is * smtpaddress fetchmail.home

this is the multidrop case (catchall for not specific chandlerfamily.org.uk 
addresses).  The specific line is like this

 user ac003a3222_5 password x forcecr is alan fetchall smtpaddress 
fetchmail.home

which is where mail to [EMAIL PROTECTED] gets delivered to.
 

It passes mail via smtp to whatever is on port 25 of the machine.  In my case 
its exim, started via inetd.  The relevant line in /etc/inetd.conf is ...


#:MAIL: Mail, news and uucp services.
smtpstream  tcp nowait  mail/usr/sbin/exim exim -bs

Exim


I think you asked some questions earlier about qualify_domain in exim.conf and 
also I seem to remember a bit of the thread about relaying.

here are some relevant paramters (my home network behind the filewall all have 
names *.home - mail from these machines is allowed to leave off the 
@domainname part and if so, has roo.home added as the sender and 
chandlerfamily.org.uk added as the recipient.  exim regards localhost, *.home 
and chandlerfamily.org.uk in mail addresses as local (ie it does not try to 
forward them somewhere else).  Note, I will only relay mail on if it comes 
either locally or from the 10.0.10.0/24 address range (my internal network in 
other words).

primary_hostname = mail.home
qualify_domain = roo.home
receiver_unqualified_hosts = *.home
qualify_recipient = chandlerfamily.org.uk
local_domains = localhost:*.home:chandlerfamily.org.uk
host_accept_relay = 127.0.0.1: 10.0.10.0/24


The following are parts of exim.conf that workout how to deliver mail.  Please 
note I have left a lot out (for instance, I also have mailing lists etc 
supported but not shown).  The bit related to spam checking is show.  Mail 
with a real- before the address avoids the spam filter, the rest of local 
mail is checked how it arrived.  Normally its from outside and is sent to the 
check_spam deliverer, otherwise it falls through that check and is delivered 
locally (or directly for mail if its not a known local user).

# This allows local delivery to be forced, avoiding spam filter, alias
# files and forwarding.

real_local:
  prefix = real-
  driver = smartuser
  local_parts = /etc/exim/local-users
  user = ${lc:$local_part}
  transport = local_delivery

# Only Mail that I expect to deliver locally is checked for spam

spam_to_check:
  driver = smartuser
  transport = check_spam
  condition=${if eq {$received_protocol} {spam_checked} {no} {${if eq 
{$sender_address_domain} {chandlerfamily.org.uk} {no} {yes} }} }

# This director matches local user mailboxes.
# (I am being very restrictive on what I will allow - but see later)

localuser:
  driver = smartuser
  local_parts = /etc/exim/local-users
  user = ${lc:$local_part}
  transport = local_delivery

#
# Anything else that has not been handled is to be forced to alan
#
allelse:
  driver = smartuser
  transport=deliver_alan

The transports (again only some) in exim.conf define how it is delivered 
(either locally into a file or piped through spamassassin).

local_delivery:
  driver = appendfile
  group = mail
  mode = 0660
  mode_fail_narrower = false
  envelope_to_add = true
  return_path_add = true
  directory=/home/${lc:$local_part}/Maildir
  maildir_format = true
  prefix = 

check_spam:
  driver = pipe
  user = mail
  group = mail
  prefix =
  suffix =
  command = spamc -f | exim -oMr spam_checked ${if eq {$sender_address} {} {} 
{-f $sender_address}} \$[EMAIL PROTECTED]
.uk
  ignore_status = true
  use_shell = true
  path = /usr/bin:/usr/sbin


Courier
===

Courier just is a standard debian package.  It expects to find the mail in 
$HOME/Maildir of each user - which it authenticates users who connect via 
pop3 or via imap.

Kmail
=

This is just configured to read mail via pop3 to mail.home and to send mail 
via smtp to mail.home.  Mail received from kmail by exim is then routed 
internally (if its in the local_domains listed above), or via blueyonder 
(my isp) if its for the rest of the internet.  The relevant part of exim.conf 
is

# Send all mail to a smarthost

smarthost:
  driver = domainlist
  transport = remote_smtp
  route_list = * 

Re: simple exim configuration

2002-12-21 Thread Paul Scott
Alan Chandler wrote:


Can you tell me what configuration causes any of those connections
(except for those which have already been answered in this thread).
   

Fetchmail

Runs as a daemon (debian package loaded and started by /etc/init.d/fetchmail) 
- - I have listed some of my /etc/fetchmailrc below (I actually poll several 
seperate ISPs and I also have 5 different blueyonder user lines for different 
accounts)

Did you use fetchmailconf to generate /etc/fetchmailrc?   I have run it 
several times and now it doesn't run.  It spends about a minute with an 
hourglass and then the hourglass disappears.  This is true whether I am 
logged in as root or paul.  I have looked in several log files without 
finding any clues.

A .fetchmailrc was generated in my (paul) home directory which looked 
similar to yours

(snip)

I have the same line in /etc/inetd.conf as you do.

I wasn't the one posting about relaying.

I trust this lot answers your questions - sorry its a bit long.  If you need 
any part explained, copy it back and I will try and answer.
 

I'll get back to any other parts if necessary.

Thanks,

Paul



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



Re: simple exim configuration

2002-12-20 Thread Pigeon
On Thu, Dec 19, 2002 at 09:29:55PM -0700, Paul Scott wrote:
 Pigeon wrote:
 
 On Thu, Dec 19, 2002 at 09:02:21AM +0100, Tony Crawford wrote:
   
 
 Paul Scott wrote (on 18 Dec 2002 at 23:57):
 
 
 
 fetchmail to get the mail, procmail to sort it, mozilla or mutt to
 display it, you're all set.
 
 
 
 That sounds great.   Thanks.
 
 Any ideas why I can't apt-get remove exim without removing mutt?
   
 
 Because the mutt package expects the system to have some kind of 
 MTA, I'd guess. An MTA is a normal part of a typical system.
 
 Options for overriding such dependencies should be covered in the 
 man page somewhere.
 
 
 
 It may well be simpler just to use it...
 
 It looks like I will have to use it get mail from either fetchmail or 
 procmail (if I need it) to the mail folders.

I think this is one of those situations where you don't theoretically
have to, but it's much easier if you do because all the software and
docs are written with that assumption.

 Run eximconfig and answer some really simple questions, and that's
 about it. I found it so easy to do the basic setup that I can't
 remember much about doing it.
 
 I have done that several times and I won't know whether it's working 
 until I find where fetchmail is putting mail.

According to man fetchmail, it delivers it by SMTP to port 25, whence
it is picked up by exim or whatever other MTA you have and delivered
to wherever it has to go.

I set up fetchmail by using fetchmailconf, and as with eximconfig it
just worked and I can't remember any awkwardnesses. That's the problem
with these easy config tools - when it all works you don't learn
anything.

Pigeon


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




Re: simple exim configuration

2002-12-20 Thread Paul Scott
Pigeon wrote:


On Thu, Dec 19, 2002 at 09:29:55PM -0700, Paul Scott wrote:
 

Pigeon wrote:

   

According to man fetchmail, it delivers it by SMTP to port 25, whence
it is picked up by exim or whatever other MTA you have and delivered
to wherever it has to go.


Ah.  This is one of those areas I haven't quite got down:  How do I tell 
who's listening to port 25?  Do you have any suggestions as to what to 
read to understand this.  I am an experienced programmer and some 
mechanisms I understand better than others.

I set up fetchmail by using fetchmailconf, and as with eximconfig it
just worked and I can't remember any awkwardnesses. That's the problem
with these easy config tools - when it all works you don't learn
anything.


I agree.

Thanks,

Paul


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



Re: simple exim configuration

2002-12-20 Thread Paul Scott
David H. Clymer wrote:


Ah.  This is one of those areas I haven't quite got down:  How do I tell 
who's listening to port 25?  Do you have any suggestions as to what to 
   


you could try: lsof -i TCP:25
 

That gives me:

inetd   243 root   11u  IPv4 477720   TCP *:smtp (LISTEN)

What program/daemon is listening?

Thanks,

Paul



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



Re: simple exim configuration

2002-12-20 Thread David H. Clymer
I just realized that I wasnt sending my replies to the list :) silly me.

davidc

-Forwarded Message-

From: David H. Clymer [EMAIL PROTECTED]
To: Paul Scott [EMAIL PROTECTED]
Subject: Re: simple exim configuration
Date: 20 Dec 2002 13:20:56 -0500


 That gives me:
 
 inetd   243 root   11u  IPv4 477720   TCP *:smtp (LISTEN)
 
 What program/daemon is listening?

I believe that this means that inetd is listening. I'm no guru, so those
that know better, please correct me, but I believe that inetd monitors
the ports specified in its configuration file (/etc/inetd.conf) and,
using the same config file, depending on the port, and type of
connection, starts whatever program is also specified in that file to
handle it.

my /etc/inetd.conf file has the following line which tells inetd how to
handle smtp connections (the service names on the left are mapped to the
correct port using the /etc/services file, i believe).
#:MAIL: Mail, news and uucp services.
smtpstream  tcp nowait  mail/usr/sbin/exim exim -bs


davidc



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




Re: simple exim configuration

2002-12-20 Thread Paul Scott
Paul Scott wrote:


David H. Clymer wrote:


Ah.  This is one of those areas I haven't quite got down:  How do I 
tell who's listening to port 25?  Do you have any suggestions as to 
what to   


you could try: lsof -i TCP:25
 

That gives me:

inetd   243 root   11u  IPv4 477720   TCP *:smtp (LISTEN)

What program/daemon is listening?

I believe that this means that inetd is listening. I'm no guru, so those
that know better, please correct me, but I believe that inetd monitors
the ports specified in its configuration file (/etc/inetd.conf) and,
using the same config file, depending on the port, and type of
connection, starts whatever program is also specified in that file to
handle it.



my /etc/inetd.conf file has the following line which tells inetd how to
handle smtp connections (the service names on the left are mapped to the
correct port using the /etc/services file, i believe).
#:MAIL: Mail, news and uucp services.
smtpstream  tcp nowait  mail/usr/sbin/exim exim -bs


Thanks so much!  my /etc/inetd.conf has the same line.  I'll see how far 
I can get from there.

Paul



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



Re: simple exim configuration

2002-12-20 Thread Paul Scott
Ok.  My /etc/exim/exim.conf has:

local_delivery:
 driver = appendfile
 group = mail
 mode = 0660
 mode_fail_narrower = false
 envelope_to_add = true
 return_path_add = true
 file = /var/spool/mail/${local_part}

but mutt tells me that /var/spool/mail/paul is not a mailbox.  

BTW the way where is local_part defined?

Thanks for any more help,

Paul



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



Re: simple exim configuration

2002-12-20 Thread David H. Clymer
On Fri, 2002-12-20 at 14:13, Paul Scott wrote:
 Ok.  My /etc/exim/exim.conf has:
 
 local_delivery:
   driver = appendfile
   group = mail
   mode = 0660
   mode_fail_narrower = false
   envelope_to_add = true
   return_path_add = true
   file = /var/spool/mail/${local_part}
 
 but mutt tells me that /var/spool/mail/paul is not a mailbox.

what does: ls /var/mail/paul tell you? is it a file, or a directory?

BTW /var/spool/mail is just a symlink to /var/mail, hence my use of it
above.

 
 BTW the way where is local_part defined?
 

${local_part} is taken from the recipiant's email address. if someone
sent you an email (to: [EMAIL PROTECTED]) the exim splits up the address on
the @ and sets two variables:

local_part: paul
domain: foo.com

so if you were doing multiple domains on one box, you could do:

file = /var/spool/mail/${domain}/${local_part}

or some such.


davidc


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




Re: simple exim configuration

2002-12-20 Thread Paul Scott
David H. Clymer wrote:


On Fri, 2002-12-20 at 14:13, Paul Scott wrote:
 

Ok.  My /etc/exim/exim.conf has:

local_delivery:
 driver = appendfile
 group = mail
 mode = 0660
 mode_fail_narrower = false
 envelope_to_add = true
 return_path_add = true
 file = /var/spool/mail/${local_part}

but mutt tells me that /var/spool/mail/paul is not a mailbox.
   


what does: ls /var/mail/paul tell you? is it a file, or a directory?


It's a valid mail file according to /usr/bin/mail


BTW /var/spool/mail is just a symlink to /var/mail, hence my use of it
above.


Understood.


BTW the way where is local_part defined?

   

${local_part} is taken from the recipiant's email address. if someone
sent you an email (to: [EMAIL PROTECTED]) the exim splits up the address on
the @ and sets two variables:

local_part: paul
domain: foo.com


What process does that substitution?


so if you were doing multiple domains on one box, you could do:

file = /var/spool/mail/${domain}/${local_part}

or some such.


That part was clear.  I was just expecting local_part to be something 
that I set somewhere else in exim.conf.

Thanks,

Paul


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



Re: simple exim configuration

2002-12-20 Thread David H. Clymer
 
 ${local_part} is taken from the recipiant's email address. if someone
 sent you an email (to: [EMAIL PROTECTED]) the exim splits up the address on
 the @ and sets two variables:
 
 local_part: paul
 domain: foo.com
 
 What process does that substitution?

I'm not exactly sure, to be honest...

I tried a little experiment below

woody:/usr/src/linux# exim -d8 -bt david
Exim version 3.35 debug level 8 uid=0 gid=0
Berkeley DB: Sleepycat Software: Berkeley DB 2.7.7: (08/20/99)
Caller is an admin user
Caller is a trusted user
user name root extracted from gecos field root
address david@woody
  local_part=david domain=woody
  domain is local
system_aliases director: lsearch key=david
  file=/etc/aliases
system_aliases director declined for david: 
userforward director: file = .forward
set uid=0 gid=0 euid=1000 egid=1000
successful stat of /home/david/.
/home/david/.forward not found
restored uid=0 gid=0 euid=8 egid=8
queued for local_delivery transport: local_part=david domain=woody
  errors_to=NULL
  domain_data=NULL local_part_data=NULL
localuser director succeeded for david
david@woody
  deliver to david in domain woody
  director = localuser, transport = local_delivery

I guess the debugging above indicates that it is set prior to any of the
delivery facilities configured in exim.conf...I dont know...is this
useful? maybe I'm not sure what info you are trying to find.

 
 so if you were doing multiple domains on one box, you could do:
 
 file = /var/spool/mail/${domain}/${local_part}
 
 or some such.
 
 That part was clear.  I was just expecting local_part to be something 
 that I set somewhere else in exim.conf.

I think those are set at delivery time. if you were able to set them in
the config file, it would seem to me that all your mail would get dumped
in one box.

davidc



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




Re: simple exim configuration

2002-12-20 Thread Alan Chandler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday 20 December 2002 8:03 pm, Paul Scott wrote:
 David H. Clymer wrote:
 On Fri, 2002-12-20 at 14:13, Paul Scott wrote:
 Ok.  My /etc/exim/exim.conf has:
 
 local_delivery:
   driver = appendfile
   group = mail
   mode = 0660
   mode_fail_narrower = false
   envelope_to_add = true
   return_path_add = true
   file = /var/spool/mail/${local_part}
 
 but mutt tells me that /var/spool/mail/paul is not a mailbox.
 
 what does: ls /var/mail/paul tell you? is it a file, or a directory?

 It's a valid mail file according to /usr/bin/mail

What are the file access rights.  It should have set the user to paul and 
the group to mail (user is set in the director that directs it to 
local_delivery) but if its not then it might not be readable




 ${local_part} is taken from the recipiant's email address. if someone
 sent you an email (to: [EMAIL PROTECTED]) the exim splits up the address on
 the @ and sets two variables:
 
 local_part: paul
 domain: foo.com

 What process does that substitution?


Its all inside exim its part of recognising the e-mail address and 
manipulating it.



- -- 
Alan Chandler
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+A5qkuFHxcV2FFoIRAp0RAJ99xEnf17eiI2kJrde2HtrygTGmdACcC26F
3cMZZSA5ls81Dk3a9m2Tauk=
=mLmD
-END PGP SIGNATURE-


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




Re: simple exim configuration

2002-12-20 Thread Alan Chandler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'll copy this back to the list

On Friday 20 December 2002 10:44 pm, you wrote:
..
 On Fri, 2002-12-20 at 14:13, Paul Scott wrote:
 Ok.  My /etc/exim/exim.conf has:
 
 local_delivery:
  driver = appendfile
  group = mail
  mode = 0660
  mode_fail_narrower = false
  envelope_to_add = true
  return_path_add = true
  file = /var/spool/mail/${local_part}
 
 but mutt tells me that /var/spool/mail/paul is not a mailbox.
 
 what does: ls /var/mail/paul tell you? is it a file, or a directory?
 
 It's a valid mail file according to /usr/bin/mail
 
 What are the file access rights.  It should have set the user to paul
  and the group to mail (user is set in the director that directs it to
  local_delivery) but if its not then it might not be readable

 -rw-r-1 paul mail 5856 Dec 20 10:37
 /var/spool/mail/paul



 I haven't changed what was installed.  I now wonder what the
 relationship between the 640 here and the 660 in exim.conf.  Is group
 write necessary?

I don't think exim was the last programme to write to the file - it would have 
set the mode to 660.

[or at least if its local_delivery that is delivering the file.  It could be 
being delivered by another route - for instance procmail?]

I am a little confused by what you are using in your mail chain after all the 
advice.  The simplest this is


Fetchmail -smtp-exim-/var/spool/mail/paul-mutt

but for instance, I do

fetchmail -smtp-exim (as MTA)-pipe-spamassassin-exim(as 
sendmail)-$HOME/Maildir-courier-pop3-kmail

So you can end up with quite a range of things getting in the way.



 What process does that substitution?
 
 Its all inside exim its part of recognising the e-mail address and
 manipulating it.

 That now makes sense.

 See my answer to David for other information.

 Thanks,

 Paul

- -- 
Alan Chandler
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+BBm5uFHxcV2FFoIRAoo/AKCVuPCxwFI3hnXfL4BS7MQ1+i6ANQCgi2lY
obF2jDboehcwDo8sMpfimIw=
=sOzT
-END PGP SIGNATURE-


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




Re: simple exim configuration

2002-12-20 Thread Paul Scott
Oops!  I didn't send two of these to the list:

David H. Clymer wrote:


${local_part} is taken from the recipiant's email address. if someone
sent you an email (to: [EMAIL PROTECTED]) the exim splits up the address on
the @ and sets two variables:

local_part: paul
domain: foo.com

 

What process does that substitution?
   


I'm not exactly sure, to be honest...

I tried a little experiment below

woody:/usr/src/linux# exim -d8 -bt david
Exim version 3.35 debug level 8 uid=0 gid=0
Berkeley DB: Sleepycat Software: Berkeley DB 2.7.7: (08/20/99)
Caller is an admin user
Caller is a trusted user
user name root extracted from gecos field root
address david@woody
 local_part=david domain=woody
 domain is local
system_aliases director: lsearch key=david
 file=/etc/aliases
system_aliases director declined for david: 
userforward director: file = .forward
set uid=0 gid=0 euid=1000 egid=1000
successful stat of /home/david/.
/home/david/.forward not found
restored uid=0 gid=0 euid=8 egid=8
queued for local_delivery transport: local_part=david domain=woody
 errors_to=NULL
 domain_data=NULL local_part_data=NULL
localuser director succeeded for david
david@woody
 deliver to david in domain woody
 director = localuser, transport = local_delivery

I guess the debugging above indicates that it is set prior to any of the
delivery facilities configured in exim.conf...I dont know...is this
useful? maybe I'm not sure what info you are trying to find.

Yes, it's useful in that it leads to questions.  My results are almost
identical except that domain for you is your hostname where for me it is
the username part of my e-mail address.  The local_part for both of us
seems to be the argument for -bt.

The other difference is that I don't yet have a .forward file.

With my hostname in exim.conf I get results consistent with yours.

(snip)


That part was clear.  I was just expecting local_part to be something 
that I set somewhere else in exim.conf.
   


I think those are set at delivery time. if you were able to set them in
the config file, it would seem to me that all your mail would get dumped
in one box.


It's fairly clear that that is correct.  local_part was the part after
the -bt in the test.

I will see if that change makes any mail appear anywhere.

Thanks,

Paul




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



Re: simple exim configuration

2002-12-19 Thread Bob Nielsen
On Wed, Dec 18, 2002 at 11:57:02PM -0700, Paul Scott wrote:
 John Griffiths wrote:
 
 At 11:17 PM 12/18/02 -0700, Paul Scott wrote:
  
 
 What do I need to do to get exim to get mail from my ISP?  Or at least 
 where is the best document or tutorial to read to answer my own questions?

 
 exim doesn't fetch mail
 
 fetchmail fetches mail.
 
 Thanks.  So that's why I had such a hard time answering my question.  :( 
  I knew that fetchmail fetched mail but I didn't realize that exim 
 didn't.   I've really been wanting to try fetchmail anyway.
 
 from the sound of it you don't really need exim (or any MTA) at all, but 
 you might want to have it configured to forward mail to your ISP - up to 
 you.
 
 That might be after I sort out some other parts but from your comments 
 it looks like I don't need exim.  OTOH when I tried 'apt-get remove 
 exim' apt-get wanted to remove mutt also.
 
 if you're going to be sending all your mail from mozilla mail it might not 
 be worth worrying about.
 
 I have been happy with Mozilla Mail for a long time but I have been 
 wanting to learn how to use mutt and fetchmail, etc. for some time as well.
 
 if you want to use mutt then go with option 3 for a satellite system from
 eximconfig 
 and set your aliases the way you need them
 
 It was the wording of option 1 that made me think it would fetch my mail 
 even though it didn't ask me how to get to my ISP.
 
 fetchmail to get the mail, procmail to sort it, mozilla or mutt to display 
 it,
 you're all set.
 
 That sounds great.   Thanks.
 
 Any ideas why I can't apt-get remove exim without removing mutt?

If you were to remove exim, mutt would not be able to meet its
dependency requirement for a mail transport agent.


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




Re: simple exim configuration

2002-12-19 Thread Tony Crawford
Paul Scott wrote (on 18 Dec 2002 at 23:57):

 fetchmail to get the mail, procmail to sort it, mozilla or mutt to
 display it, you're all set.
 
 That sounds great.   Thanks.
 
 Any ideas why I can't apt-get remove exim without removing mutt?

Because the mutt package expects the system to have some kind of 
MTA, I'd guess. An MTA is a normal part of a typical system.

Options for overriding such dependencies should be covered in the 
man page somewhere.

T.

-- 
-- Tony Crawford
-- [EMAIL PROTECTED]
-- +49-3341-30 99 99
-- 


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




Re: simple exim configuration

2002-12-19 Thread Paul Scott
Sandip P Deshmukh wrote:


On Wed, Dec 18, 2002 at 11:57:02PM -0700, Paul Scott wrote:
 

John Griffiths wrote:

   

At 11:17 PM 12/18/02 -0700, Paul Scott wrote:
 

Any ideas why I can't apt-get remove exim without removing mutt?
   


use dselect. much easier than apt-get :)


 

I have been programming for over 35 years.  I have tried dselect many 
times and never been successful.  I am usually successful with apt-get.

Paul


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



Re: simple exim configuration

2002-12-19 Thread Paul Scott
Benedict Verheyen wrote:


Give aptitude a try. Very nice. I don't like dselect either. It's ugly.


Thanks.  I do have it installed and agree that it's more friendly than 
dselect.

Paul




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



Re: simple exim configuration

2002-12-19 Thread Pigeon
On Thu, Dec 19, 2002 at 09:02:21AM +0100, Tony Crawford wrote:
 Paul Scott wrote (on 18 Dec 2002 at 23:57):
 
  fetchmail to get the mail, procmail to sort it, mozilla or mutt to
  display it, you're all set.
  
  That sounds great.   Thanks.
  
  Any ideas why I can't apt-get remove exim without removing mutt?
 
 Because the mutt package expects the system to have some kind of 
 MTA, I'd guess. An MTA is a normal part of a typical system.
 
 Options for overriding such dependencies should be covered in the 
 man page somewhere.

It may well be simpler just to use it...
Run eximconfig and answer some really simple questions, and that's
about it. I found it so easy to do the basic setup that I can't
remember much about doing it.

The only 'wrinkle' for a basic setup is to add this line to the
rewrite section of /etc/exim.conf to make the sender of all mail be
the email address your ISP has given you instead of your local name
and box name:

*@yourmachinename [EMAIL PROTECTED] Frfs

example on my system, which is called pigeon:

*@pigeon [EMAIL PROTECTED] Frfs

Pigeon


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




simple exim configuration

2002-12-18 Thread Paul Scott
I have been looking through exim documentation for quite a while and I 
am almost as confused as when I started.

What do I need to do to get exim to get mail from my ISP?  Or at least 
where is the best document or tutorial to read to answer my own questions?

Is procmail a good choice for filtering my mail from three different 
usernames into many mailboxes.  For the moment I have all the mail 
directories set up by Mozilla.  I do have Mutt installed and this time 
around it actually works.

TIA,

Paul Scott


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



Re: simple exim configuration

2002-12-18 Thread John Griffiths
At 11:17 PM 12/18/02 -0700, Paul Scott wrote:
What do I need to do to get exim to get mail from my ISP?  Or at least 
where is the best document or tutorial to read to answer my own questions?

exim doesn't fetch mail

fetchmail fetches mail.

from the sound of it you don't really need exim (or any MTA) at all, but you 
might want to have it configured to forward mail to your ISP - up to you.

if you're going to be sending all your mail from mozilla mail it might not be 
worth worrying about.

if you want to use mutt then go with option 3 for a satellite system from
eximconfig 
and set your  aliases the way you need them

fetchmail to get the mail, procmail to sort it, mozilla or mutt to display it,

you're all set.


___

Not yet is the spirit of that pristine valour
extinct in you, when girt with steel and lofty flames
once we fought against the empire of heaven.
We were -- that I will not deny -- vanquished in that conflict:
yet the great intention was not lacking in nobility.
Something or other gave Him victory: to us remained
the glory of a dauntless daring.
And even if my troop fell thence vanquished,
yet to have attempted a lofty enterprise is still a trophy.

--From La Strage degli Innocenti (The Slaughter of the 
Innocents) by Giambattista Marino (1569-1625)


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




Re: simple exim configuration

2002-12-18 Thread Paul Scott
John Griffiths wrote:


At 11:17 PM 12/18/02 -0700, Paul Scott wrote:
 

What do I need to do to get exim to get mail from my ISP?  Or at least 
where is the best document or tutorial to read to answer my own questions?
   

exim doesn't fetch mail

fetchmail fetches mail.


Thanks.  So that's why I had such a hard time answering my question.  :( 
 I knew that fetchmail fetched mail but I didn't realize that exim 
didn't.   I've really been wanting to try fetchmail anyway.

from the sound of it you don't really need exim (or any MTA) at all, but you 
might want to have it configured to forward mail to your ISP - up to you.

That might be after I sort out some other parts but from your comments 
it looks like I don't need exim.  OTOH when I tried 'apt-get remove 
exim' apt-get wanted to remove mutt also.

if you're going to be sending all your mail from mozilla mail it might not be 
worth worrying about.

I have been happy with Mozilla Mail for a long time but I have been 
wanting to learn how to use mutt and fetchmail, etc. for some time as well.

if you want to use mutt then go with option 3 for a satellite system from
eximconfig 
and set your aliases the way you need them

It was the wording of option 1 that made me think it would fetch my mail 
even though it didn't ask me how to get to my ISP.

fetchmail to get the mail, procmail to sort it, mozilla or mutt to display it,
you're all set.


That sounds great.   Thanks.

Any ideas why I can't apt-get remove exim without removing mutt?

Paul



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



Re: simple exim configuration

2002-12-18 Thread Sandip P Deshmukh
On Wed, Dec 18, 2002 at 11:57:02PM -0700, Paul Scott wrote:
 John Griffiths wrote:
 
 At 11:17 PM 12/18/02 -0700, Paul Scott wrote:
 Any ideas why I can't apt-get remove exim without removing mutt?

use dselect. much easier than apt-get :)

-- 
regards,
 
sandip p deshmukh
--***


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




Re: Exim configuration for Laptop

2002-11-14 Thread Derrick 'dman' Hudson
On Tue, Nov 12, 2002 at 03:48:30PM -0600, Jamin W. Collins wrote:
| I've been wondering how best to configure Exim for use on a Laptop.  How
| are other Debian users configuring it?

My recommendation is to use a smarhost, one way or another.  Are you
the admin of some mail server on the Internet or do you have shell
access to one?  Here are the ways I can think of to set this up :

1)  Configure SMTP AUTH on your permanent mail server.  Configure the
laptop to always use that machine (and authenticate) for relaying.
Using AUTH allows you to avoid being an open relay and at the same
time allows authorized users from any location to relay.

2)  On the laptop use a pipe to
ssh $host '/usr/sbin/exim -bS'
for delivery.  Also set up public key authentication (with a null
passphrase) between the machines.  This will let you use ssh as a
tunnel to the permanent machine.  That machine will accept mail on
stdin and deliver it to its destination (regardless of domain).
The remote mail server will not know the difference between this
config and a local process (eg mutt) doing the same thing.

3)  Use ssh to tunnel a TCP connection to the permanent machine and
use localhost as the smarthost.  This requires that the permanent
machine relays for 127.0.0.1.

To set up the ssh tunnel, use this command :
ssh -C -L 2525:localhost:25 $host
With that tunnel, use
route_list = * 127.0.0.1:2525 byname
as the smarthost in exim.conf.

HTH,
-D

-- 
Emacs is a nice operating system, it lacks a decent editor though
 
http://dman.ddts.net/~dman/



msg13030/pgp0.pgp
Description: PGP signature


Exim configuration for Laptop

2002-11-12 Thread Jamin W. Collins
I've been wondering how best to configure Exim for use on a Laptop.  How
are other Debian users configuring it?

I'm likely missing something obvious as I don't normally use Exim.
Here's my take on it so far.

The eximconfig script presents 5 options of these only the first 3 are
really possible configurations if you wish to send mail off system.
Thus, options 4 and 5 are ruled out.

Since the laptop won't always be in the same place or even on the same
network chances are quite good that any smarthost it is configured to
use will at some point refuse to relay messages for it.  Thus, it would
seem that options 2 and 3 are ruled out.

This seems to leave option 1.  However, using this option seems to setup
a full fledged server for a domain.  I would think that most people
would not want this for an installation on their laptop.

It seems more likely (to me at least) that something more like the
following would be desired:

- Messages addressed to anything other than user@localhost or
  user@hostname (or the IP equivalent) are delivered by exim according
  to DNS records if such connectivity is available.  If not delivery is
  postponed until such connectivity is available.

- The MUA is allowed to specify the address (user@domain) that the
  message appears to come from.

I've come close to this with combinations for option 3 and option 1, but
only close.  

My current configuration is to use option 1 and list my domain
(asgardsrealm.net) as the system's visible domain.  This then by
default results in messages to other users on my domain attempting to be
delivered locally, which obviously doesn't work.  To get around this,
I've edited the exim.conf to remove my domain from the list of
local_domains. 

Is this the best way to configure things?

-- 
Jamin W. Collins


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




Re: Exim configuration for Laptop

2002-11-12 Thread Shyamal Prasad
Jamin == Jamin W Collins [EMAIL PROTECTED] writes:

Jamin,

I actually do not use exim much on my laptop, but these hints might
help since I looked into this when I first got it some 2 years
ago. However, as things turned out, I rarely, if ever, send mail from
it so I can't say I have any real experience.

Jamin Since the laptop won't always be in the same place or even
Jamin on the same network chances are quite good that any
Jamin smarthost it is configured to use will at some point
Jamin refuse to relay messages for it.  Thus, it would seem that
Jamin options 2 and 3 are ruled out.

Actually, IMHO, option 2 (smarthost) is a very good one.

Basically, you don't have external systems deliver mail to your
laptop. You probably run fetchmail, and by some magic it always gets
your mail and uses exim for local delivery. Or maybe you don't run
fetchmail and do something else. The bottom line is: no one looks up
an MX or A record for your laptop and then contacts it to deliver
email. So that fact that option 2 does not allow incoming mail is
okay. 

For outgoing mail the problem really is: how do you figure out what
the SMTP server to use is for the smarthost?

I suggest you start with the smarthost file and keep hacking at it
until it works (exim -C path/to/exim.conf.file -bt user@host is a
very good way to test what exim would do).

One trick that worked for me: define two smart hosts. The first one
works 99% of the time (on the big-I Internet in my case), the second
1% of the (company intranet firewalled from the bad guys outside). My
first smarthost setting adds a host_find_failed = pass line so if
the lookup fails (which it would in the intranet) exim goes on to the
next router. Works for me. I rarely send mail from the intranet. On
the public intranet I have not run into a case where my public ISP
SMTP server was barred as yet (yeah, I don't get around with my laptop
as much as I should ;-)

BTW your host_find_failed value could be set to 'freeze' on the second
(last) router. All failed mail would be frozen. Then when you got a
good place you could unfreeze and retry everyting. Not pretty, but a
start. 

Jamin Is this the best way to configure things?

Don't know. Sorry. But I got another idea for you to consider.

You could run a script when your ethernet or other IP interface is
bought up that writes the best choice for SMTP server using some magic
to a file. Ask exim to read that file and deliver accordingly.

For example, change your smarthost router's route_list from *
my.smarthost.com bydns_a to *
${lookup{smarthost}lsearch{/var/misc/smarthost}{$value}{smtp.smarthost.com}}
bydns_a. 

Now generate a file called /var/misc/smarthost evertime you ifup your
eth0 (or what have you) that used the IP address of your laptop to see
if could guess a better smarthost. Write that to /var/misc/smarthost
like this

smarthost: guessed.smarthost.com

and exim will use that. If you can't guess it, leave the file empty,
and exim will use smtp.smarthost.com as a default.

You get the idea. The exim specification is hard to read, but the
effort is well worth the trouble!

Of course, I'm suspect that one of the many packages that support
roaming laptops will provide this built in. Hopefully some one else
will clue you into a better way of doing this. But I've found learning
exim to be some kind of fun.

Good luck! Let us know what finally works for your. Maybe I will start
using my laptop to send mail for real!

Cheers!
Shyamal


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




Re: Exim configuration

2002-10-24 Thread Sebastiaan
Hi,

On Wed, 23 Oct 2002, R Ransbottom wrote:


 I receive mail with fetchmail which works fine.
 My system receives mail as [EMAIL PROTECTED]

 Local mail works fine.

 I send mail with exim which works except in my ISP's domain.

 When I send mail to [EMAIL PROTECTED] it is
 seen as local mail to an unknown user.

 How should I make this work?

 Preferably I'd like to be able to
 directly send mail to a few hosts.on.localnet.


Sounds like your ISP is blocking port 25 for other hosts than your ISP
(and localnet, of course). This means that you cannot send mail directly
to other hosts. You have to configure a relay mail host. This is to
prevent spam (many people misconfigured their mailserver, so it became an
open relay: good for spamming).

##
#  ROUTERS CONFIGURATION #
#Specifies how remote addresses are handled  #
##
#  ORDER DOES MATTER #
#  A remote address is passed to each in turn until it is accepted.  #
##

# Remote addresses are those with a domain that does not match any item
# in the local_domains setting above.
route_append:
   driver = domainlist
   transport = remote_smtp
   route_list = * smtp.myisp.nl byname
   ^
# Stand-alone system, so no routers configured.

end

Works fine.

Greetz,
Sebastiaan


--
  NT is the OS of the future. The main engine is the 16-bit Subsystem
  (also called MS-DOS Subsystem). Above that, there is the windoze 95/98
  16-bit Subsystem. Anyone can see that 16+16=32, so windoze NT is a
  *real* 32-bit system.


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



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




Re: Exim configuration

2002-10-24 Thread Shyamal Prasad
Rob == R Ransbottom R writes:

Rob On Wed, Oct 23, 2002 at 09:11:24PM -0500, Shyamal Prasad
Rob wrote:

R How should I make this work?
  My guess is you have attbi.com listed in local_domains in
 exim.conf.

Rob Yes, it is.

That is certainly a problem, since I am guessing that attbi.com is not
your localdomain, in the sense that your exim server is not
responsible for mail delivery to attbi.com. I am assuming, of course,
that you don't work for and maintain mail delivery services for
attbi.com ;-)

Your local_domains should list exactly those domains that can be
handled locally be exim. When an address matches a local domain, it is
processed by the directors later in your file. When an address is not
in your local domain, it will be passed to the routers that are listed
in your file (the routers will include your smarthost setting).

Typically you set local_domains to your hostname and localhost. You
should not (AFAIK) use your ISP's domain if you are a normal
dial-up/xDSL customer. 

If you are wondering how to get your outgoing email have the correct
email address (like [EMAIL PROTECTED]) look at /etc/email-addresses to do
that.

 What does 'exim -bt [EMAIL PROTECTED]' say?

Rob It says:

Rob user nonesuch for file existence test not found
Rob [EMAIL PROTECTED] is undeliverable: unknown local-part
Rob nonesuch in domain attbi.com

I'm surprised that randomuser became nonesuch, but I don't know
everything about exim or your set up either

Rob I'd like to use the ISP's smtp server as my smarthost except
Rob for a few specific hosts or a private/bogus domain referring
Rob to my localnet.

The simplest way is to add domainlist before the smart host entry in
the routers section:

bogus:
  driver = domainlist
  transport = remote_smtp
  route_list = bogus.net smtp.bogus.net byname; \
other.home smtp.other.home byname

If you have just one bogus entry, leave out that trailing semi colon.

Good luck!
Shyamal


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




Re: exim configuration

2002-10-23 Thread Shyamal Prasad
Sandip == Sandip P Deshmukh Sandip writes:

Sandip all right. it again gave back some nice data. can i use
Sandip smtp.yahoo.com bydns_a in router configuration? i ask this
Sandip because there are occassions when my local smtp server is
Sandip dead. as a result, i can connect to the net but mail wont
Sandip go out!

I guess you could. I do not know what yahoo's policy is about
accepting mail from unknown networks. My guess is they will not accept
your mail for delivery.

Sandip typically, i will like to use the nt server as default
Sandip smarthost, failing which, i will like to use, say,
Sandip smtp.yahoo.com. can this be done?

Yes, by putting them in the route_list.

  Yes, and no. In theory you should be able to do this. In
 practice, if you look up an MX record for the domain you are
 sending mail to,
 
Sandip how do i do this?

 and try to connect to that mail server,
 
Sandip and how do i do this as well?

Run eximconfig, choose option 1, then edit the exim.conf file to get
it all okay for your specific part of the world. That is the theory,
I've never actually done this.

Sandip but doesnt report an error. dig -t A returned some nice
Sandip looking data. so dns lookup seems not to be a problem. by
Sandip the way, do not all machines who have a dns server entry
Sandip have dns lookup ability?
  Only if the /etc/resolve.conf file is correct ;-)
 
Sandip i did not get this part. by dns server entry, i meant the
Sandip hostnames are being resolved properly.

Ah! But hostnames are resolved via the /etc/resolve.conf entries for
many networked computers. If you don't know how exactly the resolution
is done, read the DNS HOWTO.

Seriously, try using your NT server as a smarthost. Send a mail. If it
fails, look in /var/logs/exim and see what exim said about the
delivery attempt. 

Cheers!
Shyamal


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




Re: exim configuration

2002-10-23 Thread David A. Rogers
On Wed, 23 Oct 2002, Sandip P Deshmukh wrote:

 David A. Rogers wrote:
 Yes your machine could send mail directly.
 
 how! that was my question. even after reading the nag chapters, i am
 unable to handle this!


I always use a smart host, so I'm not the best one to tell you.  Here's what I
would do in your shoes, though:

1) (The hard way) Read all the exim documentation you can find.  Modify the
exim files by hand.

OR

2) (The easy way) dpkg-reconfigure exim.  Of the five? options choose the one
that best fits your situation.  I.e. _don't_ tell it to use a smart host.

dar


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




Re: exim configuration

2002-10-23 Thread Jens Grivolla
Sandip P Deshmukh [EMAIL PROTECTED] writes:

 David A. Rogers wrote:
 Yes your machine could send mail directly.
 
 how! that was my question. even after reading the nag chapters, i am
 unable to handle this!

ok, so here comes a setup (this needs to go in the routers section)
that uses a smarthost for some domains that won't accept mail from
dialup users and uses direct delivery otherwise:

|smarthost:
|  driver = domainlist
|  transport = remote_smtp
|  route_list = *.sourceforge.net smtp.my_isp.com bydns_a; \
|some.other.domain.org smtp.my_isp.com bydns_a
|  host_find_failed = fail_soft
|
|direct_smtp:
|  driver = domainlist
|  transport = remote_smtp
|  route_list = * $domain bydns

note that the order is important, i.e. the router labelled smarthost
will be tried first, if the recipient domain was not matched or the
smarthost was not found (that's what the fail_soft is for) it will
try the next router.

You need to understand that directors are used for local addresses
whereas routers are used for remote mail, trying each router until one
matches the conditions (route_list).

HTH, HAND,

Jens



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




Exim configuration

2002-10-23 Thread R Ransbottom

I receive mail with fetchmail which works fine.
My system receives mail as [EMAIL PROTECTED]

Local mail works fine.

I send mail with exim which works except in my ISP's domain.

When I send mail to [EMAIL PROTECTED] it is
seen as local mail to an unknown user.

How should I make this work?

Preferably I'd like to be able to
directly send mail to a few hosts.on.localnet.


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




Re: Exim configuration

2002-10-23 Thread Shyamal Prasad

R == R Ransbottom R writes:

R I send mail with exim which works except in my ISP's domain.

R When I send mail to [EMAIL PROTECTED] it is seen as local
R mail to an unknown user.

R How should I make this work?

My guess is you have attbi.com listed in local_domains in exim.conf.

What does 'exim -bt [EMAIL PROTECTED]' say? 

R Preferably I'd like to be able to directly send mail to a few
R hosts.on.localnet.

Sorrywould you explain that some more? 

Cheers!
Shyamal



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




Re: Exim configuration

2002-10-23 Thread R Ransbottom
On Wed, Oct 23, 2002 at 09:11:24PM -0500, Shyamal Prasad wrote:
 
 R I send mail with exim which works except in my ISP's domain.
 
 R When I send mail to [EMAIL PROTECTED] it is seen as local
 R mail to an unknown user.
 
 R How should I make this work?
 
 My guess is you have attbi.com listed in local_domains in exim.conf.

Yes, it is. 

 What does 'exim -bt [EMAIL PROTECTED]' say? 

It says:

user nonesuch for file existence test not found
[EMAIL PROTECTED] is undeliverable:
  unknown local-part nonesuch in domain attbi.com

 R Preferably I'd like to be able to directly send mail to a few
 R hosts.on.localnet.
 
 Sorrywould you explain that some more? 

I'd like to use the ISP's smtp server as my smarthost except for
a few specific hosts or a private/bogus domain referring to my localnet.

Thank you.

-- 
rob Live the dream.


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




Re: exim configuration

2002-10-23 Thread Paul Johnson
On Wed, Oct 23, 2002 at 11:19:31AM +0530, Sandip P Deshmukh wrote:
 it just says message frozen!!

Unfreeze it.  Check the exim docs on how to do this.

-- 
Baloo


msg08590/pgp0.pgp
Description: PGP signature


Re: exim configuration

2002-10-22 Thread Sandip P Deshmukh
David A. Rogers wrote:


For future reference read the Linux Network Administrator's Guide

http://www.tldp.org/LDP/nag2/index.html


oh sure. i did. thanx for referring this. very informative!


Yes your machine could send mail directly.


how! that was my question. even after reading the nag chapters, i am 
unable to handle this!

thanx for help

-sandip


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



Re: exim configuration

2002-10-22 Thread Sandip P Deshmukh
Stephen Gran wrote:


One thing to consider is that when your SMTP demon makes a connection to
your recipients mail hub, there is an exchange between the two
computers, beginning with your computer saying HELO (or EHLO) and then
identifying itself.  Many mailservers reject mail if the announced name
does not match the name received by DNS lookup.  What this means is that
if you don't have a static IP address (which you won't on a dialup line)
there will be some hosts that you cannot send mail to.  Using a
smarthost, which has a static IP and passes the reverse DNS check, will
allow you to send mail to these hosts.

HTH,
Steve

 


well, i have a static ip address and i am always on - unless when i 
switch off my computer! so, does it help?

-sandip


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



Re: exim configuration

2002-10-22 Thread Sandip P Deshmukh
Paul Johnson wrote:


On Mon, Oct 21, 2002 at 08:08:20PM +0530, Sandip P Deshmukh wrote:
 

the way i look at it is, i am connected to the net. i have dns servers 
resolving hostnames for me. do i still need something else *on some 
other machine* to send mails?
   


Only if your ISP won't let you send directly, or you start getting a
bunch of bounce backs saying you're on some random DUL RBL.  DULs
sometimes (incorrectly) list broadband user IP blocks, in which using
your ISP's mailserver will get you out.  Unless your ISP sucks, in
which it's easier to deal with the DUL bounces.  Your call.

 


it just says message frozen!!

-sandip


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



Re: exim configuration

2002-10-22 Thread Sandip P Deshmukh
Shyamal Prasad wrote:


A 'smarthost' is the term used in an exim configuration where a single
SMTP server (the 'smarthost') will accept SMTP connnections from your
network or host, and will relay these email onwards with headers that
identify you in a manner acceptable to both you and the owner of your
smarthost (typically your ISP). 

well, although i am not yet able to send/ receive mails the unix way, i 
think my understanding of mail handling has improved a lot. thanx group 
and linux for that.

With a dial up or other ISP account you will typically be given the
'smarthost' address, though the term 'smarthost' will not be
used. This is what you put in Netscape, Mozilla, Outlook or whatever
MUA you would use on a PC. An example of a smarthost is
'smtp.yahoo.com' (Try 'dig smtp.yahoo.com' to see what I mean :-)


all right. it again gave back some nice data. can i use smtp.yahoo.com 
bydns_a in router configuration? i ask this because there are occassions 
when my local smtp server is dead. as a result, i can connect to the net 
but mail wont go out!

typically, i will like to use the nt server as default smarthost, 
failing which, i will like to use, say, smtp.yahoo.com. can this be done?

   Sandip so far as smarthost is concerned, i do not know yet! but
   Sandip frankly, i think a machine with the net access and dns
   Sandip access should be in a position to send e-mails independent
   Sandip of other machines (read -
   Sandip smarthost). of course, correct me if i am wrong

Yes, and no. In theory you should be able to do this. In practice, if
you look up an MX record for the domain you are sending mail to,


how do i do this?


and
try to connect to that mail server,


and how do i do this as well?


the server may not accept mail for
you. You can thank spammers etc. for the closing of the old internet
when you could do this stuff.


but i am generally getting the thought process and the way this all 
functions now!

If you want to do this use eximconfig and choose option 1, not the
smarthost option. You will probably need to do a lot of configuration
until you get all mails going, and even then you would need a
smarthost like server for a 'default' route. You should read the Mail
HOWTO documents.


ohh! not immediately. if i could mess up a simpler option like a 
smarthost, imagine what i can do with a more difficult option! but sure 
- may be at a later date when my basic configuration is running.

   Sandip but doesnt report an error. dig -t A returned some nice
   Sandip looking data. so dns lookup seems not to be a problem. by
   Sandip the way, do not all machines who have a dns server entry
   Sandip have dns lookup ability?

Only if the /etc/resolve.conf file is correct ;-)


i did not get this part. by dns server entry, i meant the hostnames are 
being resolved properly.

   Sandip so, some solution on this?

Your best bet would be to use the NT server you have described in
the past as the smarthost. Put the IP address for the NT server on
your LAN in the smarthost entry in exim.conf and use the 'byname'
option.


i am trying this. either you will get a post from me using exim or you 
will get a post saying it doesnt work! ;)


Cheers!
Shyamal


 


thanx for the help and patience
- sandip


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



Re: exim configuration

2002-10-21 Thread Stephen Gran
This one time, at band camp, Sandip P Deshmukh said:
 well, here is what i discovered wrt questions shyamal had asked.
 
 i am yet to understand the term smtp smart host.
 
 the way i look at it is, i am connected to the net. i have dns servers
 resolving hostnames for me. do i still need something else *on some
 other machine* to send mails?
 
 anyway, here are answers:
 
 so far as smarthost is concerned, i do not know yet! but frankly, i
 think a machine with the net access and dns access should be in a
 position to send e-mails independent of other machines (read -
 smarthost). of course, correct me if i am wrong
 
 yes. i can do dns lookup from my machine. dig throws back some numbers
 - but doesnt report an error. dig -t A returned some nice looking
 data. so dns lookup seems not to be a problem. by the way, do not all
 machines who have a dns server entry have dns lookup ability?
 
 so, some solution on this?
 
 thanx again
 
 -sandip

One thing to consider is that when your SMTP demon makes a connection to
your recipients mail hub, there is an exchange between the two
computers, beginning with your computer saying HELO (or EHLO) and then
identifying itself.  Many mailservers reject mail if the announced name
does not match the name received by DNS lookup.  What this means is that
if you don't have a static IP address (which you won't on a dialup line)
there will be some hosts that you cannot send mail to.  Using a
smarthost, which has a static IP and passes the reverse DNS check, will
allow you to send mail to these hosts.

HTH,
Steve

-- 
It's not just a computer -- it's your ass.
-- Cal Keegan



msg08209/pgp0.pgp
Description: PGP signature


Re: exim configuration

2002-10-21 Thread Shyamal Prasad
Sandip == Sandip P Deshmukh Sandip writes:

Sandip well, here is what i discovered wrt questions shyamal had
Sandip asked.  i am yet to understand the term smtp smart host.

Hi Sandip,

A 'smarthost' is the term used in an exim configuration where a single
SMTP server (the 'smarthost') will accept SMTP connnections from your
network or host, and will relay these email onwards with headers that
identify you in a manner acceptable to both you and the owner of your
smarthost (typically your ISP). 

With a dial up or other ISP account you will typically be given the
'smarthost' address, though the term 'smarthost' will not be
used. This is what you put in Netscape, Mozilla, Outlook or whatever
MUA you would use on a PC. An example of a smarthost is
'smtp.yahoo.com' (Try 'dig smtp.yahoo.com' to see what I mean :-)


Sandip the way i look at it is, i am connected to the net. i have
Sandip dns servers resolving hostnames for me. do i still need
Sandip something else *on some other machine* to send mails?

Strictly speaking not. In reality, you will probably need a
smarthost. See below.

Sandip anyway, here are answers:

Sandip so far as smarthost is concerned, i do not know yet! but
Sandip frankly, i think a machine with the net access and dns
Sandip access should be in a position to send e-mails independent
Sandip of other machines (read -
Sandip smarthost). of course, correct me if i am wrong

Yes, and no. In theory you should be able to do this. In practice, if
you look up an MX record for the domain you are sending mail to, and
try to connect to that mail server, the server may not accept mail for
you. You can thank spammers etc. for the closing of the old internet
when you could do this stuff.

If you want to do this use eximconfig and choose option 1, not the
smarthost option. You will probably need to do a lot of configuration
until you get all mails going, and even then you would need a
smarthost like server for a 'default' route. You should read the Mail
HOWTO documents.

Sandip yes. i can do dns lookup from my machine. dig throws back
Sandip some numbers -

Good.

Sandip but doesnt report an error. dig -t A returned some nice
Sandip looking data. so dns lookup seems not to be a problem. by
Sandip the way, do not all machines who have a dns server entry
Sandip have dns lookup ability?

Only if the /etc/resolve.conf file is correct ;-)

Sandip so, some solution on this?

Your best bet would be to use the NT server you have described in
the past as the smarthost. Put the IP address for the NT server on
your LAN in the smarthost entry in exim.conf and use the 'byname'
option.

Cheers!
Shyamal


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




Re: exim configuration

2002-10-21 Thread Shyamal Prasad
Shyamal == Shyamal Prasad [EMAIL PROTECTED] writes:

Sandip == Sandip P Deshmukh Sandip writes:

Sandip so far as smarthost is concerned, i do not know yet! but
Sandip frankly, i think a machine with the net access and dns
Sandip access should be in a position to send e-mails independent
Sandip of other machines (read -
Sandip smarthost). of course, correct me if i am wrong

Shyamal Yes, and no. In theory you should be able to do this. In
Shyamal practice, if you look up an MX record for the domain you
Shyamal are sending mail to, and try to connect to that mail
Shyamal server, the server may not accept mail for you. You can
Shyamal thank spammers etc. for the closing of the old internet
Shyamal when you could do this stuff.

For the sake of full disclosure: the above is an uninformed opinion. I
have never set up a debian box on the big-I Internet with full mail
delivery based on MX records. It might work for you. It does for some
people. I've been told that many ISP's make this hard to do.

Don't believe everything I say ;-)


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




Re: exim configuration and relaying

2002-09-22 Thread Paul Johnson

On Sun, Sep 22, 2002 at 12:28:47AM -0400, Scott Henson wrote:
 I have a small network which I am trying to setup a mail server for.  I
 would like to get my box to relay the mail for the rest on the network,
 but it just wont.  For one, it wont relay the mail when I use eximconfig
 and tell it to let the explicit IP address for my machine relay the
 mail.  I also have sever other machines which I need to get this box to
 relay for as well, but I dont know how to make it relay for a range of
 IP addresses.  Any ideas on how to do this? Thanks.

Sounds like you're trying to do something very similar to what I am
doing right now.


host_accept_relay = 127.0.0.1 : 192.168.0.0/16

This is the magic line you need to change in /etc/exim/exim.conf,
replace the 192.168.0.0/16 network with the one appropriate for yours.

-- 
Baloo


msg02964/pgp0.pgp
Description: PGP signature


Re: exim configuration and relaying

2002-09-22 Thread Alan Chandler

On Sunday 22 September 2002 6:15 am, John Griffiths wrote:


 then if you still have no joy get your hands dirty in the
 /etc/exim/exim.config file


There are probably two relevent lines in your exim.conf file

local_domains = localhost:*.home:chandlerfamily.org.uk:libdebate.org

is the first showing mine - it says what mail addresses are considered local 
(the *.home entry is because all my home machines are behind a firewall and 
not seen on the internet and use this non standard Top Level Domain - the 
other domains apart from localhost are ones I own the domain name for and 
have accounts locally to receive for them)

the second line I use is

host_accept_relay = 127.0.0.1: 10.0.10.0/24

which controls which machines get to do an smtp connection to exim to send 
mail.  These are local host and the whole of the 10.0.10.x subnet (which is 
the addresses assigned to all the local machines on my home network)

The comments in the file for the other parameters near to these give some 
other options - but I expect you won't need them.


-- 
Alan Chandler
[EMAIL PROTECTED]


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




Re: exim configuration and relaying

2002-09-22 Thread Sean

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 22 September 2002 01:15 am, John Griffiths wrote:
snip
 then if you still have no joy get your hands dirty in the
 /etc/exim/exim.config file

 you might have to reboot to get those changes to take effect.
snip

N! A reboot is _NOT_ needed for changes in the exim.config 
file to be realized. 

/etc/init.d/exim restart is your friend, and that only matters if it's running 
in daemon mode. If it's fired by inetd, then the config file is parsed 
whenever inetd fires up exim.

I'm convinced the magic reboot habit is the single worst thing that 
Microsoft has done for computer users accross the globe.

Sean

- -- 

GPG Public Key available: http://sean.gutenpress.org/sean.asc

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9jc7JEEGQgHny9sQRAvxPAKCHbKd1l1ASVbyQmJz+yIBg7K1v9QCgpjJp
+i5LlNlTkOAtXt6XlAmpgc8=
=EKpg
-END PGP SIGNATURE-


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




Re: Exim configuration - filtering and aliases

2002-09-09 Thread Rune Morling

On 15 Jul 2002 at 17:32, Derrick 'dman' Hudson wrote:
[ a few hints to get started on ]

Hello everyone,

Well, since I have now managed to find a solution, I though - in the 
spirit of sharing - I would post my solution to this particular 
configuration question.

Summary:
I have 3 (trusted) local users. Each local user has different virtual 
domains, each of which he wants to be able control seperately. The 
setup is based on exim and courierIMAP.

Disclaimer
This setup worked for me. The following is merely a suggestion posted 
in the hope that it could perhaps be useful to anyone trying to make 
a setup similar to mine.  Oh, I almost forgot: I am by no means an 
exim wizard, so go read at least the introduction of the exim 
specification to get an idea of how it all works together.
/Disclaimer

This is what I did:

## Begin changes to exim.conf:
# main section
local_domains = dbm;/etc/mail/domains.db

# Transports configuration
# Make it work with courierIMAP and maildirs
local_delivery:
driver = appendfile
group = mail
mode = 0660
mode_fail_narrower = false
envelope_to_add = true
return_path_add = true
directory = /home/${local_part}/Maildir/
maildir_format
create_directory

# Director configuration:

# Custom virtual domains director
# - allow a single alias file for each virtual domain
# - chapter 43.2 in exim spec

virtual:
  driver = aliasfile
  skip_syntax_errors = true
  domains = dbm;/etc/mail/domains.db
  file = /etc/mail/alias.$domain
  search_type = lsearch*@
  no_more
## End changes to exim.conf

## Begin /etc/mail/domains
domain1
domain2
# you get the picture ...
## End /etc/mail/domains

## Begin /etc/mail/alias.domain1 (owned by user3)
# give user1 a few aliases
user1:  user1
alias:  user1
alias:  user1
alias:  user1

# give user2 af few aliases
user2:  user2
alias:  user2

# star alias - send the rest to user3
*:  user3
## End /etc/mail.alias.domain1

And that was basically it. I'm impressed with how well the 
exim/courierimap setup runs on my lowly K6-200 w/ 80 MB RAM, an old 
IDE disk and plenty of other servers running. Anyway, this setup 
makes for a nice little workgroup mail server ...

With regards to the choice of MUA, KMail seems to be quite a nice 
match with my setup. On a similar note, I have yet to find a 
Microsoft Windows MUA that works really well with IMAP. I currently 
use Pegasus mail ver. 4.02 but it does not seem to cache headers as 
well as KMail apparently does (if it caches  them at all ?).

Kind regards,

Rune
-- 
Rune Morling [EMAIL PROTECTED]


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




Re: exim configuration

2002-05-22 Thread dman
On Tue, May 21, 2002 at 06:03:16AM -0400, Tom Allison wrote:
| | $ host -t mx tacocat.net
| | 
| | This is a problem.  You have no A *and* no MX records for your domain.
| | RoadRunner's smtp servers are rejecting any mails whose return address
| | has a domain that can't be contacted.  If their server did accept the
| | mail, and then had to bounce it for some reason (eg the recipient is
| | over their quota), they would be stuck with an undeliverable bounce
| | message.

| hmmm...  Good point.
| I wonder then, how I'm supposed to create an MX / A record in dyndns.org.
| They provide a form for it, and if I do
| dig @ns1.mydyndns.org -MX tacocat.net
| it comes up OK as janus.tacocat.net
| but you say it doesn't.  I wonder what the problem is.

Timing maybe?  Now I see the MX :

$ host -t mx tacocat.net
tacocat.net mail is handled by 10 janus.tacocat.net.

Are you still getting that error now?

HTH,
-D
 
-- 

He who walks with the wise grows wise,
but a companion of fools suffers harm.
Proverbs 13:20
 
GnuPG key : http://dman.ddts.net/~dman/public_key.gpg



pgpJzv4W43ECu.pgp
Description: PGP signature


Re: exim configuration

2002-05-22 Thread Tom Allison

dman wrote:


On Tue, May 21, 2002 at 06:03:16AM -0400, Tom Allison wrote:
| | $ host -t mx tacocat.net
| | 
| | This is a problem.  You have no A *and* no MX records for your domain.

| | RoadRunner's smtp servers are rejecting any mails whose return address
| | has a domain that can't be contacted.  If their server did accept the
| | mail, and then had to bounce it for some reason (eg the recipient is
| | over their quota), they would be stuck with an undeliverable bounce
| | message.

| hmmm...  Good point.
| I wonder then, how I'm supposed to create an MX / A record in dyndns.org.
| They provide a form for it, and if I do
| dig @ns1.mydyndns.org -MX tacocat.net
| it comes up OK as janus.tacocat.net
| but you say it doesn't.  I wonder what the problem is.

Timing maybe?  Now I see the MX :

$ host -t mx tacocat.net
tacocat.net mail is handled by 10 janus.tacocat.net.

Are you still getting that error now?

HTH,
-D



I finally got it fixed, it was a DNS fault of mine.
What I'm trying to figure out is getting this server to act as a relay 
for sending my ISP email and as a destination for tacocat.net.  I can 
use fetchmail to grab my ISP email.
Unfortunately there doesn't seem to be a very clear nomenclature of how 
I would configure this under exim.  I've tried reading the exim 
documentation for the configuration, but it's written assuming you are 
already familiar with everything to do with exim and exim.conf and just 
need a reference.  Very difficult to find a simple answer.


Originally I was trying qmail, but I never got it running.  Don't 
remember why, might have just forgotten where I was in the process.  And 
I figured I would look at exim since it's already in there.  But the 
configuration process, beyond the script, seems to be a little hard to 
understand.   Maybe all I need is a fresh pot of coffee and a little 
more RTM.




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




Re: exim configuration

2002-05-22 Thread dman
On Wed, May 22, 2002 at 06:42:08AM -0400, Tom Allison wrote:
| dman wrote:
| On Tue, May 21, 2002 at 06:03:16AM -0400, Tom Allison wrote:
| | | $ host -t mx tacocat.net
| | | 
| | | This is a problem.  You have no A *and* no MX records for your domain.
| | | RoadRunner's smtp servers are rejecting any mails whose return address
| | | has a domain that can't be contacted.  If their server did accept the
| | | mail, and then had to bounce it for some reason (eg the recipient is
| | | over their quota), they would be stuck with an undeliverable bounce
| | | message.
| 
| | hmmm...  Good point.
| | I wonder then, how I'm supposed to create an MX / A record in dyndns.org.
| | They provide a form for it, and if I do
| | dig @ns1.mydyndns.org -MX tacocat.net
| | it comes up OK as janus.tacocat.net
| | but you say it doesn't.  I wonder what the problem is.
| 
| Timing maybe?  Now I see the MX :
| 
| $ host -t mx tacocat.net
| tacocat.net mail is handled by 10 janus.tacocat.net.
| 
| Are you still getting that error now?
|
| I finally got it fixed, it was a DNS fault of mine.
| What I'm trying to figure out is getting this server to act as a relay 
| for sending my ISP email and as a destination for tacocat.net.

Let's see if I understand the situation :

1)  this machine is the incoming server for the 'tacocat.net'
domain.  it is a real server on the internet (as opposed to
an end-user terminal on a dial-up or something like that)

2)  you also have an account with an ISP 

3)  you want mail sent to your account at the ISP to arrive on
your server and get delivered locally

4) you want to use your ISP's server for outgoing mail?

I think you have #1 set up properly.  For #3 you have 2 choices : use
a client program (fetchmail) to get the mail from the ISP and redirect
it to your local account OR setup your ISP account to forward mail to
your tacocat.net account.

For #4 (at the same time as #1) you need to edit the config file
yourself.  It's really easy, once you understand 1) how SMTP works and
2) how exim is designed.

Is #4 correct?  If so I'll give you the config for that since it's
quite simple.

| I've tried reading the exim documentation for the configuration, but
| it's written assuming you are already familiar with everything to do
| with exim and exim.conf and just need a reference.  Very difficult
| to find a simple answer.

It's written with the assumption that you know how SMTP works.  It
doesn't include a copy of RFC 2821 in its own docs :-).

The other key to reading the exim spec is to have a sample config file
to follow at the same time.  The upstream exim release has such a
file, and the debian 'eximconfig' program can generate them too.

HTH,
-D

-- 

Come to me, all you who are weary and burdened, and I will give you
rest.  Take my yoke upon you and learn from me, for I am gentle and
humble in heart, and you will find rest for your souls.  For my yoke
is easy and my burden is light.
Matthew 11:28-30
 
GnuPG key : http://dman.ddts.net/~dman/public_key.gpg



pgpW7DqDYRADW.pgp
Description: PGP signature


Re: exim configuration

2002-05-21 Thread Tom Allison
hmmm...  Good point.
I wonder then, how I'm supposed to create an MX / A record in dyndns.org.
They provide a form for it, and if I do
dig @ns1.mydyndns.org -MX tacocat.net
it comes up OK as janus.tacocat.net
but you say it doesn't.  I wonder what the problem is.

$ host -t mx tacocat.net

This is a problem.  You have no A *and* no MX records for your domain.
RoadRunner's smtp servers are rejecting any mails whose return address
has a domain that can't be contacted.  If their server did accept the
mail, and then had to bounce it for some reason (eg the recipient is
over their quota), they would be stuck with an undeliverable bounce
message.


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



Re: exim configuration

2002-05-21 Thread Matthew Daubenspeck
On Tue, May 21, 2002 at 06:03:16AM -0400, Tom Allison wrote:
 hmmm...  Good point.
 I wonder then, how I'm supposed to create an MX / A record in dyndns.org.
 They provide a form for it, and if I do
 dig @ns1.mydyndns.org -MX tacocat.net
 it comes up OK as janus.tacocat.net
 but you say it doesn't.  I wonder what the problem is.
 
 $ host -t mx tacocat.net
 
 This is a problem.  You have no A *and* no MX records for your domain.
 RoadRunner's smtp servers are rejecting any mails whose return address
 has a domain that can't be contacted.  If their server did accept the
 mail, and then had to bounce it for some reason (eg the recipient is
 over their quota), they would be stuck with an undeliverable bounce
 message.

Here is my dig response, if it is worth anything...

;  DiG 9.2.0  tacocat.net MX
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 47701
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL:
6

;; QUESTION SECTION:
;tacocat.net.   IN  MX

;; ANSWER SECTION:
tacocat.net.86400   IN  MX  10 janus.tacocat.net.

;; AUTHORITY SECTION:
tacocat.net.86400   IN  NS  ns4.mydyndns.org.
tacocat.net.86400   IN  NS  ns5.mydyndns.org.
tacocat.net.86400   IN  NS  ns1.mydyndns.org.
tacocat.net.86400   IN  NS  ns2.mydyndns.org.
tacocat.net.86400   IN  NS  ns3.mydyndns.org.

;; ADDITIONAL SECTION:
janus.tacocat.net.  60  IN  A   24.208.241.254
ns4.mydyndns.org.   172795  IN  A   212.100.224.176
ns5.mydyndns.org.   172795  IN  A   66.37.215.46
ns1.mydyndns.org.   172795  IN  A   66.37.215.45
ns2.mydyndns.org.   172795  IN  A   216.7.11.132
ns3.mydyndns.org.   172795  IN  A   64.71.191.27

;; Query time: 43 msec
;; SERVER: 192.168.0.4#53(192.168.0.4)
;; WHEN: Tue May 21 08:

MX looks fine to me.


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



Re: exim configuration

2002-05-19 Thread dman
On Fri, May 17, 2002 at 11:59:49PM -0400, Tom Allison wrote:
[...] 
| All three of you helped explain it to me.
| I got this far (from the base server [option 1]):
| 
| 2002-05-17 23:57:29 178vLV-0001QC-00 = [EMAIL PROTECTED] 
| U=tallison P=local S=351
| 2002-05-17 23:57:29 178vLV-0001QC-00 ** [EMAIL PROTECTED] 
| R=lookuphost T=remote_smtp: SMTP error from remote mailer
| after MAIL FROM:[EMAIL PROTECTED] SIZE=1384: host 
| ohmx02.mgw.rr.com [65.24.0.110]: 553 5.1.8 [EMAIL PROTECTED]
| ... Domain of sender address [EMAIL PROTECTED] does not exist

This means that the other server rejected your attempt to send through
it.  Your exim has nothing wrong, but notice the cause of the error :

$ host -t any tacocat.net
tacocat.net name server NS3.MYDYNDNS.ORG.
tacocat.net name server NS4.MYDYNDNS.ORG.
tacocat.net name server NS5.MYDYNDNS.ORG.
tacocat.net name server NS1.MYDYNDNS.ORG.
tacocat.net name server NS2.MYDYNDNS.ORG.

Ok, so your domain has some name servers that are authoritative for
it, but no A record.  That itself is not a problem since a *domain*
doesn't _need_ an A record.  You can have A records for individual
hosts in your domain instead (eg www.tacocat.net, mail.tacocat.net,
etc).

$ host -t mx tacocat.net

This is a problem.  You have no A *and* no MX records for your domain.
RoadRunner's smtp servers are rejecting any mails whose return address
has a domain that can't be contacted.  If their server did accept the
mail, and then had to bounce it for some reason (eg the recipient is
over their quota), they would be stuck with an undeliverable bounce
message.

The solution is to either not try and use that domain as your email
address, or to correct the DNS records for it.

HTH,
-D

-- 

A perverse man stirs up dissension,
and a gossip separates close friends.
Proverbs 16:28
 
GnuPG key : http://dman.ddts.net/~dman/public_key.gpg



pgp7QlWtOuiij.pgp
Description: PGP signature


Re: exim configuration

2002-05-18 Thread Tom Allison

Dave Sherohman wrote:

On Thu, May 16, 2002 at 10:33:57PM -0400, Tom Allison wrote:

The problem I have is that I'm not really clear on what of the 5 choices 
I should pick up for the Server versus the various clients I have, which 
are running exim as localhost mail.


Can someone give me a rough sketch of where I might start?



You'll want to base the server on option 1 (Internet site) or 2
(Internet site using smarthost), depending on whether you feel a need
to route all outgoing mail through your ISP's server.  A few sites
will refuse to accept mail from 'unknown' machines and may assume
you're a spammer if you don't use your ISP to launder the mail.
Personally, though, I don't use a smarthost as these sites are few
and far between these days, provided that you have a static IP
address.

For the clients, use option 3 (Satellite system), using your mail
server as the smarthost.



All three of you helped explain it to me.
I got this far (from the base server [option 1]):

2002-05-17 23:57:29 178vLV-0001QC-00 = [EMAIL PROTECTED] 
U=tallison P=local S=351
2002-05-17 23:57:29 178vLV-0001QC-00 ** [EMAIL PROTECTED] 
R=lookuphost T=remote_smtp: SMTP error from remote mailer
after MAIL FROM:[EMAIL PROTECTED] SIZE=1384: host 
ohmx02.mgw.rr.com [65.24.0.110]: 553 5.1.8 [EMAIL PROTECTED]

... Domain of sender address [EMAIL PROTECTED] does not exist
2002-05-17 23:57:29 178vLV-0001QE-00 =  R=178vLV-0001QC-00 U=mail 
P=local S=1329
2002-05-17 23:57:29 178vLV-0001QC-00 Error message sent to 
[EMAIL PROTECTED]

2002-05-17 23:57:29 178vLV-0001QC-00 Completed
2002-05-17 23:57:29 178vLV-0001QE-00 = tallison 
[EMAIL PROTECTED] D=localuser T=local_delivery

2002-05-17 23:57:29 178vLV-0001QE-00 Completed



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




exim configuration

2002-05-17 Thread Tom Allison

I think I'm getting stuck on this configuration.
Below is the last (summary) screen of the eximconfig process.
What I'm trying to do is use this to send email from my own domain 
(tacocat.net) that is sent to this machine from others on the network 
AND to relay email I'm sending out with my ISP's address.
I was going to use fetchmail to grab email from my ISP and put it down 
on this computer.

Should be changed to:
remove twmi.rr.com from the referring domains
add twmi.rr.com as a relayed domain


The following configuration has been entered:

==
Mail generated on this system will have `tacocat.net' used
as the domain part (after the @) in the From: field and similar places.

The following domain(s) will be recognised as referring to this system:
 localhost, tacocat.net, twmi.rr.com


Messages for all domains that we MX for will be relayed

Mail for postmaster, root, etc. will be sent to root.

Local mail is delivered.

Outbound remote mail is looked up in the Internet DNS, and delivered
using that data if any is found; otherwise such messages are bounced.


Is this OK ?  Hit Return or type `y' to confirm it and install,
or `n' to make changes (in which case we'll go round again, giving you


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




Re: exim configuration

2002-05-17 Thread Dave Sherohman
On Thu, May 16, 2002 at 10:33:57PM -0400, Tom Allison wrote:
 The problem I have is that I'm not really clear on what of the 5 choices 
 I should pick up for the Server versus the various clients I have, which 
 are running exim as localhost mail.
 
 Can someone give me a rough sketch of where I might start?

You'll want to base the server on option 1 (Internet site) or 2
(Internet site using smarthost), depending on whether you feel a need
to route all outgoing mail through your ISP's server.  A few sites
will refuse to accept mail from 'unknown' machines and may assume
you're a spammer if you don't use your ISP to launder the mail.
Personally, though, I don't use a smarthost as these sites are few
and far between these days, provided that you have a static IP
address.

For the clients, use option 3 (Satellite system), using your mail
server as the smarthost.

-- 
When we reduce our own liberties to stop terrorism, the terrorists
have already won. - reverius

Innocence is no protection when governments go bad. - Tom Swiss


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



Re: exim configuration

2002-05-17 Thread dman
On Fri, May 17, 2002 at 06:51:20AM -0400, Tom Allison wrote:
| I think I'm getting stuck on this configuration.
| Below is the last (summary) screen of the eximconfig process.
| What I'm trying to do is use this to send email from my own domain 
| (tacocat.net) that is sent to this machine from others on the network 
| AND to relay email I'm sending out with my ISP's address.
| I was going to use fetchmail to grab email from my ISP and put it down 
| on this computer.
| Should be changed to:
| remove twmi.rr.com from the referring domains

What that message really means is local domains.  (referring to this
system)

| add twmi.rr.com as a relayed domain
| 

If I understand correctly, twmi.rr.com is your ISP and is NOT your own
machine.  As such it should not be mentioned as a local domain.  Just
leave it out completely and it will be treated as any other non-local
domain.  The local domains are the domains that you own and which are
hosted by your machine.  If you send a message to
[EMAIL PROTECTED] you want it to be handed off to one of the MX
handlers for twmi.rr.com.  You don't want to try and deliver it
locally.  You also do not want to mention it as a domain you are
relaying for because there are no MX records for that domain which
list your host as a server.

| The following configuration has been entered:
| 
| ==
| Mail generated on this system will have `tacocat.net' used
| as the domain part (after the @) in the From: field and similar places.
| 
| The following domain(s) will be recognised as referring to this system:
|  localhost, tacocat.net, twmi.rr.com
 
| Local mail is delivered.
 
HTH,
-D

-- 

If your life is a hard drive,
Christ can be your backup.
 
GnuPG key : http://dman.ddts.net/~dman/public_key.gpg



pgpuqvOEUeI9I.pgp
Description: PGP signature


Re: exim configuration

2002-05-17 Thread Paul 'Baloo' Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 17 May 2002, Dave Sherohman wrote:

 You'll want to base the server on option 1 (Internet site) or 2
 (Internet site using smarthost), depending on whether you feel a need
 to route all outgoing mail through your ISP's server.  A few sites
 will refuse to accept mail from 'unknown' machines and may assume
 you're a spammer if you don't use your ISP to launder the mail.

Checking against ISP customer IP pools is pretty rare.  My ISP's
mailserver is blocked by three RBLs I check against at last check, I'd
rather not route outbound through servers with known stupid admins.

 Personally, though, I don't use a smarthost as these sites are few
 and far between these days, provided that you have a static IP
 address.

Yup.  Mostly because assuming a particular ISP is a spammer based
entirely on the fact it's on the other side of a dialup, cable modem, or
DSL bridge fromt he rest of the net is draconian and considered stupid
by most admins.

- -- 
Baloo


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE85bvqNtWkM9Ny9xURAvZaAJ9LrreeKKsX47lPK+0JgxlMyM2lPgCfbpF6
vhlmQbehHr37ieRayK/9AgY=
=jzy7
-END PGP SIGNATURE-



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



exim configuration

2002-05-16 Thread Tom Allison
I'm not sure of the terms of what I'm trying to configure here, but this 
is what I was hoping to do...
I have several machines that are various desktop workstations all with 
exim configured on them to do smarthost forwarding to another server. 
Currently that server is my ISP.
I would like to be able to change this so that it is forwarded to 
another PC which would be dedicated to email serving from both my ISP 
account (fetchmail) and my own MX record.


The problem I have is that I'm not really clear on what of the 5 choices 
I should pick up for the Server versus the various clients I have, which 
are running exim as localhost mail.


Can someone give me a rough sketch of where I might start?


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




  1   2   >