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)
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)
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)
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)
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)
Just having trouble trying to figure out what the option is.
When I do
mail -s "Subject" someuser@example.com
I can't seem to specify "from" or "sender" option as I need it for my task. I tried using --f or -f though it didn't work.
Can someone please tell me what other option... (0 Replies)
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)
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
LEARN ABOUT DEBIAN
mail::milter::module::maildomaindotmx
Mail::Milter::Module::MailDomainDotMX(3pm) User Contributed Perl Documentation Mail::Milter::Module::MailDomainDotMX(3pm)NAME
Mail::Milter::Module::MailDomainDotMX - milter to reject mail whose sender domain publishes a null MX record
SYNOPSIS
use Mail::Milter::Module::MailDomainDotMX;
my $milter = new Mail::Milter::Module::MailDomainDotMX;
my $milter2 = &MailDomainDotMX; # convenience
$milter2->set_message('Mail from %M domain invalid (has dot-MX record)');
DESCRIPTION
This milter module rejects any mail from a sender's domain (in the MAIL FROM part of the SMTP transaction, not in the From: header) if that
domain publishes a "null", or "dot" MX record. Such a record looks like the following in DNS:
example.com. IN MX 0 .
This lookup requires the Net::DNS module to be installed in order to fetch the MX record.
An extra check as to whether the MX is valid is not (yet) done here. It is currently assumed that the MTA does rudimentary checking for
the presence of a valid MX or A record on the sending domain.
METHODS
new()
Creates a MailDomainDotMX object. There are no arguments to configure this module, as it is a fixed check.
ignore_tempfail(FLAG)
If FLAG is 0 (the default), a DNS lookup which fails the underlying DNS query will cause the milter to return a temporary failure
result (SMFIS_TEMPFAIL).
If FLAG is 1, a temporary DNS failure will be treated as if the lookup resulted in an empty record set (SMFIS_CONTINUE).
This method returns a reference to the object itself, allowing this method call to be chained.
set_message(MESSAGE)
Sets the message used when rejecting messages. This string may contain the substring %M, which will be replaced by the matching e-mail
address.
This method returns a reference to the object itself, allowing this method call to be chained.
AUTHOR
Todd Vierling, <tv@duh.org> <tv@pobox.com>
SEE ALSO
Mail::Milter::Object
perl v5.8.8 2004-02-26 Mail::Milter::Module::MailDomainDotMX(3pm)