Ubuntu :: How To Use Procmail To Put Email In Specific User's Folders?
May 13, 2010
Here is what I want to do: have procmail get my mail from all of the different mail servers, and then put them in my inbox folder (I'm able to do all of this), but also have my emails sorted by domain into subfolders.So for example, procmail downloads my email, puts it into the gmail folder which is a subfolder of my inbox folder.I know how to get all of my email into the inbox folder - but not into a specific subfolder.
We use procmail to reformat and filter email messages sent from many lead capture websites where the clients enter their reply email address manually.When we receive the message at our application we send a welcome email, and receive back the Undeliverable Email message where the clients entries are invalid, but I would like to be able to kill messages with undeliverable email addresses on our mail server before they are delivered to our application.I have found discussions on filtering masqueraded addresses, but since the IP of the sending system is not related to the entered client's email address, this does not appear to help. I would think that it should be able to query the email server to identify if the address is valid.
Is there a way of allowing only certain domain to send e-mails to certain specific e-mail address. I am using Sendmail, and I have an alias which translate to certain members of staff within my organization. I don't expect e-mails from outside our domain to be sent to this alias e-mail address.
I have a user who was getting constantly spammed so I deleted their email account but it's still coming in and trying to get delivered, how do drop all email for a specific email address?
How do I give permission to a logged in user to stop/start a specific service without entering a root/sudo password? So they can do a simple "service SomeService stop|start" It is for a headless Ubuntu server.
my system I want user1 and only user1 to be able to mount and unmount a specific partition, this partition contains backups and is usually mounted read only, needs to be temporarily mounted read/write by user1 while doing the backup.user1 is an unprivileged user. I've read that the user option will let any user mount the file-system (and only that user can then subsequently unmount it) and that the users option allows any user to mount or unmount the file-system.I also found this in mount's man pageQuote:The owner option is similar to the user option, with the restriction that the user must be the owner of the special file. This may be useful e.g. for /dev/fd if a login script makes the console user owner of this device. The group option is similar, with the restriction that the user must be member of the group of the special file.So it looks like I'd need a login script for that user to make the user owner of the device file (/dev/voiceserv/backup in this case)
I've got a problem with my evolution here at work, which is running on a vanilla Ubuntu 10.10 install. Yesterday we received an email from a supplier with some tiff attachments. When this email is clicked on it freezes Evolution. The further problem is that I can't even browse into the inbox folder where it is since that email is the last thing that was highlighted. What is the best method for removing a single email from the Inbox? I thought about into the .evolution/mail folder, but I wasn't sure which files to modify to solve the problem.
I have 2 users and I would like to copy all the files and folders in one home dir to another.... sounds simple, til i got started. Ive tried
Code:
sudo cp -nRv /home/user1/* /home/user2 but that didnt copy the .* folders. Im after the firefox and thunderbird folders mainly, but all of them is OK too.
im talking about the .adobe, .amsn ..........
How can I copy the .* folders from one user home folder to another and then give the correct permissions to the new user.
When I click on the email, that's it - I have to end the Evolution process and go back in again. Definitely can't double click it, or right-click to delete or simply delete. It just freezes. I can't see any of the text of the email, but I can see that there is a .tiff attachment.I've poked around in the .evolution/ folders and can'tfind the right thing to delete to get rid of this specific email
As you can (maybe) see, my entire /home folder is shared. For various reasons, I'd prefer it if only say my music and videos were shared, how do I do that? I've looked around the web and seen some other people's samba.conf files but mine looks totally different and I don't want to lose the functionality I have by messing around with it.
I found that if any usual user is logged into a NDS-tree, then _local_ root has full access to user's network shares, including the user's home directory located on remote Netware-server. Is it by design or have I missed something? Nevertheless in windows local admin has no access to network resources mounted of any other user. If you runas shell (as admin) then admin in principle can't "see" network shares which were mounted (connected) by other users - they are accessible ("visible") per session.
I've got a NAS running and I'd like to somehow make some of the folders and files invisible to certain users only. For example, if I 'ls' a directory, I want to see files 'a', 'b', and 'c'. But if another user does 'ls' in the same directory, I only want them to be able to see 'a' listed.I know I can use 'chmod +700' to make certain files not able to be read/written, but the filename would still appear in a 'ls'.I know I can put certain files inside of a '.hidden' file in the folder, but then it would be hiEdit : I'd also like to mention that the users that connect to the NAS could be coming from Windows or Mac operating systems. So hopefully the solution would work for users from those systems also..
I had recently had a problem with my service provider and my system couldn't connect via the Internet. When I started Evolution, the problems started. Obviously it stalled for password confirmation from my Email accounts but I had to cancel any downloading of emails. The problem was I had to reconfigure my passwords for my email accounts, but I lost those folders that I had stored old emails in for each account. Is there a way to get these back b/c they have my passwords to some sites?
My system have problem to route mail to our mail server, some mails store to mail queue, I use the command "mailq" have the below output, can advise if I want to delete a specific mail "ofdaf8fafag8sgfas", what can I do?
o639ngDV026834 515345 Mon Jul 5 17:49 <mail1@ora-test.com> (Deferred: Connection refused by ora-route) ofdaf8fafag8sgfas 514345 Mon Jul 5 17:49 <mail2@ora-test.com> (Deferred: Connection refused by ora-route) Total requests: 36
Can anyone shed some light in this? Using Fedora 14-64, new install, 185 Opteron x 2 gig ram, sata hard drives formatted Ext4.However, in my home directory I have a folder for all my digital photos of which I have more than 20,000, and in another folder I have images and clipart of which I have almost 8,000. That is a lot of read only access to a significant number of files in my home directory.
How can I tell Fedora to not update the LAST ACCESS TIME of those files (specifically images) that will never actually be changed other than just being read. I want to leave that feature enabled for the rest of my home directory. I am trying t; improve my disk performance in Nautilus because whenever I access the folders with my images the system literally slows to a crawl and sometimes even the mouse stops working for several minutes until Nautilus has finished having its heart attack.
I wanna copy all folders and files created from 01.01.2011 until today to new placeie:cp -r /home/moviecar/public_html/wp-content/uploads/ /home/teaser/public_html/wp-content/uploads
I've got Samba up and running with the correct workgroup information, and I can access files on my network share, but I can't figure out a way to point Thunderbird to a network folder to import my old local folders. Is there any way to do this? Do I need to some how map the location so Thunderbird thinks it is physically on the local machine? If so, how would one do that?
Just upgraded from 10.10 to 11..04 ,personal folders in Evolution email client have disappeared. The default folders are there with old sent mails in the sent folder. Should I inform Evolution developers?
I am using secure delete to remove files from a Debian Linux PC. However, secure delete does not remove folders. This has lead me to look at writing a script that would move files to a predetermined folder for deletion. My plan is as follows:I have a folder on my desktop called shredder where I move the contents of the waste bin to. The script needs to identify all files within the folders and sub folders, within the shredder folder, and move each file to the shredder folder and then delete the folder. At this point secure delete can be used with a command like shred -v -u *.*on the shredder folder.The problem I have is in creating the code to move files from the different folders and then deleting the folders. Note that the names of the files, folders and subfolders will not always be known
Many years ago, I converted a portion of my files to an arbitrary format with a specific extension. i no longer desire to have them in this format and i would like begin the process of replacing them because conversion is not an appropriate solution. unfortunately, they are mixed in separate folders of the same root folder with files in my current format of a different extension. I feel it would make this process easier if I were to move every folder that contained a file with the undesired format to a separate root folder. The files are stored on a Linux server and shared via samba. How can I do this with a couple of commands or a script? I am open to other suggestions as well. I want to avoid time spent editing text files. Ultimately, I'd like a command that produced a list of full paths for folders, sorted by the number of levels would be a nice touch. A list of all of the files is clearly not what I'm looking for.
Terribly new to Linux and find it mindboggling. I work on brain imaging and unfortunately all of the analysis runs on Linux, and I do not understand computers well coming as I do from a medical background. So my question - There are various folders of patient MRI scans (folders called P1, P2, P3 etc) and within them are enclosed certain files that I am interested in (always called the same name in all folders, say image001). I would like a script that enables me to copy and move this image001 in all these individual folders to another folder altogether.
I am thinking about writing a script to search through specific folders on a Linux based server (Centos 5) and report any changes made to any file on that server.Like a detailed change log with the date it was changed and the difference in size. Dose anyone know if such a script exist?
I'm working on a kiosk-type system. What it needs to do is boot, auto login as a specific user, display only the Gnome desktop (no icons, etc), and auto start an application.
Is this possible (I'm sure it is)? If so, can this be scripted, i.e. without having to use graphical tools like Sabayon.
we are in a place where we have to give an account (with sudo access...) to a user we don't completely trust (I am reminded of this comic). What we need to set up is some way of logging pretty much everything that this user does, especially what he does as root (via sudo or sudo -s). Now, I know that anything we do can easily be undone by another user with root access, but we feel that if he does disable logging we can use this as a really good excuse to revoke his access. So, does anyone know what logging stuff I'd have to set up to completely monitor one user (it is ok if we are monitoring everyone, but we'd prefer to watch one user if possible)?