// archives

redhat

This tag is associated with 1 posts

FTP Backups made easy

I do not recall backing up data over FTP (File Transfer Protocol) in the near past. Thanks to the SSH (Secure SHell) suite of programs like SCP (Secure Copy) and SFTP (Secure FTP), and RSync. But recently I had to setup a scheduled and unattended backup of data lying on a shared hosted server using FTP – the only available option at my disposal.

Wget is a popular and obvious choice to try out for FTP backups. But it didn’t work for me and threw an error saying cannot find .listing file. While I was about to dwell more into wget, I spotted the forgotten hero – lftp. Read the rest of this entry »

GD Star Rating
loading...
GD Star Rating
loading...

Postfix: Log E-mails’ Subject

In Linux, you can view the statistics of incoming and outgoing E-mails by peeking into a log file called maillog (typically found in /var/log directory). Maillog provides the general information about the mails, for example, the sender and recipient(s), status – sent, rejected, bounced etc. I typically use maillog to check the destiny of mails. At times, it becomes difficult to spot a particular mail due to the sheer volume of mails being logged – especially on a production mail server.

For example: what if we need to check whether a particular mail sent by Person A has been delivered to Person B. Note that Person A might be sending lots of mails to Person B but we need to spot that one particular mail – say the one, which was sent by Person A but did not reach Person B. The only identifier, to identify a particular mail, in the maillog is the cryptic message ID. A better and more readable identifier would be the subject of an E-mail.Unfortunately, the subject of the mails is not logged, by default, in the maillog. But we can configure a mail server like Postfix to log the subject line. Read the rest of this entry »

GD Star Rating
loading...
GD Star Rating
loading...

Fedora X

How things change while on the move! I had been hitting the Fedora site constantly for the Fedora 10 download – last at around 20:30 hrs IST from a client’s office. While driving back, about 30 mins away from home, I checked the site on my Windows Mobile (ironic?) and I spotted “Fedora 10″ written all over the site. Rushed home at double speed.

Fired the torrent as well as direct download. The latter because, saw only one peer @ 98.7% download. Let’s see who, direct or the torrent download, wins the race on my 2 Mbps connection at home. The torrent download is not giving me more than 3KBps whereas the direct download is dicey and swinging – at times from about 260 KBps to 40 KBps

Once downloaded I have to start thinking about backing up my laptop running Fedora 9 and installing the 10. This may happen tonight, if sleep does not take over the X.

Will update this post as I sail to X from IX.

And now (Nov 27, 2008 @ 16:30 IST), my laptop runs Fedora 10 :-) Continuing to write from Fedora 10, about it. Following is the first glimpse, with the noteworthy new wallpaper,  of Fedora 10′s desktop, after the installation:

Fedora 10 Desktop

Fedora 10 Desktop

Read the rest of this entry »

GD Star Rating
loading...
GD Star Rating
loading...