03-10-2008
Quote:
Originally Posted by
c19h28O2
Hi,
Thanks that worked, I'm now getting an
fetchmail: connection to localhost:smtp [::1/25] failed: Connection refused.
error?
any ideas?
fetchmail is trying to email you the messages via the local server versus stuffing them in a file or what have you. You need to look at the documentation to determine what is best.
If you have no smtp server running on your osx machine and your trying to read mail with Mail.app, why not just imap the mail via Mail.app?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all.
I'm currently building my own webmail server but I will need to collect my mail from several different account scattered around the 'Net.
I know fetchmail can do this. The problem I have is that my main POP3 mailbox at my ISP lumps all users' e-mails into one box.
This means that... (0 Replies)
Discussion started by: DraconianTimes
0 Replies
2. IP Networking
once i used kmail (or sometimes outlook express) for my e-mail client.
i had no problem with that.
now being with unix console, i want to retrieve pop3 mails, using fetchmail.
(where i can browse my mailbox(es) later)
and it seems something i'm missing or do not understand.
assuming my e-mail... (2 Replies)
Discussion started by: jaguar
2 Replies
3. UNIX for Dummies Questions & Answers
Hi peeps,
We are having around 60 users.
The time set to retrieve the mail is 300 sec.
But it's taking around 1 hour to deliver mails.
I am using debian sarge 3.1.
any clues?
And how it will affect if I decrease the time?
My machine has got 1 p4 3.0 GHZ processor and 1 GB ram.
The home... (2 Replies)
Discussion started by: squid04
2 Replies
4. Linux
Hello All.
I was messing around with Fetchmail on a Test Email account. Here's what my fetchmailrc file looks like:
poll imap.gmail.com proto IMAP fetchall
ssl
When I ran this, it removed all the test emails from my Google Account. There were a few emails that I needed, however, I... (3 Replies)
Discussion started by: drewrockshard
3 Replies
5. Shell Programming and Scripting
Hi all,
I use Conky monitor (Conky - Home) for my laptop and I needed a script to see the count of new messages on gmail/IMAP, then I made this small perl script
(I hope they can be useful to someone :))
gimap.pl
#!/usr/bin/perl
# gimap.pl by gxmsgx
# description: get the count of unread... (0 Replies)
Discussion started by: gxmsgx
0 Replies
6. Linux
Hello there Unix & Linux Guru's and Gifted ones,
Can anyone help me configure fetchmail on my redhat 9.0
This sounds to be silly but really I'm new to linux.
I really need step by step installation and configuration on our company's required Redhat 9.0 (shrike) OS.
Thank you and God... (2 Replies)
Discussion started by: struggled_boy
2 Replies
7. UNIX and Linux Applications
Dear All,
Is it possible to using 2 envelope options on fetchmail ?
Here is fetchmailrc configuration :
envelope "Envelope-To"
envelope "X-Apparently-To"
Thx :) (0 Replies)
Discussion started by: rhein_onizuka@y
0 Replies
8. Red Hat
Hello All,
I am using fecthmail on RHEL 5.fetchmail: fetchmail 6.3.6-1.1.el5.3.1
getting the below error.
#################
Installation check passed
Fetching email ...
mail box file name is ....mailbox.2011051614
/usr/bin/fetchmail --all --timeout 3000 --nokeep --bsmtp... (0 Replies)
Discussion started by: ajaincv
0 Replies
9. UNIX for Advanced & Expert Users
:rolleyes:I am trying to setup all certificate based client-server environment in Linux using vsftpd and curl with openssl.
I would like to make a user access with vsftpd certificate and user own client certificate (self-signed) with private/public key.
I don't see google posts about the my plan... (4 Replies)
Discussion started by: gogogo
4 Replies
LEARN ABOUT DEBIAN
mail::sendeasy
Mail::SendEasy(3pm) User Contributed Perl Documentation Mail::SendEasy(3pm)
NAME
Mail::SendEasy - Send plain/html e-mails through SMTP servers (platform independent). Supports SMTP authentication and attachments.
DESCRIPTION
This modules will send in a easy way e-mails, and doesn't have dependencies. Soo, you don't need to install libnet.
It supports SMTP authentication and attachments.
USAGE
OO
use Mail::SendEasy ;
my $mail = new Mail::SendEasy(
smtp => 'localhost' ,
user => 'foo' ,
pass => 123 ,
) ;
my $status = $mail->send(
from => 'sender@foo.com' ,
from_title => 'Foo Name' ,
reply => 're@foo.com' ,
error => 'error@foo.com' ,
to => 'recp@domain.foo' ,
cc => 'recpcopy@domain.foo' ,
subject => "MAIL Test" ,
msg => "The Plain Msg..." ,
html => "<b>The HTML Msg...</b>" ,
msgid => "0101" ,
) ;
if (!$status) { print $mail->error ;}
STRUCTURED
use Mail::SendEasy ;
my $status = Mail::SendEasy::send(
smtp => 'localhost' ,
user => 'foo' ,
pass => 123 ,
from => 'sender@foo.com' ,
from_title => 'Foo Name' ,
reply => 're@foo.com' ,
error => 'error@foo.com' ,
to => 'recp@domain.foo' ,
cc => 'recpcopy@domain.foo' ,
subject => "MAIL Test" ,
msg => "The Plain Msg..." ,
html => "<b>The HTML Msg...</b>" ,
msgid => "0101" ,
) ;
if (!$status) { Mail::SendEasy::error ;}
METHODS
new (%OPTIONS)
%OPTIONS:
smtp
The SMTP server. (Default: localhost)
port
The SMTP port. (Default: 25)
timeout
The time to wait for the connection and data. (Default: 120)
user
The username for authentication.
pass
The password for authentication.
send (%OPTIONS)
%OPTIONS:
from
The e-mail adress of the sender. (Only accept one adress).
from_title
The name or title of the sender.
reply
E-mail used to reply to your e-mail.
error
E-mail to send error messages.
to Recipient e-mail adresses.
cc Adresses to receive a copy.
subject
The subject of your e-mail.
msg The plain message.
html
The HTML message. If used with MSG (plain), the format "multipart/alternative" will be used. Readers that can read HTML messages will
use the HTML argument, and readers with only plain messages will use MSG.
msgid
An ID to insert in the e-mail Headers. The header will be: Msg-ID: xxxxx
anex
Send file(s) attached. Just put the right path in the machine for the file. For more than one file use ARRAY ref: ['file1','file2']
** Will load all the files in the memory.
zipanex
Compress with zip the ANEX (attached) file(s). All the files will be inside the same zip file.
If the argument has the extension .zip, will be used for the name of the zip file. If not, the file will be "anex.zip", and if exist
only one ANEX, the name will be the same of the ANEX, but with the extension .zip.
** Need the module Archive::Zip installed or the argument will be skipped.
** This will generate the zip file in the memory.
SEE ALSO
Mail::SendEasy::SMTP, Mail::SendEasy::AUTH, HPL.
This module was created to handle the e-mail system of HPL.
AUTHOR
Graciliano M. P. <gm@virtuasites.com.br>
I will appreciate any type of feedback (include your opinions and/or suggestions). ;-P
COPYRIGHT
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.12.4 2011-09-18 Mail::SendEasy(3pm)