Re: trouble with fetchmail via exim

2000-08-25 Thread cls-colo spgs
hi,

...mind if i join in the fun?

i can follow mr. deackes's info, and thx for providing it.

using mutt, i can  compose and send  an email.  but  the from line has the
incorrect  sender address ([EMAIL PROTECTED]).btw, bt is my non-root 
user
account.my email addy is [EMAIL PROTECTED]   (so, i need to change,
[EMAIL PROTECTED] to [EMAIL PROTECTED] in the from line of emails.)  do i 
have to
adduser pplaw to the box  and  then login as pplaw? (i'd rather not have to 
do
this,  but i certally will if it's the only way it'll work.)

ia, t.

bentley taylor
 (potato on 2.2.16)

//

Phillip Deackes wrote:

 Michael Banck [EMAIL PROTECTED] wrote:
 
  Don't know if this is applyable here, just pointing out a potential
  problem. Actually, I don't really have a domain name for my local
  network (i.e. my desktp and my notebook) I just use hostnames. How
  do
  I set up a domain name in Debian?

 OK. I too use GMX. Excellent service too.

 My machine's name (hostname) is scgf. If I look in /etc/hosts I see:

 127.0.0.1   scgf localhost

 In /etc/hostname:

 scgf

 scgf does not exist in the real world, just on my machine.

 My /etc/exim.conf it set up like this (there is a lot more besides, of
 course, but these lines are relevant to this thread):

 qualify_domain = gmx.co.uk
 qualify_recipient = scgf.gmx.co.uk
 local_domains = localhost:scgf.gmx.co.uk
 host_accept_relay = localhost

 The above lines ensure that all outgoing mail appears to come from
 [EMAIL PROTECTED] Local mail is delivered locally and does not leave my
 system. All incoming mail from my ISP, collected by fetchmail, is
 detected by Exim and is delivered according to the filters in my
 ~/.forward file. Using the hostname avaoids the problem you mentioned,
 Michael, where gmx.net (or gmx.co.uk in my case) would otherwise be seen
 as a local domain and mail to other gmx.net users would not leave the
 system.

 --
 Phillip Deackes
 Using Storm Linux

 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null

 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null



Re: trouble with fetchmail via exim

2000-08-25 Thread J.P. Larocque
In mutt, right before you send a message you can change the From: line with
'escf'.  However, a better way to go about your problem would be to add a
line to your ~/.muttrc with something like

my_hdr From: [EMAIL PROTECTED]

Every time you send e-mail, this e-mail address will be used for the From:
line.

-- 
 J.P. Larocque, known online as piranha
 [EMAIL PROTECTED]

On Fri, Aug 25, 2000 at 11:01:14AM -0600, cls-colo spgs wrote:
 using mutt, i can  compose and send  an email.  but  the from line has the
 incorrect  sender address ([EMAIL PROTECTED]).btw, bt is my non-root 
 user
 account.my email addy is [EMAIL PROTECTED]   (so, i need to change,
 [EMAIL PROTECTED] to [EMAIL PROTECTED] in the from line of emails.)  do 
 i have to
 adduser pplaw to the box  and  then login as pplaw? (i'd rather not have 
 to do
 this,  but i certally will if it's the only way it'll work.)



Re: trouble with fetchmail via exim (wrong address)

2000-08-25 Thread Esko Lehtonen
On Fri, Aug 25, 2000 at 11:01:14AM -0600, cls-colo spgs wrote:
 hi,
 
 ...mind if i join in the fun?
 
 i can follow mr. deackes's info, and thx for providing it.
 
 using mutt, i can  compose and send  an email.  but  the from line has the
 incorrect  sender address ([EMAIL PROTECTED]).btw, bt is my non-root 
 user
 account.my email addy is [EMAIL PROTECTED]   (so, i need to change,
 [EMAIL PROTECTED] to [EMAIL PROTECTED] in the from line of emails.)  do 
 i have to
 adduser pplaw to the box  and  then login as pplaw? (i'd rather not have 
 to do
 this,  but i certally will if it's the only way it'll work.)
 
 ia, t.
 
 bentley taylor
  (potato on 2.2.16)


Well, at least my exim setup using eximconfig made this to the end of 
/etc/exim.conf

# There are no rewriting specifications in this default configuration file.
#
# This rewriting rule is particularly useful for dialup users who
# 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]${lookup{$1}lsearch{/etc/email-addresses}\
{$value}fail} bcfrF

I have added 

eplehton: [EMAIL PROTECTED] 

to my /etc/email-addresses and exim seems to change [EMAIL PROTECTED] 
correctlyto my real address.



 
 //
 
 Phillip Deackes wrote:
 
  Michael Banck [EMAIL PROTECTED] wrote:
  
   Don't know if this is applyable here, just pointing out a potential
   problem. Actually, I don't really have a domain name for my local
   network (i.e. my desktp and my notebook) I just use hostnames. How

cutted out

 

 WYSINWYG - What You See Is Never What You Get

 Esko Lehtonen
 esko dot lehtonen at pp dot htv dot fi



Re: trouble with fetchmail via exim (wrong address)

2000-08-25 Thread cls-colo spgs
hi esko,

ah-ha!  yes, that did the trick.

thx for your help.

bentley taylor.
 (potato on 2.2.16)

//


Esko Lehtonen wrote:

 On Fri, Aug 25, 2000 at 11:01:14AM -0600, cls-colo spgs wrote:
  hi,
 
  ...mind if i join in the fun?
 
  i can follow mr. deackes's info, and thx for providing it.
 
  using mutt, i can  compose and send  an email.  but  the from line has the
  incorrect  sender address ([EMAIL PROTECTED]).btw, bt is my 
  non-root user
  account.my email addy is [EMAIL PROTECTED]   (so, i need to change,
  [EMAIL PROTECTED] to [EMAIL PROTECTED] in the from line of emails.)  
  do i have to
  adduser pplaw to the box  and  then login as pplaw? (i'd rather not 
  have to do
  this,  but i certally will if it's the only way it'll work.)
 
  ia, t.
 
  bentley taylor
   (potato on 2.2.16)

 Well, at least my exim setup using eximconfig made this to the end of 
 /etc/exim.conf

 # There are no rewriting specifications in this default configuration file.
 #
 # This rewriting rule is particularly useful for dialup users who
 # 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]${lookup{$1}lsearch{/etc/email-addresses}\
 {$value}fail} bcfrF

 I have added

 eplehton: [EMAIL PROTECTED]

 to my /etc/email-addresses and exim seems to change [EMAIL PROTECTED] 
 correctlyto my real address.

 
  //
 
  Phillip Deackes wrote:
 
   Michael Banck [EMAIL PROTECTED] wrote:
   
Don't know if this is applyable here, just pointing out a potential
problem. Actually, I don't really have a domain name for my local
network (i.e. my desktp and my notebook) I just use hostnames. How

 cutted out


 
  WYSINWYG - What You See Is Never What You Get

  Esko Lehtonen
  esko dot lehtonen at pp dot htv dot fi

 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null



Re: trouble with fetchmail via exim

2000-08-25 Thread Phillip Deackes
cls-colo spgs [EMAIL PROTECTED] wrote:
 
 using mutt, i can  compose and send  an email.  but  the from line
 has the
 incorrect  sender address ([EMAIL PROTECTED]).btw, bt is my
 non-root user
 account.my email addy is [EMAIL PROTECTED]   (so, i need to
 change,
 [EMAIL PROTECTED] to [EMAIL PROTECTED] in the from line of emails.) 
 do i have to
 adduser pplaw to the box  and  then login as pplaw? (i'd rather
 not have to do
 this,  but i certally will if it's the only way it'll work.)

The best way of sorting this system-wide is to add a re-writing rule to
your /etc/exim.conf. On my system I have a user called scott and his
email address would be set by exim as [EMAIL PROTECTED] Unfortunately his
email address is actually [EMAIL PROTECTED] This is the line I needed to
add:

[EMAIL PROTECTED] [EMAIL PROTECTED] Ffsr

This means that when exim sees [EMAIL PROTECTED] it changes it to
[EMAIL PROTECTED] The line is added right at the end of /etc/exim.conf -
you will see similar lines commented out.


-- 
Phillip Deackes
Using Storm Linux



Re: trouble with fetchmail via exim

2000-08-23 Thread Michael Banck
On Tue, Aug 22, 2000 at 07:21:37PM +0200, Andreas Hetzmannseder wrote:
 So I reconfigured exim. Now it says:
 The following domain(s) will be recognized as referring to this
 system: woof, netway.at
 with 'netway.at' being the second part of my e-mail address. The problem
 remains. Did I make a stupid entry? Is there something else missing?

Maybe. I had this kind of problem before, I am not an exim adept, but
by putting my domain name gmx.net (which is some sort of freemail
service like Hotmail in Europe) in, Exim started trying to deliver
mails to other GMX users ([EMAIL PROTECTED]) locally, which obviously ended
in Recipient unknown or whatever.

Don't know if this is applyable here, just pointing out a potential
problem. Actually, I don't really have a domain name for my local
network (i.e. my desktp and my notebook) I just use hostnames. How do
I set up a domain name in Debian?

Michael Banck



Re: trouble with fetchmail via exim

2000-08-23 Thread Phillip Deackes
Michael Banck [EMAIL PROTECTED] wrote:
 
 Don't know if this is applyable here, just pointing out a potential
 problem. Actually, I don't really have a domain name for my local
 network (i.e. my desktp and my notebook) I just use hostnames. How
 do
 I set up a domain name in Debian?

OK. I too use GMX. Excellent service too.

My machine's name (hostname) is scgf. If I look in /etc/hosts I see:

127.0.0.1   scgf localhost

In /etc/hostname:

scgf

scgf does not exist in the real world, just on my machine.

My /etc/exim.conf it set up like this (there is a lot more besides, of
course, but these lines are relevant to this thread):

qualify_domain = gmx.co.uk
qualify_recipient = scgf.gmx.co.uk 
local_domains = localhost:scgf.gmx.co.uk
host_accept_relay = localhost

The above lines ensure that all outgoing mail appears to come from
[EMAIL PROTECTED] Local mail is delivered locally and does not leave my
system. All incoming mail from my ISP, collected by fetchmail, is
detected by Exim and is delivered according to the filters in my
~/.forward file. Using the hostname avaoids the problem you mentioned,
Michael, where gmx.net (or gmx.co.uk in my case) would otherwise be seen
as a local domain and mail to other gmx.net users would not leave the
system.


-- 
Phillip Deackes
Using Storm Linux



Re: trouble with fetchmail via exim

2000-08-22 Thread Dave Sherohman
Andreas Hetzmannseder said:
 The following domain(s) will be recognized as referring to this
 system: woof

Unless your incoming email is addressed to [EMAIL PROTECTED], exim will not 
recognize
it as being for a user on your system.  You need to give exim a valid local
domain.

-- 
Two words: Windows survives. - Craig Mundie, Microsoft senior strategist
So does syphillis. Good thing we have penicillin. - Matthew Alton
Geek Code 3.1:  GCS d- s+: a- C++ UL++$ P L+++ E- W--(++) N+ o+
!K w---$ O M- V? PS+ PE Y+ PGP t 5++ X+ R++ tv b+ DI D G e* h+ r++ y+



Re: trouble with fetchmail via exim

2000-08-22 Thread Dave Sherohman
Florian Friesdorf said:
 I just switch over from qmail to exim.
 my fetchmailrc looks very similar, except I'm not using the mda option.
 Somehow fetchmail knows how to contact exim.

Your MTA (exim, qmail, sendmail, whatever) listens for connections on port
25.  fetchmail connects to port 25 to deliver messages.

-- 
Two words: Windows survives. - Craig Mundie, Microsoft senior strategist
So does syphillis. Good thing we have penicillin. - Matthew Alton
Geek Code 3.1:  GCS d- s+: a- C++ UL++$ P L+++ E- W--(++) N+ o+
!K w---$ O M- V? PS+ PE Y+ PGP t 5++ X+ R++ tv b+ DI D G e* h+ r++ y+



Re: trouble with fetchmail via exim

2000-08-22 Thread Andreas Hetzmannseder
Florian Friesdorf wrote:
 
 On Tue, Aug 22, 2000 at 02:32:49AM +0200, Andreas Hetzmannseder wrote:
  [...]
  My ~/.fetchmailrc looks like this:
 
  poll pop.netway.at
  proto pop3
  user my-remote-username
  password my-password
  is andy here
  mda /usr/bin/exim
 
 I just switch over from qmail to exim.
 my fetchmailrc looks very similar, except I'm not using the mda option.
 Somehow fetchmail knows how to contact exim.
 
 But if you use the mda option, I think it should be
 
 mda /usr/bin/exim -bs
 
 That's the way exim gets called from inetd.
 [...]

fetchmail complains about the -bs switch. It says 'parse error'...
problem remains...

Regards,
Andreas.




Re: trouble with fetchmail via exim

2000-08-22 Thread Andreas Hetzmannseder
Dave Sherohman wrote:
 
 Andreas Hetzmannseder said:
  The following domain(s) will be recognized as referring to this
  system: woof
 
 Unless your incoming email is addressed to [EMAIL PROTECTED], exim will not 
 recognize
 it as being for a user on your system.  You need to give exim a valid local
 domain.

So I reconfigured exim. Now it says:
The following domain(s) will be recognized as referring to this
system: woof, netway.at
with 'netway.at' being the second part of my e-mail address. The problem
remains. Did I make a stupid entry? Is there something else missing?

Interestingly the error messages differ in respect to whether the mda
option in ~/fetchmailrc is specified or not. If it is it says:
'...neither action flags...' etc.
if it is not it says:
'...SMTP transaction error...

Kind regards,
Andreas.



trouble with fetchmail via exim

2000-08-21 Thread Andreas Hetzmannseder
Dear debian-users,

I ran fetchmail, it read the first incoming message, but then it stopped
and told me the following:
..exim: neither action flags nor mail addresses given.
fetchmail terminated with signal 13

My ~/.fetchmailrc looks like this:

poll pop.netway.at
proto pop3
user my-remote-username
password my-password
is andy here
mda /usr/bin/exim

eximconfig gives me the following summary:

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

The following domain(s) will be recognized as referring to this
system: woof

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

Local mail is delivered.

Outbound remote mail is sent via smtp.netway.at.

If anybody knows, what might be wrong or missing, please let me know.
Thanks in advance,
Andreas.



Re: trouble with fetchmail via exim

2000-08-21 Thread Florian Friesdorf
On Tue, Aug 22, 2000 at 02:32:49AM +0200, Andreas Hetzmannseder wrote:
 Dear debian-users,
 
 I ran fetchmail, it read the first incoming message, but then it stopped
 and told me the following:
 ..exim: neither action flags nor mail addresses given.
 fetchmail terminated with signal 13
 
 My ~/.fetchmailrc looks like this:
 
 poll pop.netway.at
 proto pop3
 user my-remote-username
 password my-password
 is andy here
 mda /usr/bin/exim

I just switch over from qmail to exim.
my fetchmailrc looks very similar, except I'm not using the mda option.
Somehow fetchmail knows how to contact exim.

But if you use the mda option, I think it should be

mda /usr/bin/exim -bs

That's the way exim gets called from inetd.

-ff

-- 
 Florian Friesdorf [EMAIL PROTECTED]
OpenPGP key available on public key servers

-- Save the future of Open Source --
- Online-Petition against Software Patents -
-- http://petition.eurolinux.org ---


pgp6NMnwzL1QI.pgp
Description: PGP signature