Thank you very much for your help, to be honest is hard to me understand each line of this file, so ive got the edited file so far, dont know if it can help
I found a mail which confused me a lot! since it did not contain any information regarding the sender of that mail. Is it possible to do like this? First i thought there was something wrong with the mail server.. but the subject of that mail still confused "nobody". How is it possible? or can I do... (3 Replies)
Hello All,
My unix (AIX 5.2) login is robk, my MS Exchange user name is rkapfer.
What I want to do is send mail as rkapfer while logged in (to unix) as robk.
I'm currently doing uuencode <pdf> <pdf>|mail -s"Subject" <recipient> works fine except the recipient sees me as robk@xyz.com.... (0 Replies)
Hello
Following command send link to division managers.
echo http://severname:8081/account-reports/2008Jun19-2008Jun25.2/index.html | mail -s "Weekly Division Sales Report" johndoe@companmail.com
QUESTION.
Above command send a body which is link of division report in email
with... (1 Reply)
I am sending email with attachment using mail and uuencode command.
Ex:
(echo "$EMAIL_BODY"; uuencode $FILE ATTACH.TXT) || mail "$EMAIL_ID" -s "$EMAIL_SUB"
I am getting email from "applmgr@rigelapp01.us.dell.com". I want to change this email address into... (1 Reply)
Hi,
I have a postfix server that relays to an exchange server. All of my unix/linux systems send to this server, the problem is the form the mail is sent with,
the sender address is
username@hostname.domain.local
I need to rewrite every sender address to
unix@maildomain.com
for... (0 Replies)
Hi Everyone,
This is a pretty big request, but I was wondering if anyone out there has a program written in C, Perl, Tcl or whatever that can be executed from the command line and will send HL7 messages from a NL delimited file and send them to the specifid host/port using the MLLP HL7 TCP... (1 Reply)
Hello Forum members.
We currently have a reusable script called "send_email.sh" that is used to send us alerts when our daily jobs are completed. Script uses the mailx utility and below is a sample message:
-----Original Message-----
From: Servacct ETL process owner - Manager Database... (2 Replies)
Hi All!
I have a very annoying problem. I have an openSuSE box, running postfix on it. It is configured, to use gmail to send mails. It is working fine, I accept the messages, but the sender is my gmail account, not the linux box. How can I (if I can) configure postfix to send the mails with... (0 Replies)
Hi,
I am using the below command to send the email.
mailx -s "test from `hostname`" email@gmail.com < attachment.txt
id
uid=870(wlsuser) gid=641(wlsgrp)
I recieve the email as "From: wlsuser@hostname
Can I somehow have any string instead of wlsuser, if that grows too complex to... (4 Replies)
Hi there, I'm new to shell scripting and need some help if possible?
I need to create a shell script (.sh) to run as a cron job on an ubuntu linux server to connect to an external sftp sites directory using credentials (which I have) and then download to our internal ftp server and then copy... (3 Replies)
Discussion started by: ghath
3 Replies
LEARN ABOUT DEBIAN
ftpd_selinux
ftpd_selinux(8) ftpd SELinux policy documentation ftpd_selinux(8)NAME
ftpd_selinux - Security-Enhanced Linux policy for ftp daemons.
DESCRIPTION
Security-Enhanced Linux provides security for ftp daemons via flexible mandatory access control.
FILE_CONTEXTS
SELinux requires files to have a file type. File types may be specified with semanage and are restored with restorecon. Policy governs the
access that daemons have to files.
Allow ftp servers to read the /var/ftp directory by adding the public_content_t file type to the directory and by restoring the file type.
semanage fcontext -a -t public_content_t "/var/ftp(/.*)?"
restorecon -F -R -v /var/ftp
Allow ftp servers to read and write /var/tmp/incoming by adding the public_content_rw_t type to the directory and by restoring the file
type. This also requires the allow_ftpd_anon_write boolean to be set.
semanage fcontext -a -t public_content_rw_t "/var/ftp/incoming(/.*)?"
restorecon -F -R -v /var/ftp/incoming
BOOLEANS
SELinux policy is based on least privilege required and may also be customizable by setting a boolean with setsebool.
Allow ftp servers to read and write files with the public_content_rw_t file type.
setsebool -P allow_ftpd_anon_write on
Allow ftp servers to read or write files in the user home directories.
setsebool -P ftp_home_dir on
Allow ftp servers to read or write all files on the system.
setsebool -P allow_ftpd_full_access on
Allow ftp servers to use cifs for public file transfer services.
setsebool -P allow_ftpd_use_cifs on
Allow ftp servers to use nfs for public file transfer services.
setsebool -P allow_ftpd_use_nfs on
system-config-selinux is a GUI tool available to customize SELinux policy settings.
AUTHOR
This manual page was written by Dan Walsh <dwalsh@redhat.com>.
SEE ALSO selinux(8), ftpd(8), setsebool(8), semanage(8), restorecon(8)dwalsh@redhat.com 17 Jan 2005 ftpd_selinux(8)