Fetchmail configuration: Alias FETCHMAIL-DAEMON
Hi folks, ich habe auf meinem Server eine fetchmail exim4 Mailkonfiguration und Debian 3.1 am laufen. Nun habe ich einen netten Spammer, der unbekannte usernamen bei meiner Domain anfängt zu beschmeißen, woraufhin mein fetchmail mit der Absenderadresse [EMAIL PROTECTED] als Absendername das DIng zurückbounced. Dies aber wiederum nimmt der SMTP server meines ISPs zum Anlass, dass Ding wg unbekannter Absenderadresse abzulehnen - und wir sind mitten im Nirwana! Frage: Wie kann ich fetchmail so konfigurieren, dass ich eine Art alias des FETCHMAIL-DAEMON users zu einem gültigen E-Mailaccount auf meiner Domain abbilden kann Weiss da jemand Rat? Freue mich auf Feedback BR Clemens
Re: Fetchmail configuration: Alias FETCHMAIL-DAEMON
* Dr. Clemens Hardewig wrote: ich habe auf meinem Server eine fetchmail exim4 Mailkonfiguration und Debian 3.1 am laufen. Nun habe ich einen netten Spammer, der unbekannte usernamen bei meiner Domain anfängt zu beschmeißen, woraufhin mein fetchmail mit der Absenderadresse [EMAIL PROTECTED] als Absendername das DIng zurückbounced. Es ist keine gute Idde, SPAM bouncen zu lassen, da die Absender meist gefälscht sind. Dies aber wiederum nimmt der SMTP server meines ISPs zum Anlass, dass Ding wg unbekannter Absenderadresse abzulehnen - und wir sind mitten im Nirwana! Frage: Wie kann ich fetchmail so konfigurieren, dass ich eine Art alias des FETCHMAIL-DAEMON users zu einem gültigen E-Mailaccount auf meiner Domain abbilden kann set postmaster = $GUELTIGER_USER set nobouncemail ... in der fetchmailrc, dann bekommt der gueltige User die Mail. Ciao, Christian -- (o_ Christian Hoeller (aka zy3) (o _o) (o_ //\ (/)_ (/)_ (/)_ V_/_ http://www.linux-drivers.org -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: fetchmail configuration
Sandip == Sandip P Deshmukh Sandip writes: Sandip where will this message go?? i thought fetchmail will get Sandip it in /var/mail/sandip!! Fetchmail will give it to exim, which will deliver it to /var/mail/sandip as long as fetchmail delivered the mail to 'sandip' and no forwarding or rewriting rules were invoked (like .forward or .procmailrc files etc.). Also, be sure you have something like user '[EMAIL PROTECTED]' there ... is sandip here in your fetchmailrc config file. Sandip it does have such entries. i forgot to mention, but i had Sandip used fetchmailconf utility to create .fetchmailrc file If possible, post your .fetchmailrc file *after* you replace your hostname and passwords in it with some generic names (like pop.server and password, you get the idea). Sandip well, it sure is letting me learn a lot and helping me Sandip keep young! i still cant fathom, though, how is exim + Sandip pop3browser + fetchmail + procmail + mua a better solution Sandip than mua + 'rules' + smtp server setup! It is not always better. If anyone suggests that using exim + tools is superior, for a single user, than using, say, Microsoft Outlook + Outlook rule processing they are not being completely honest. The advantages show up when you start programming and administering a large server with multiple users. It is easy to write scripts that produce, consume, rewrite and otherwise process email to get a lot of work done (like page you if your CPU core gets too hot etc.) on a Unix style mail set up then the standard PC. It is because you have a MTA, MDA and an MUA all nicely available. On a Wintel PC you usually have only the MUA. If you don't need the flexibility of exim, you can always choose to use Mozilla (or your favorite MUA) + SMTP. Cheers! Shyamal -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
fetchmail configuration
hello all! i have set-up exim successfully. in the sense, i can send mails out from my machine using mutt or mail e-mail address to any address now. now, i used fetchnmailconf to configure fetchmail for myself. i provided all usernames, passwords, pop3 server addresses etc here is output of my fetchmail -c: 1 message for deshmukh at 192.168.100.1 (35328 octets). fetchmail: No mail for user at server etc. fetchmail -d0 flog results in flog that looks like: 1 message for deshmukh at 192.168.100.1 (955 octets). reading message [EMAIL PROTECTED]:1 of 1 (955 octets) flushed etc. now, i want to know, what is this flushed? where has this message gone? my /var/mail/sandip is 0 bytes there is no mbox file in ~. thanx - sandip -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: fetchmail configuration
Sandip P Deshmukh wrote: | 1 message for deshmukh at 192.168.100.1 (955 octets). | reading message [EMAIL PROTECTED]:1 of 1 (955 octets) | flushed | etc. | | now, i want to know, what is this flushed? where has this message gone? | | my /var/mail/sandip is 0 bytes | | there is no mbox file in ~. Check your /var/log/exim/mainlog and perhaps /var/log/exim/paniclog to find out what exim is doing with your mail. -- Jason [EMAIL PROTECTED] http://wonka.hampshire.edu/~jason msg09687/pgp0.pgp Description: PGP signature
Re: fetchmail configuration
Sandip == Sandip P Deshmukh Sandip writes: Sandip fetchmail -d0 flog results in flog that looks like: Sandip 1 message for deshmukh at 192.168.100.1 (955 octets). Sandip reading message [EMAIL PROTECTED]:1 of 1 Sandip (955 octets) Sandip flushed Sandip now, i want to know, what is this flushed? where has this Sandip message gone? It means fetchmail got your message, delivered it locally and flushed your POP mailbox (I think that means it deleted the message on the mailbox, but I can't remember for sure). Sandip my /var/mail/sandip is 0 bytes I hope you don't have a .procmailrc or .forward file. Also, be sure you have something like user '[EMAIL PROTECTED]' there ... is sandip here in your fetchmailrc config file. Look at that config file very carefully (the -d0 flag you used kind of concerns me). Can you match each of those entries in the flog file with what you see being written to /var/log/exim/mainlog? The exim log should tell you exactly where the delivery went. Like your exim set up, this *should* be working if you got the config files set up ;-) Boy, I hope you enjoying this, because you could go out and turn a lot off people off Debian otherwise! Cheers! Shyamal -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: fetchmail configuration
Shyamal Prasad wrote: Sandip == Sandip P Deshmukh Sandip writes: Sandip fetchmail -d0 flog results in flog that looks like: Sandip 1 message for deshmukh at 192.168.100.1 (955 octets). Sandip reading message [EMAIL PROTECTED]:1 of 1 Sandip (955 octets) Sandip flushed It means fetchmail got your message, delivered it locally and flushed your POP mailbox (I think that means it deleted the message on the mailbox, but I can't remember for sure). where will this message go?? i thought fetchmail will get it in /var/mail/sandip!! Sandip my /var/mail/sandip is 0 bytes I hope you don't have a .procmailrc or .forward file. i checked in ~. there are none of the two files present! i am just starting out. still some time before i have .forward or .procmailrc ;) Also, be sure you have something like user '[EMAIL PROTECTED]' there ... is sandip here in your fetchmailrc config file. it does have such entries. i forgot to mention, but i had used fetchmailconf utility to create .fetchmailrc file Look at that config file very carefully (the -d0 flag you used kind of concerns me). well, i read up man fetchmail. -d0 flag is for NOT running the fetchmail in background. as i said, i was still testing it. so, i chose to use the flag. Can you match each of those entries in the flog file with what you see being written to /var/log/exim/mainlog? The exim log should tell you exactly where the delivery went. all right. this gives me some clue. will do a full run again and will be back with results. Like your exim set up, this *should* be working if you got the config files set up ;-) Boy, I hope you enjoying this, because you could go out and turn a lot off people off Debian otherwise! well, it sure is letting me learn a lot and helping me keep young! i still cant fathom, though, how is exim + pop3browser + fetchmail + procmail + mua a better solution than mua + 'rules' + smtp server setup! and no worries on me turning people off debian. i am sure, those who can think, will like to be on debian - not off it! Cheers! Shyamal - sandip -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Fetchmail configuration
I'm trying to get my mail with fetchmail --ssl but it complains that my isp certificate is not trusted. But I know it is because it comes from Thawte Server CA. How can I configure fetchmail to accept certificates signed by some CA server? Or am I missing some OpenSSL configuration? Thanks, Carlos -- ** | .''`. _ _ _ _ _ _ _ _ _ _ _ _ _ _|_ | | : :' : (_(_||_)(_|(_)| | |(/__\ @ |_|_\(_|.| |(/_ | | | `. `'` | _|| | `- | ** -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
exim + fetchmail configuration question
I'm about to move inside of a firewall. I'm told that I can get my mail from our imap server (which is outside the firewall) using fetchmail. This fails with a message that says Some addresses were rejected by the MDA fetchmail forwards to. Reporting-MTA: dns; localhost Final-Recipient: rfc822; [EMAIL PROTECTED] Last-Attempt-Date: Sun, 13 Jan 2002 14:23:40 -0500 (EST) Action: failed Status: m.0.0 Diagnostic-Code: miller: 550 relaying to [EMAIL PROTECTED] prohibited by administrator I think that can solve this problem if I add localhost to me local_domains in the exim config file. Would someone with exim expertise let me know if this is the correct way to do this? Or if there is a better way? Mike
Re: exim + fetchmail configuration question
On Sun, Jan 13, 2002 at 02:41:45PM -0500, Michael A. Miller wrote: | I'm about to move inside of a firewall. I'm told that I can get | my mail from our imap server (which is outside the firewall) | using fetchmail. This fails with a message that says | | Some addresses were rejected by the MDA fetchmail forwards to. | | Reporting-MTA: dns; localhost | | Final-Recipient: rfc822; [EMAIL PROTECTED] | Last-Attempt-Date: Sun, 13 Jan 2002 14:23:40 -0500 (EST) | Action: failed | Status: m.0.0 | Diagnostic-Code: miller: 550 relaying to [EMAIL PROTECTED] prohibited by administrator | | I think that can solve this problem if I add localhost to me | local_domains in the exim config file. Would someone with exim | expertise let me know if this is the correct way to do this? Exim has been configured not to accept mail for [EMAIL PROTECTED]. Is localhost a local_domain? Does miller exist on the system? How did you configure exim (eximconfig? what were your answers?)? | Or if there is a better way? I'd just put options mda /usr/sbin/exim %T in your .fetchmailrc so that fetchmail uses a pipe instead of trying to do an SMTP connection. Of course, exim still needs to be configured to properly deliver local mail. -D -- (E)ventually (M)allocs (A)ll (C)omputer (S)torage
Re: exim + fetchmail configuration question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday 13 January 2002 7:41 pm, Michael A. Miller wrote: ... using fetchmail. This fails with a message that says Some addresses were rejected by the MDA fetchmail forwards to. .. I think that can solve this problem if I add localhost to me local_domains in the exim config file. Would someone with exim expertise let me know if this is the correct way to do this? Or if there is a better way? That is certainly one way to solve the problem - unless you tell it otherwise fetchmail announces itself to exim as sending mail from [EMAIL PROTECTED] The other way (and what I now use - my headers then tell me where the mail is from - I could add different ones for different ISPs but I don't) is to add smtpaddress to the user part of fetchmailrc so for instance here is my fetchmailrc file (passwords excepted). My local domains as known to exim are are *.home (which is my local lan) chandlerfamily.org.uk (external address) and libdebate.org (not yet in operation). I do actually have localhost in there too. # Created by AKC 14th July 2000 set syslog set no bouncemail poll mail.u-net.com no dns proto POP3 tracepolls aka chandler.u-net.com envelope Envelope-to user chandler password x forcecr is * smtpaddress fetchmail.home user alan-chandler password x forcecr is alan smptaddress fetchmail.home user emily-chandler password x forcecr is emily smtpaddress fetchmail.home poll mail.tesco.net no dns proto POP3 tracepolls aka tesco.net user alan.chandler password x forcecr is alan smtpaddress fetchmail.home user Sarah.Chandler password x forcecr is sarah fetchall smtpaddress fetchmail.home poll pop3.blueyonder.co.uk no dns proto POP3 tracepolls aka blueyonder.co.uk localdomains chandlerfamily.org.uk libdebate.org user ac003a3222 password x forcecr is * smtpaddress fetchmail.home user ac003a3222_2 password x forcecr is sarah smtpaddress fetchmail.home user ac003a3222_3 password x forcecr is emily smtpaddress fetchmail.home user ac003a3222_4 password x forcecr is carrie smtpaddress fetchmail.home user ac003a3222_5 password x forcecr is alan smtpaddress fetchmail.home - -- Alan - [EMAIL PROTECTED] http://www.chandlerfamily.org.uk -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8Qf/G1mf3M5ZDr2kRAsLUAJwJDIZUiQIGgwYQsfgkVorO2XkxbQCgkN5Y YRwQDr9KAZIygEeBM3RrlHE= =qIom -END PGP SIGNATURE-
(fetchmail) configuration problem
hi folks! i get errors with fetchmail and i totally have no plan whats it about can someone help me? thanks David Flatz Reporting-MTA: dns; localhost Final-Recipient: rfc822; [EMAIL PROTECTED] Last-Attempt-Date: Sat, 22 Dec 2001 15:49:35 +0100 (CET) Action: failed Status: d.0.0 Diagnostic-Code: david_upcs_at: 501 [EMAIL PROTECTED]@upcs.at: malformed address: @upcs.at may not follow [EMAIL PROTECTED] pgpwTPm6IjLVV.pgp Description: PGP signature
Re: (fetchmail) configuration problem
hi folks! i get errors with fetchmail and i totally have no plan whats it about can someone help me? Try sending us your .fetchmailrc file (sans password of course!!!) I do not agree with what you say, but I will defend to the death your right to say it. Francois Marie Arouet Voltaire (1694-1778)
Re: (fetchmail) configuration problem
Andrew Pritchard said: hi folks! i get errors with fetchmail and i totally have no plan whats it about can someone help me? Try sending us your .fetchmailrc file (sans password of course!!!) I do not agree with what you say, but I will defend to the death your right to say it. Francois Marie Arouet Voltaire (1694-1778) here it is. actually i'm using fetchmail as deamon so i only have /etc/fetchmailrc set postmaster [EMAIL PROTECTED] set no bouncemail set no spambounce set properties poll mail.internic.at with proto POP3 user 'david_upcs_at' there with password '*' is 'david_upcs_at' here options fetchall smtpaddress '[EMAIL PROTECTED]' pgpMUXN1C209A.pgp Description: PGP signature
Re: (fetchmail) configuration problem
On Sat, Dec 22, 2001 at 04:12:58PM +0100, David Flatz wrote: | Andrew Pritchard said: | hi folks! | i get errors with fetchmail and i totally have no plan whats it about | can someone help me? | | Try sending us your .fetchmailrc file (sans password of course!!!) | | I do not agree with what you say, | but I will defend to the death your right to say it. | Francois Marie Arouet Voltaire (1694-1778) | | here it is. | actually i'm using fetchmail as deamon so i only have /etc/fetchmailrc Content-Description: fetchmailrc | set postmaster [EMAIL PROTECTED] | set no bouncemail | set no spambounce | set properties | poll mail.internic.at with proto POP3 |user 'david_upcs_at' there with password '*' is 'david_upcs_at' here options fetchall | smtpaddress '[EMAIL PROTECTED]' | I noticed the error message had the address [EMAIL PROTECTED]@upcs.at, which is not a valid address (2 '@' signs). I'm not familiar with the smtpaddress directive in a fetchmailrc, but it looks like fetchmail is combining the is name here with that smtpaddress and coming up with an invalid address. HTH, -D -- I can do all things through Christ who strengthens me. Philippians 4:13
[SOLVED] Re: (fetchmail) configuration problem
David Flatz said: Content-Description: Message hi folks! i get errors with fetchmail and i totally have no plan whats it about can someone help me? thanks David Flatz Content-Description: Error Reporting-MTA: dns; localhost Final-Recipient: rfc822; [EMAIL PROTECTED] Last-Attempt-Date: Sat, 22 Dec 2001 15:49:35 +0100 (CET) Action: failed Status: d.0.0 Diagnostic-Code: david_upcs_at: 501 [EMAIL PROTECTED]@upcs.at: malformed address: @upcs.at may not follow [EMAIL PROTECTED] I just solved it with: set postmaster [EMAIL PROTECTED] set no bouncemail set no spambounce set properties poll mail.internic.at with proto POP3 user 'david_upcs_at' there with password '' to 'david' here now it's working without a problem thanks for help! David Flatz pgpS1yTv5kQdC.pgp Description: PGP signature
Re: fetchmail configuration
Quoth S.Salman Ahmed, fetchmail -v -d0 produces too much output to be useful. I guess I'll look into procmail. If you are running X, and are using an MTA on your system to do local deliveries (ie., using fetchmail to pass the mail off to port 25 on the local machine), then you could probably use either an xconsole (or I prefer a transpranet Eterm tailing /var/log/syslog). On my setup, using qmail as the local MTA, the address of the incoming mail is listed in the logs, so it'll appear on your little xterminal. With my particular setup, I run it through a log colouriser before it goes to the transparent Eterm, so all email addresses (ie. [EMAIL PROTECTED]) are displayed in a different colour. Then you just have to keep your eye out for the scolling colours whizing past. cheers, damon -- Damon Muller ([EMAIL PROTECTED]) / It's not a sense of humor. * Criminologist / It's a sense of irony * Webmeister / disguised as one. * Linux Geek / - Bruce Sterling - Running Debian GNU/Linux: Doing my bit for World Domination (tm) - pgpt2JSpgv76O.pgp Description: PGP signature
Re: fetchmail configuration
Dear On Sun, Aug 13, 2000 at 08:22:47PM -0400, S.Salman Ahmed wrote: Normally, fetchmail displays the following output when I invoke it from the command line in a terminal window: 5 messages for user at mail.isp.com (11495 octets). reading message 1 of 5 (3031 octets) .. flushed Is it possible to include in the above output, the sender of the message ? In other words, I'd like to be able tell fetchmail to also display the From: field of each message so I can quickly decide whether or not to open my email client if there isn't an important message or a message from an important sender. hmm, just run fetchmail -v -d0 and see. But that is not the way to check that. You should rather check program procmail and configure it to tell you or bell you or play a song, when you get message from someone you expect. Sincerely, Marko Cehaja
Re: fetchmail configuration
On Sun, Aug 13, 2000 at 09:31:54PM -0400, S.Salman Ahmed wrote: fetchmail -v -d0 produces too much output to be useful. I guess I'll look into procmail. While I definately agree that procmail is the right tool for this job, you could actually do something like: fetchmail -vv | grep About to rewrite From: -- // André