procmail
[Top] [All Lists]

Re: get receiver-adress

2001-11-17 05:19:44
On Fri, Nov 16, 2001 at 09:32:57AM -0800, Professional Software Engineering 
wrote:
Hello.  You've posted pretty much the same request three times 
now.  Resending it a bunch of times isn't going to change the fact that 
people here may not be prepared to walk you through the process of dealing 
with messages which may have long since lost their original envelope 
addresses.  I don't really have the time to deal with this either, but it 
looks as if you don't get an answer, you're going to keep posting this at 
least twice a day until you do.

Yes, I know. But now there is an answer. The first time I got an errormessage
that I'm not subscribed to the mailinglist (but I was), and then I subscribed
and posted again. But now I get all messages from this mailinglist two times.
That's strage.

How can I get the receiver adress? The problem is, that mails send to
***(_at_)server0(_dot_)de are forwardet by the provider to gmx,
# host -t MX server0.de
server0.de mail is handled (pri=10) by mailin.webmailer.de
Is this ="gmx", or is this the "provider" that is forwarding to "gmx" ?

The provider of server0.de is forwarding to gmx, server is fetching from gmx,
and my workstation is fetching from server.

and fetchmail fetches the mails from gmx.
Keep in mind that this forum isn't a support forum for fetchmail, so if you 
have configuration issues with that program, you'll need to check it's 
documentation for information on where to send queries about it (presuming 
that you've first read the documentation for it).

That only was an information, not a question.

Then the mails to *(_at_)server0(_dot_)de are in my mailbox, but I wanna 
have them 
send to the local *(_at_)server0(_dot_)de
Your "mailbox" is on server0.de?  "local" could mean "local to your 
network", or "local to this machine".

Local in this case means on server. in /var/mail/user. Then workstation is
fetching from server.

I presume that server0.de isn't on a fulltime net connect -- but if you'd 
just use a ddns service, this wouldn't pose a problem.  In fact, if your 
server were configured to be the primary MX, then if you were online at the 
time, the mail would actually be delivered directly to you.

I use a dyn-dns service, and I'm always online, except of 2-3 minutes the day.

It'd provide a direct route for your email, allow your mail to actually 
arrive via SMTP instead of being "fetched" via POP/IMAP, and would 
generally be FAR more efficient on network bandwidth consumption.

Do you mean that the provider from server0.de directly sends mails to my
server (with my dyndns-alias)?
That would be an idea.

so I have to set a filter with procmail which simply sends mails with 
*(_at_)server0(_dot_)de as receiver to the receiver
Why isn't fetchmail delivering them properly?  Do you not have fetchmail 
configured properly?

Mhm? How can fetchmail provide incomming mails? Procmail is used by fetchmail,
isn't it?

If you still insist on using Procmail as an MTA go-between, then try this: 
send a VERY SHORT test message to yourself (at some alias on your server 
specifically NOT the account that fetchmail is using for local delivery), 
then take the COMPLETE headers of that message and post them here, in reply 
to this message (trimming all of my content out of the reply of course, 
because that's the proper thing to do).  THEN we'll have some idea of what 
headers you have available to trigger off of, if any.

Ok, heres a mail send by gmx, my mail-provider,
from there send to my server0-provider, forwardet to gmx, fetched
by server and then by my workstation:
(at server root fetches the mails from gmx, at workstation jonas fetches
the mails from server)

-----
X-From_: root  Sat Nov 17 12:58:13 2001
X-Flags: 0000
From: Jonas Meurer <jmeurer(_at_)gmx(_dot_)de>
To: jonas(_at_)server(_dot_)server0(_dot_)de
Subject: test
X-Authenticated-Sender: #0000690178(_at_)gmx(_dot_)net
X-Authenticated-IP: [217.88.168.253]

this is a short test
---
(217.88.168.253 is my ip at the moment)

Bye
  Jonas


-- 
|    .-.    |  2nd mail: bilbo(_dot_)beutlin(_at_)mail(_dot_)de | 
jmeurer.dnsalias.org
|    /v\    |  ******************************************************
|  /(   )\  |  **** Linux is like a wigwam:                      ****
|   ^^ ^^   |  ****   no windows, no gates and an apache inside! ****
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>