Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mail::milter::wrapper::defertorcpt(3pm) [debian man page]

Mail::Milter::Wrapper::DeferToRCPT(3pm) 		User Contributed Perl Documentation		   Mail::Milter::Wrapper::DeferToRCPT(3pm)

NAME
Mail::Milter::Wrapper::DeferToRCPT - milter wrapper to delay failure returns SYNOPSIS
use Mail::Milter::Wrapper::DeferToRCPT; my $milter = ...; my $wrapper = new Mail::Milter::Wrapper::DeferToRCPT($milter); my $wrapper2 = &DeferToRCPT($milter); # convenience DESCRIPTION
Mail::Milter::Wrapper::DeferToRCPT is a convenience milter wrapper which defers any error return during the "connect", "helo", and/or "envfrom" callbacks to the "envrcpt" callback. Many broken client mailers exist in the real world and will do such things as instantaneously reconnect when receiving an error at the MAIL FROM: stage. This wrapper ensures that errors are never propagated back to the MTA until at least the RCPT TO: phase. Errors in "connect" and "helo" will apply to the entire SMTP transaction. Errors in "envfrom" will only apply to that particular message. This wrapper can also be used to enhance logging. Though the contained milter may wish to reject a mail in progress, it may be useful for logging purposes to capture the HELO string, sender, and recipient addresses of each attempted mail. AUTHOR
Todd Vierling, <tv@duh.org> <tv@pobox.com> SEE ALSO
Mail::Milter::Wrapper perl v5.8.8 2004-02-26 Mail::Milter::Wrapper::DeferToRCPT(3pm)

Check Out this Related Man Page

Mail::Milter::Wrapper(3pm)				User Contributed Perl Documentation				Mail::Milter::Wrapper(3pm)

NAME
Mail::Milter::Wrapper - Perl extension for wrappering milter objects SYNOPSIS
use Mail::Milter::Wrapper; my $milter = ...; my $wrapper = new Mail::Milter::Wrapper($milter, &foo); use Sendmail::Milter; ... Sendmail::Milter::register('foo', $wrapper, SMFI_CURR_ACTS); DESCRIPTION
Mail::Milter::Wrapper wraps another milter, allowing for interception of the passed arguments and/or return code of the contained milter. METHODS
new(MILTER, CODEREF[, CALLBACK ...]) Creates a Mail::Milter::Wrapper object. MILTER is the milter to wrap, which may be a plain hash reference or an instance of a hashref object such as "Mail::Milter::Object". CODEREF is the wrapper subroutine. CALLBACKs, if specified, are named callbacks which are needed by the wrapper, even if the contained milter does not use them. The wrapper subroutine will be called with the following arguments, in this order: * reference to the wrapper * name of callback * subroutine reference to call into the wrapped milter * arguments for the callback (>= 0) This subroutine should ALWAYS pass the "close" callback through to the contained milter. Failure to do so may corrupt the contained milter's state information and cause memory leaks. As an example, a simple subroutine which just passes the callback through might be written as: sub callback_wrapper { shift; # don't need $this my $cbname = shift; my $callback_sub = shift; &$callback_sub(@_); } AUTHOR
Todd Vierling, <tv@duh.org> <tv@pobox.com> SEE ALSO
Mail::Milter, Sendmail::Milter perl v5.8.8 2004-02-26 Mail::Milter::Wrapper(3pm)
Man Page

11 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Mail Server

Hi Guru's Im a complete newbie to unix/linux and have been given a project on setting up a mail server for little over 80 users by my client. I would like your assistance on how i could go about this project. - What unix/linux Os Should i use -What Other programs/Packages should i install... (4 Replies)
Discussion started by: ravneet
4 Replies

2. UNIX for Dummies Questions & Answers

hello to everyone

helo everyone i am new and i am learning (1 Reply)
Discussion started by: pritish
1 Replies

3. OS X (Apple)

My Mail Service

Hello! Id like to configure my mail command, please, can anyone help me? thank you all (2 Replies)
Discussion started by: Jariya
2 Replies

4. UNIX for Dummies Questions & Answers

helo,every!

Hello,every one!I'm a new comer,and I'm form China.I have learnd UNIX only one year,so don't hesitate to point my error.Thank you…….! :p :p :p (4 Replies)
Discussion started by: main1984
4 Replies

5. Shell Programming and Scripting

Wrapper Script Help With Perl Scripts

I have tried looking through wrapper scripts throughout the forum, but I don't think they were able to answer my question (either that or I'm just confused). Basically, I have a Perl script that I want to run in parallel 4 times with parameters, wait for all of them to finish, then run another... (8 Replies)
Discussion started by: kooshi
8 Replies

6. UNIX for Advanced & Expert Users

Sendmail virtual domain problem

For a long time we have successfully been running mail servers using sendmail+ClamAV+clamav-milter+SpamAssassin+smf_spamd-milter on Solaris both as a mail server for several domains with local users getting their mail using POP and IMAP and also as a message filtering relay for other domains where... (2 Replies)
Discussion started by: andyt22
2 Replies

7. UNIX for Dummies Questions & Answers

Minimal Mail Server Setup for Local Mail Transfer

I am trying to get stored mail out of an old mail client. I figured that the easiest way to do it is with IMAP by logging in with both clients. I can copy the mail to the server from the old mail client, and back down into the new mail client. Rather than using a real mail account on the... (2 Replies)
Discussion started by: nixie
2 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. UNIX for Dummies Questions & Answers

Mail

I want to send a mail through shell script with the following command, #!/bin/bash mail -s "Test" upload.xxx@example.com < /root/mail.txt When I am executing the above command through shell script,the following error occurs, /etc/mail/submit.cf:line 545:fileclass:cannot open... (15 Replies)
Discussion started by: kannansoft1985
15 Replies

10. Shell Programming and Scripting

Formatting echo o/p

Hi Team, Need a small help. I want to format my echo o/p. let say echo " helo helo helo helo helo helo helo helo helo helo helo helo helo helo helo helo helo helo helo " I want o/p to be displayed in below format helo helo helo helo helo helo helo helo helo helo helo helo... (6 Replies)
Discussion started by: gvkumar25
6 Replies

11. IP Networking

Wrapper functions like SuSEFirewall2

Hey everyone, I have a question. I'm administering a linux machine that runs openSuSE. A few of the functions that I'd normally do manually, have programs that take over the task. For example, I wanted to add a few rules to my iptables. I then found out that there is an openSuse tool... (3 Replies)
Discussion started by: Lost in Cyberia
3 Replies