> Unknown Mailer
> Unknown Mailer Error 126
Unknown Mailer Error 126
I really do appreciate it, and the help that bathory has given me. Regards, John C Last edited by countrydj; 01-14-2011 at 01:30 PM. Code: Mprog, P=/bin/sh, F=lsDFMoqeu9, S=10/30, R=20/40, D=$z:/, T=X-Unix, A=sh -c $u Note: That between "Mprog" and "P=.." you need to use tab-stop(s) and not spaces, or else you'll get errors. Jason Jason White Instructional Developer/Server Admin/Technical Help "You can lead a horse to water. check over here
I then setup a sym link from /etc/smrsh to the working directory. smrsh is devious: It will take and report the script path as whatever, but actually will always look up the file in /etc/smrsh/. unknown mailer error 126 >>> I've been to several faq's, searched the archives and am still looking through the O'REILY book and would appreciate any help. LinuxQuestions.org > Forums > Linux Forums > Linux - Software [SOLVED] I need to forward email to php script User Name Remember Me?
Everything checks out except for when mailing the list.. I found the Mprog line here: http://www.faqs.org/docs/securing/chap22sec182.html I stumbled across it by searching sendmail. The permissions on the script are 777. >> > >> >Is it not legal to pipe sendmail to a script in redhat? > >-- > For a copy of my mailbot's
- There was one thing that I did notice.
- Are you new to LinuxQuestions.org?
- Nominal Animal View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by Nominal Animal View Blog 01-13-2011, 10:01 PM #20 Nominal Animal Senior Member
- And youdidn't read the installation documents that came with mailman where thisvery error is mentioned, did you?--Paul Tomblin <***@xcski.com>, not speaking for anybody"Please accept my resignation.
- From: [email protected] (Noah Fields) Next: Re: problems with unknown mailer error From: Carl Payne Search Internet Search www.greatcircle.com
I can send for others domains with no problems and I donīt have this problem with sendmail PS: This first message I unable by sendmail.cf Oct 17 16:23:40 mail sendmail: f9HINeYL002975: Now when I send mail from the subscribed address...the following goes to the *list-owner's* e-mail. It may be due to the symlink (which the above should fix), or it may be due to something else. Now, I have read the faq, and this had some information on the problem, but that didnt work for me...
I inserted your script in to bounce.php I ran two tests and here are the results: 2011-01-15 02:05:13 Email address = [email protected] 2011-01-15 02:05:42 Email address = [email protected]###BF###
--p0F25gfn028446.1295057142/redvelvet.gvl99.co.uk-- As a Here's a Bash script you can use: Code: #!/bin/bash exec > /home/countrymusic/countrymusic.org.uk/html/broadfast/last.bounce echo "Command ($#): $*" echo -n "Date: " date echo "Content from standard input follows:" cat The above script The script is the mailer here, from sendmail's point of view. John C Last edited by countrydj; 01-14-2011 at 08:13 PM.
Code: // extract user ID $parts=explode("###BF###",$email); $email=$parts; //####START OF INSERT#### $logfile = "/home/countrymusic/countrymusic.org.uk/html/broadfast/run.log"; $handle = @fopen($logfile, "ab"); $cmd = @join(' ', $argv); $entry = date('Y-m-d H:i:s '). "Email address = ". After doing all this, nothing worked. There is only so much you can do. I've tried disabled smrsh in sendmail, and I still get errors, ie Operation not permitted etc.
If you'd like to contribute content, let us know. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. The next bounce message will overwrite the previous one; the file will contain only one message. i.e.
bathory View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by bathory 01-14-2011, 08:57 AM #23 countrydj Member Registered: Jun 2009 Location: Preston, check my blog I then tested again: With aliases: Code: # [email protected]: in-uk,|/home/countrymusic/countrymusic.org.uk/html/broadfast/bounce.php [email protected]: in-uk, |/etc/smrsh/bounce.php with the new bounce.php, this was the result in maillog: Jan 14 12:13:57 redvelvet sendmail: p0ECDvaA027280: to=|/etc/smrsh/bounce.php, ctladdr= Joe Jenkins joe at nowalls.com Thu Jul 26 22:01:55 CEST 2001 Previous message: [Mailman-Users] Digest separator help Next message: [Mailman-Users] Help ! (not work with & symbol) Messages sorted by: [ Join our community today!
Can you suggest a small trap that I can put into the script to figure out where the problem is. in the sendmail logs, the script is run from the /etc/smrsh/ directory. It removed the Mprog; that you sent me last night and only left Mprog; with smrsh. this content Nominal Animal View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by Nominal Animal View Blog 01-14-2011, 10:47 AM #26 Nominal Animal Senior Member
I only did the first change because I didn't have anything better to go on. Has anyone any idea what a solution to this error is? However, since it is running from an email, and no browser is involved, I don't know how to set the trap and how to read it.
The real script seems to choke on those.
Mailman have worked for 5 mounts without problems andjust I was thinking for upgrade of sendmail to ver. 8.10.1 it stopped .Will I reinstall mailman? John C Last edited by countrydj; 01-13-2011 at 06:54 PM. Valid CSS and RSS Copyright © 1997-2015 Dan LangilleAll rights reserved Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle Blogs Recent Entries Best Entries Best Blogs Blog Run Code: dos2unix bounce.php to save it in unix format 1 members found this post helpful.
I will carry on experimenting, but if in the meantime you have any more ideas please let me know. After running dos2unix bounce.php I got the following maillog: Jan 14 15:03:19 redvelvet sendmail: p0EF3GUl003671: to=|/home/countrymusic/countrymusic.org.uk/html/broadfast/bounce.php, ctladdr= (8/0), delay=00:00:03, xdelay=00:00:02, mailer=prog, pri=63233, dsn=2.0.0, stat=Sent However, the script doesn't work. I took a quick >> look at the source for the wrapper and it didn't look like it was returning >> any special retun codes. >> I tried a script like have a peek at these guys Thanks to you all!
I will try anything to get this script working. to start with, I'm using majordomo 1.94.4 Redhat 6.0 Perl 5.005_03 sendmail 8.9 This was the first error I got... <<< ----- The following addresses had permanent fatal errors ----- "|/home/majordomo/wrapper I can't figure out if I should be trouble-shooting majordomo configs etc. COM> OK...
However, after all this help and advise I don't seem to be any nearer. I re-inserted the Mprog, that bathroy's sendmail uses, and remmed out the original Mprog, that uses smrsh. Nominal Animal Last edited by Nominal Animal; 03-21-2011 at 03:13 AM. Want to know which application is best for the job?
Page 2 of 3 < 1 2 3 > Search this Thread 01-13-2011, 04:52 PM #16 bathory LQ Guru Registered: Jun 2004 Location: Piraeus Distribution: Slackware Posts: 11,483 BTW: please ignore the date and time on the log files. Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Password Linux - Software This forum is for Software issues.
This may be the key. When iīm trying to use webmail (Imp/Horde/RH7.1/Sendmail 8.12.1) to send email for my internal users, i get this log and the email goes to queue. Many thanks, John C countrydj View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by countrydj 01-13-2011, 06:52 PM #18 countrydj Member I couldn't resist.
I took the space out and it made no difference. Permissions on the script and everything it touches I have set to 777. #!/usr/bin/perl -w use MIME::Parser; $TMPpath ="/home/jabbott/database/tmp"; my $entity = new MIME::Head->new; my $parser = new MIME::Parser; $parser->output_dir("$TMPpath"); $entity