Sponsored Content
Full Discussion: mail without sender's id!
Top Forums UNIX for Dummies Questions & Answers mail without sender's id! Post 6778 by jurrien on Wednesday 12th of September 2001 12:18:24 PM
Old 09-12-2001
because you are posting it on this page. i guess you have the server where the email was coming on. so then you need to checks your logs. for the smtp port. then you have to know the time and you know who send it. (the ip from the server who send it ). and then you could ask them to check there logs and see who was sending that email.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

unix mail : sender/reply to

Im currently working on modifying a unix script called email maker which basically creates emails on a regular basis using the unix Mail. Question: Is there a way to changed the value of the reply to and sender fields? Can I hard code values on these fields? How? Thanks in advance. (3 Replies)
Discussion started by: bong m
3 Replies

2. UNIX for Advanced & Expert Users

Mail Sender

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)
Discussion started by: rkapfer
0 Replies

3. AIX

Change sender e-mail address

When sending emails to the outside world, aix present itself as d_prod@production1.pdc.itercom.org. This is causing some issue with our e-mail server. So we need to change the name to d_prod@itercom.org... Does any one know how this can be accomplished? Thank you (3 Replies)
Discussion started by: cchiang12
3 Replies

4. Shell Programming and Scripting

change mail sender in unix aix

Hi All, I have a ksh script, in which it sends mail successfully but from root id(root@system.com). I want it to be sent as customid@system.com. I verified man pages of mail, and found '-u userid' option. But it is failing. code snippet below: mail -s "subject" -u $customid... (7 Replies)
Discussion started by: Arunprasad
7 Replies

5. Shell Programming and Scripting

[Solved] Mail::Sender Doubt

I am using the below code to send an email #!/usr/bin/perl sub BEGIN { unshift (@INC,'/opt/dev/common/mds/perlLib'); } use Mail::Sender; $sender = new Mail::Sender {smtp => 'xxx.xxx.x.xx', from => 'abc@xyz.xom'}; $sender->MailFile({to => 'abc@xyz.xom', subject => 'Here is... (0 Replies)
Discussion started by: dahlia84
0 Replies

6. Shell Programming and Scripting

Mail::Sender - How to Check Result Code?

I have a code block which sends a mail using Mail::Sender. Everything works great now. I just want to know how to check whether the status of sending mail is success or failure. Based on which I will log the result in my log file. How can I do this? Any idea please? (2 Replies)
Discussion started by: dahlia84
2 Replies

7. Shell Programming and Scripting

How to change the sender's name or E-mail address in mutt command

Can any one help me in this ??? How to change sender's name or email address in Mutt command??? (4 Replies)
Discussion started by: sarathi
4 Replies

8. UNIX for Advanced & Expert Users

Mail -s help ,change the sender to correct one

Hi expert I use mail -s "hello" bruce@sohu.com <kernel-img.conf send mail, it display the sender is lyang001@lyang001-OptiPlex-9010.corp.ad..com How can I change the sender to yanglei.fage@gmail.com to default ? (1 Reply)
Discussion started by: yanglei_fage
1 Replies

9. Shell Programming and Scripting

To define a sender name in mail command

Hi, I am using the unix script to send a report on daily basis using the mail command. Here the sender name is appearing as myname i.e. chandru (userid@machine.unix.domain.com). Is there any way to change sender name as a user defined name? example i need to change it to SupportTeam... (1 Reply)
Discussion started by: schandru
1 Replies

10. Red Hat

How to send mail with sender mail address and name?

Hi, I am trying to send a mail using "mail" command in unix. I wanted to give sender name and sender address. I tried different options ,but still it shows only mail address(No name). mail -s "Alert mail : Nothing running !!!" $email -- -F"Mail Alert" -fno-reply@alert.com But I am getting... (4 Replies)
Discussion started by: jaggy
4 Replies
proxsmtpd(8)						    BSD System Manager's Manual 					      proxsmtpd(8)

NAME
proxsmtpd -- an SMTP server for performing filtering SYNOPSIS
proxsmtpd [-d level] [-f configfile] [-p pidfile] proxsmtpd -v DESCRIPTION
proxsmtpd is an SMTP filter that allows you to perform arbitrary filtering on email. It accepts SMTP connections and forwards the SMTP com- mands and responses to another SMTP server. The DATA email body is intercepted and scanned before forwarding. Email can be altered, bounced, or silently dropped. proxsmtpd aims to be lightweight and simple rather than have a myriad of options. The options it does have are configured by editing the proxsmtpd.conf(5) file. See the man page for proxsmtpd.conf(5) for more info on the default location of the configuration file. OPTIONS
The options are as follows. -d Don't detach from the console and run as a daemon. In addition the level argument specifies what level of error messages to dis- play. 0 being the least, 4 the most. -f configfile specifies an alternate location for the proxsmtpd configuration file. See proxsmtpd.conf(5) for more details on where the configuration file is located by default. -p pidfile specifies a location for the a process id file to be written to. This file contains the process id of proxsmtpd and can be used to stop the daemon. -v Prints the proxsmtp version number and exits. FILTER SCRIPTS
The filter script is specified using the FilterCommand option. By default the email is piped through the script on standard input. Standard output is read for the filtered email. Standard error is also read for error messages. If the FilterType option is set to 'file', your filter will operate on a file rather than processing standard in and standard out. The file name will be passed to your filter command using the EMAIL environment variable. Your script can change the file as needed. Standard error is still processed as outlined below. If the filter command returns a successful exit code (ie: 0), then the filtered email is sent to the destination mail server as usual. When a error exit code (ie: anything but 0) a failure message is sent back to the sending server. In this case the email is not sent. You can customize the error message sent back. The last line of output printed to standard error will be used in this case. If you specify a full SMTP error code then it will be used (ie: '550 Bad Email'). If it's just a text message then a 550 SMTP error code will be used. You can silently drop messages by using an error message with a 250 SMTP code. This gives the illusion to the sending server that the email was accepted. Various environment variables will be present when your script is run. You may need to escape them properly before use in your favorite scripting language. Failure to do this could lead to a REMOTE COMPROMISE of your machine. CLIENT The network address of the SMTP client connected. EMAIL When the FilterType option is set to 'file', this specifies the file that the email was saved to. RECIPIENTS The email addresses of the email recipients. These are specified one per line, in standard address format. REMOTE If proxsmtpd is being used to filter email between SMTP servers, then this is the IP address of the original client. In order for this information to be present (a) the SMTP client (sending server) must an send an XFORWARD command and (b) the SMTP server (receiving server) must accept that XFORWARD command without error. REMOTE_HELO If proxsmtpd is being used to filter email between SMTP servers, then this is the HELO/EHLO banner of the original client. In order for this information to be present (a) the SMTP client (sending server) must an send an XFORWARD command and (b) the SMTP server (receiving server) must accept that XFORWARD command without error. SENDER The email address for the sender of the email. SERVER The network address of the SMTP server we're connected to. TMPDIR The path to the temp directory in use. This is the same as the TempDirectory option. LOGGING
proxsmtpd logs to syslogd by default under the 'mail' facility. You can also output logs to the console using the -d option. LOOPBACK FEATURE
In some cases it's advantageous to consolidate the filtering for several mail servers on one machine. proxsmtpd allows this by providing a loopback feature to connect back to the IP that an SMTP connection comes in from. To use this feature specify only a port number (no IP address) for the OutAddress setting in the configuration file. This will cause proxsmtpd to pass the email back to the said port on the incoming IP address. Make sure the MaxConnections setting is set high enough to handle the mail from all the servers without refusing connections. TRANSPARENT PROXY FEATURE
A transparent proxy is a configuration on a gateway that routes certain types of traffic through a proxy server without any changes on the client computers. proxsmtpd has support for transparent proxying of SMTP traffic by enabling the TransparentProxy setting. This type of set- up usually involves firewall rules which redirect traffic to proxsmtpd and the setup varies from OS to OS. The SMTP traffic will be forwarded to it's original destination after being scanned. Note that some features (such as SSL/TLS) will not be available when going through the transparent proxy. Make sure that the MaxConnections setting is set high enough for your transparent proxying. Because proxsmtpd is not being used as a filter inside a queue, which usually throttles the amount of email going through, this setting may need to be higher than usual. SECURITY
There's no reason to run this daemon as root. It is meant as a filter and should listen on a high TCP port. Care should be taken with the directory that proxsmtpd writes its temporary files to. In order to be secure, it should not be a world write- able location. Specify the directory using the TempDirectory setting. Make sure you understand the issues involved with escaping external data. The environment variables such as SENDER or RECIPIENTS need to be treated with care. If running proxsmtpd on a publicly accessible IP address or without a firewall please be sure to understand all the possible security issues. This is especially true if the loopback feature is used (see above). SEE ALSO
proxsmtpd.conf(5) AUTHOR
Stef Walter <stef@memberwebs.com> proxsmtp June 1, 2019 proxsmtp
All times are GMT -4. The time now is 10:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy