Slackware :: Crontab - Fetchmail Sends Output To Mail Spool?
Jan 6, 2010
I'm new to mail via the CLI, so bear with me. I have this line in my crontab:
Code:
*/5 * * * * fetchmail
Which does check my mail every 5 minutes fine. But I get the command-line output mailed to
[code]...
View 3 Replies
ADVERTISEMENT
Mar 2, 2010
Is there a way to change the mail spool location from /var/mail/ to some other place? I'm thinking of users own home directory or $HOME/.mail.
This is because system partition is not big enough to keep all mail from the company and /home is in a different one.
Creating another partition to keep /var or /var/mail seems too much just to keep emails.
Solution: checking /usr/doc/procmail-x.xx/examples/advanced
View 8 Replies
View Related
May 11, 2011
Running 13.37 with either the stock 2.6.37.6 or 2.6.38.4 from /testing and the stock mutt I am having to wait 3-8 seconds while mutt reads my mail spool. Hmmm on closer examination read speed is actually fine, pressing F5 to refresh shows the spool immediately. Some odd refresh problem, this with xfce.
View 1 Replies
View Related
Mar 28, 2010
In my continuing quest to live without X most of the time, I am trying to set up fetchmail and Mutt to get and send mail. I only want to be able to send and receive text based mail, and so far I am running into trouble with what I think should be pretty simple. For receiving my mail, I believe I only need to create a .fetchmailrc file in my home directory with the entry:
Code: poll [URL] protocol pop3 username "myusername" password "mypassword" But I get:
2 messages for myusername at mail.myISP.com (7965 octets).
fetchmail: connection to localhost:smtp [127.0.0.1/25] failed: Connection refused.
fetchmail: SMTP connect to localhost failed
fetchmail: SMTP transaction error while fetching from wetumpka@mail.btopenworld.com and delivering to SMTP host localhost
reading message myusername@pop-smtp.ISP.mail.fy5.b.yahoo.com:1 of 2 (2734 octets)fetchmail: Query status=10 (SMTP)
It appears to me that it is finding mail but does not know where to deliver it and is refused a connection to my machine. Also, I cannot figure out how to set up my SMTP for my ISP in Mutt to send mail. Can someone point me to a simple tutuorial on how to do these things. I really only want to do what you would with Thunderbird, but from the command line.
View 14 Replies
View Related
Mar 12, 2010
i have a VPS running Ubuntu server 9.10 i have installed postfix and courier folloiwng a tutorial on How to forge.i have installed also squirrelmail When i ran squirrelmail , i tried to send a mail to myself to see if it was working. Mail appear in the Sent folder of Squirrelmail However, the INBOX was still showing no messages when i logged in to the server, i see that mail was delivered in var/mail/info (my username). so, my question is: why mail gets delivered to var/mail and var/spool and squirrelmail is not pickiing it up?
View 1 Replies
View Related
Jan 12, 2011
The scenario: We have an external server that runs HTTP/DB servers for out shop system. Then, there's our local, in-house infrastructure that runs a.. yeah... Exchange 2010. The shop system on the external server needs to send mails to customers (order confirmations, invoices, etc.). seing as sending them directly through the local MTA (Postfix) would cause mail delivery problems because of reverse DNS issues, i've set the Postfix MTA to act as a satellite to our in-house Exchange Server, so the Exchange sends the mail instead, giving recipient mail servers a valid reverse DNS lookup.
Now, mails sent by the (proprietary, uneditable) shop system are relayed correctly and sent to the target e-mail address. My problem is: Mails not sent by the shop system, but by our own PHP scripts which run on that same external servers, are NOT relayed properly. So the Exchange is fine with the mails sent by the shop system, but not the mails sent by our scripts. This is what i get in the mail.log: The successfully relayed mail sent by the shop system:
[Code]....
View 2 Replies
View Related
Jun 11, 2010
What is the message /var/spool/mail/acer for? how do I check the mail? I'm new to openSuSE.
View 4 Replies
View Related
Oct 28, 2010
I just dl'd Thunderbird and its working fine with my Hotmail account however I'm having some problems with my Gmail account. I can send emails thru gmail just fine but when I click get mail, the error message: Unable to locate mail spool file pops up. The server settings for this account are Server Type: Unix Movemail Server Name: Local Host Username: (my gmail email - @gmail.com) I think this is all set up right, it did it automatically for me.
View 2 Replies
View Related
Nov 3, 2010
how can attachment sends through mail command in linux with mail command either with mail -s or -v option also please confirm how to download the attachments from it . and how one should knows with mail command that attachment is present with the particular mail
View 4 Replies
View Related
Oct 13, 2015
It's hard to understand the whole systemd stuff. Specially in combination with mdadm and sendmail. My goal is to get a mail every boot about the state of the RAID. Also get a mail when someone is wrong with the RAID while my computer is running. How I can reach this target I don't care especially. It just has to be a Debian package and stable
OK, to the story: I made a while ago an dist-upgrade from wheezy to jessie. Before, everything works fine. I boot my computer, the RAID gets checked and a mail was sent to my email-address with the state of my RAID and the disks of it. For this I followed a HowTo from [URL] .... After the upgrade, I dont get a mail anymore.
Here some details.
Actually installed: Debian 8.2 Jessie
Code: Select allsystemctl status mdadm-raid -l
● mdadm-raid.service - LSB: MD array assembly
Loaded: loaded (/etc/init.d/mdadm-raid)
Active: active (exited) since Son 2015-10-11 16:11:34 CEST; 21min ago
Process: 281 ExecStart=/etc/init.d/mdadm-raid start (code=exited, status=0/SUCCESS)
Okt 11 16:11:34 xy-server mdadm-raid[281]: Generating udev events for MD arrays...done.
[Code] ....
When I execute
Code: Select allecho "This is a test e-mail from my server using msmtp" | msmtp -d xyz@gmx.net
or
Code: Select allmdadm --monitor --scan --test --oneshot
Everything works. I get the mails like I need it. In my opinion it's not a problem of the mail configuration. It seems, there is no network when the RAID get's started and the mails want to be send.
What I'm wondering is also, that obviously the
/etc/default/mdadm
is ignored by systemd and only the
/lib/systemd/system/mdmonitor.service is executed. But while booting the RAID get's startet with /etc/init.d/mdadm-raid and this should read the /etc/default/mdadm. Right? Confusing!
Anyway, is there a way, how I can easy change the order (without any side-effects) of the startup for the network and the RAID. I can't figure out, which unit I have to change, that it will work. Or maybe is there another solution? Like I mentioned, it's just have to work with Debian stable packages
There are various units who sounds nice, but wich one is the correct one?
Network:
- network-online.target
- network.target
- system-ifup.slice
- ifup@eth0.service
Disks:
- local-fs.target
- mdadm-raid.service
- mdmonitor.service
- -.mount
And how can I be sure, that every dependency of the network units doesn't depend on a filesystem unit?
View 2 Replies
View Related
Dec 23, 2010
I have 2 email accounts set up in Thunderbird - one is gmail and the other was given me by our server admins few years ago. Everything works fine on windows but when I try to send something from the second account (not gmail) in ubuntu it says that password is incorrect. Ive double checked all settings and seems like everything set correct. Now the most interesting part: when I set up this account as root (gksu thunderbird and then do same as I did under my account) everything works perfect.
I found only one thread at this forum with same issue and sure it's not solved [URL]..
View 7 Replies
View Related
Apr 16, 2011
I'm new here and I'm sure this question has been thrown around a lot but I just couldn't find a solution. I have a networking website I've setup and we need to send notification mails to our members depending on activity related to their profiles(messages, comments etc).We are hosting the site on Centos5.6 with VirtualMin and are using Postfix as our MTA. We also use google apps for email on the site. Heres the problem, the mails go through for some gmail users but more often than not, they end up in gmail,hotmail and yahoo spam.We've setup the appropriate SPF codes on the server, DKIM and rDNS works fine.v=spf1 ip4:xx.xx.xx.xx a mx include:_spf.google.com ~all Below is a sample email that goes directly into gmail spam. I've replaced the actual values with dummy text (Ip, Domain etc)
Delivered-To: my.email@gmail.com
Received: by 10.143.165.5 with SMTP id s5cs223598wfo;
Fri, 15 Apr 2011 08:38:22 -0700 (PDT)
[code]...
View 1 Replies
View Related
Oct 29, 2010
Alright guys, I've looked over every thread regarding this issue on this forum, and many others; yet I cannot find out why my mail is being bounced without error from my external gmail account.From what I've seen, you guys need to start off by seeing my postconf -n
Code:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
[code]...
View 9 Replies
View Related
Apr 3, 2011
I am using fetchmail for fetching mails from google to my local mail client with this command and config and it works fine and gather all my mail in my local root mail file and I can see them with mail command but I want to separate each fetched e-mail to different files with different names.How can I separate each email in separated files??
View 1 Replies
View Related
Jun 21, 2010
I am trying to configure the fetchmail and I have this line on the configuration file
poll other.mail.server interval 4
user "otherusername" there with password "otherpasswd"
How I do it? Is "mail.server" my isp server? and after configuration how do I fetch mail?
View 1 Replies
View Related
Jul 26, 2010
Could you tell me some programs for mail retrieval like fetchmail?
View 6 Replies
View Related
Feb 3, 2010
i have a website, there is a button that u click fill out a form and sends u a link to download a trial version of our software, the message gets sent with out html.. i copied a sample below (edited out some personal info)
Code:
Content-type: text/html; charset=iso-8859-1
From: ******.com>
[code]...
View 10 Replies
View Related
Dec 21, 2010
I have fetch mail in my root directory like this:
set no bouncemail
set postmaster postmaster@dot.com.gh
set logfile /var/log/fetchmail
poll pop.teledataict.com
protocol pop3
localdomains dot.com.gh
archive dot.com.gh
no dns
envelope X-Envelope-To:
qvirtual dot.com.gh
user "maildot3@teledataict.com" there
pass "mail"
is *
here forcecr
nokeep
flush
dropdelivered
fetchall
This works perfectly as I want. But right now, what I want is, I want fetchmail to download mails for more than one or several accounts in different domains and different pop servers. How can I improve this rc file to accomplish my task?
View 2 Replies
View Related
Jan 6, 2011
Actual I need to configure fetchmail and postfix in linux pc to get mail in outlook.
View 1 Replies
View Related
Mar 17, 2010
i'm having a hard time to configure sendmail or fetchmail, so that i can send email from a CentOS 5.3 server, is anyone familiar with that? i have a second email server that i believe that Centos server can authenticate to in order to use as relay but i have no clue how to accomplish that.
View 3 Replies
View Related
Aug 6, 2010
I have Ubuntu and I want to setup a mailserver. I use fetchmail to fetch mail But I wanted to configure fetchmail with fetchmailconf. I know, I can edit the configfile, but I wanted to use fetchmailconf. According to the man of fetchmail, fetchmailconf is very handy.
In synaptic, I installed fetchmail 6.3.2.2Ubuntu2.3 and I wanted to install fetchmailconf 6.3.2.2Ubuntu2 : well it didnt work
fetchmailconf 6.3.2.2Ubuntu2 needs fetchmail 6.3.2.2Ubuntu2. So, no worries: I searched the internet for fetchmailconf 6.3.2.2Ubuntu2.3, but I couldn't find any. Same with fetchmail6.3.2.2Ubuntu2
First of all, I want to flame synaptic for supplying 2 different versions for 2 pieces of software that only work with eachother.
Second: where can I find 2 matching versions? Or fix synaptic or maybe someone has a really cool solution?
View 12 Replies
View Related
May 28, 2010
Using CentOS. I have a cron setup to run this command: Code: /var/test.sh | mail -s "Test Cron" mr182@somewhere.com The email is sent but the output of the script is not in the email body, it's just blank. I know there is some output because there are some echo statements in the script.I don't want to get an email for all cronjobs, just this one.
View 1 Replies
View Related
Apr 5, 2010
I have a ubuntu server 9.10 installed with exim4 as MTA. I configured a mail address on it (let's say me@example.com). Before i had it working i had a other email configured (let's say me_2@example.com). At the time i had this one it didn't work i removed exim4.
Now i can successfully send mails with it by the configured me@example.com. I also configured the password for this, but when i receive the mail the old configured mail is presented as "from" (so from: me_2@example.com).
Anyone knows how this can be changed so it says the mail is from me@example.com? The mail is not an alias, and in a mail client they work separately.
View 4 Replies
View Related
Sep 16, 2010
My Problem: The output redirection auf a script works if the script is called in the terminal but not when its called via crontab.
My Situation: I have 2 scripts:
~/backup1
Code:
echo backup a to c
rsync -a -v --progress --delete --exclude=.Trash-1000 /path/a/ /path/c/backup/
echo backup b to c
[Code]...
View 1 Replies
View Related
May 17, 2011
I write a little script that run top command and clear the output leaving only cpu ram and swap values. If i run the script manually everityng works fine but when i schedule the cript to run every 5 minutes from /etc/crontab all run fine but the output of the top command doesnt appear in the log :
This is the cript :
#!/bin/sh
echo "#############################" >> /var/log/performance.log
echo "" >> /var/log/performance.log
/bin/date >> /var/log/performance.log
[code]...
View 6 Replies
View Related
Sep 8, 2010
Fetchmail +sendmail played nice together, until I installed hylafax, and added an alias it requires. I just ran the usual makemap command on aliases to make aliases.db, and that's there the trouble began. Fetchmail appeared to hang, at any email account that had email in it, at the RCPT stage. I finally read the warning at the top of /etc/mail/aliases that says to run newaliases.
View 1 Replies
View Related
May 6, 2010
I want to get mail from the crontab log file....
How to set log file in crontab and the second and how can i get mail from the crontablog file.
View 1 Replies
View Related
Jun 16, 2010
I have created a small script to compile a network weathermap using the cacti RRD files. The script reads the *.conf files and outputs an html and a png file. When I manually run the script it works normally.
I have edited my crontab with the crontab -e command to run this script every minute
The problem is script itself works when I manually call it but when it is run using crontab it doesn't do anything. The cron.log shows that the script IS being run every minute with no errors but the files (html and png) do not get written. What am I doing wrong and how do troubleshoot this?
View 1 Replies
View Related
May 3, 2011
I have this code that is 'bashed' regularly with crontab and basically it will send me an E-Mail of most of the output but it misses out some of it!
Here is the crontab code to automatically run the script:
Code:
So that sends me an E-mail with most of the output of the following code:
Code:
It sends me everything up to echo "*******" "Begin compressing and transferring files" "*******" but it wont output the tar bit.. so it should give me a list of files that have been tarred.
View 1 Replies
View Related
Apr 27, 2010
I am using Linux 64 bit Redhat Linux. I am trying to setup simple crontab as follow...1. Edited crontab file using crontab -e2. Listed the file once to verify it using crontab -l. This will display as.. 18 5 * * 2-3 ksh $HOME/testScript.sh > $HOME/testscript.out3. Logged in a root and restarted cron deamon using "/etc/init.d/crond restart"As per my understanding now my testScript should start running at 5:18 am Thuesday
View 3 Replies
View Related