These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Email received but sender receiving bounce message on the new forum.
I have suddenly started having email issues.
I am receiving emails but the sender is also getting a message:
This is the mail system at host vbg1.vm.xyz.co.uk.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to <postmaster>
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<name.myurl@vbg1.vm.xyz.co.uk> (expanded from
<name@myurl.com>): Command died with status 2:
"/usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME"
Final-Recipient: rfc822; name.myurl@vbg1.vm.xyz.co.uk
Original-Recipient: rfc822;name@myurl.com
Action: failed
Status: 5.3.0
Diagnostic-Code: x-unix; unknown mail system error 2
---------- Forwarded message ----------
From: sender name <sender@gmail.com>
To: name <name@myurl.com>
Cc:
Date: Tue, 20 Nov 2012 23:18:52 +0000
Subject: test 10
I think this may have coincided with adding a new site to the server and pointing a new URL at it but it now all the sites that were previous fine are also having the issue.
the maillog looks like this:
Nov 20 16:39:41 vbg1 postfix/smtp[3342]: connect to advertise-bz.cn[59.175.145.101]: Connection timed out (port 25)
Nov 20 16:39:41 vbg1 postfix/smtp[3342]: 7BC11A26AB: to=<admin@advertise-bz.cn>, relay=none, delay=271437, delays=271414/0.62/22/0, dsn=4.4.1, status=deferred (connect to advertise-bz.cn[59.175.145.101]: Connection timed out)
Nov 20 16:40:42 vbg1 postfix/smtpd[3674]: connect from mail-bk0-f46.google.com[209.85.214.46]
Nov 20 16:40:42 vbg1 postfix/smtpd[3674]: 6A160A26A9: client=mail-bk0-f46.google.com[209.85.214.46]
Nov 20 16:40:42 vbg1 postfix/cleanup[3679]: 6A160A26A9: message-id=<CALwHwGw7Ztj6XSVJoQL4KWOyACfkixOpNUORaiKKoF4VYv3+Kw@mail.gmail.com>
Nov 20 16:40:42 vbg1 postfix/qmgr[3335]: 6A160A26A9: from=<sender@gmail.com>, size=1993, nrcpt=1 (queue active)
Nov 20 16:40:43 vbg1 postfix/local[3680]: 6A160A26A9: to=<name.myurl@vbg1.vm.xyz.co.uk>, orig_to=<name@myurl.com>, relay=local, delay=0.76, delays=0.17/0.32/0/0.27, dsn=5.3.0, status=bounced (Command died with status 2: "/usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME")
Nov 20 16:40:43 vbg1 postfix/cleanup[3679]: 143FEA26BE: message-id=<20121120164043.143FEA26BE@vbg1.vm.xyz.co.uk>
Nov 20 16:40:43 vbg1 postfix/qmgr[3335]: 143FEA26BE: from=<>, size=3973, nrcpt=1 (queue active)
Nov 20 16:40:43 vbg1 postfix/bounce[3687]: 6A160A26A9: sender non-delivery notification: 143FEA26BE
Nov 20 16:40:43 vbg1 postfix/qmgr[3335]: 6A160A26A9: removed
Nov 20 16:40:43 vbg1 postfix/smtp[3342]: 143FEA26BE: to=<sender@gmail.com>, relay=gmail-smtp-in.l.google.com[173.194.66.26]:25, delay=0.38, delays=0/0/0.16/0.21, dsn=2.0.0, status=sent (250 2.0.0 OK 1353429644 r78si3509592wen.118)
Nov 20 16:40:43 vbg1 postfix/qmgr[3335]: 143FEA26BE: removed
the procmail.log looks like this:
Failed to run /virtual-server/lookup-domain.pl : No such file or directory at /etc/webmin/virtual-server/lookup-domain.pl line 18.
procmail: Program failure (2) of "/etc/webmin/virtual-server/lookup-domain.pl"
From sender@gmail.com Wed Nov 21 09:21:12 2012
Subject: test mail
Folder: /home/myurl/homes/name/Maildir/new/1353489672.7678 422531
Time:1353489672 From:sender@gmail.com To:name@myurlcom User:name.myurl Size:422592 Dest:/home/myurl/homes/name/Maildir/new/1353489672.7678_0.vbg1.vm.xyz.co.uk Mode:None
Let me know if anyone needs anything else.
Any help would be appreciated, its starting to drive me nuts!
thanks
DP
Howdy,
Hmm, is that issue happening for all accounts? Or just one?
I think the issue comes down to this error:
Failed to run /virtual-server/lookup-domain.pl : No such file or directory at /etc/webmin/virtual-server/lookup-domain.pl line 18.
That's an unusual issue though, I'm not sure what might have caused that to start.
How to troubleshoot that depends on if it's just for one user, or for all of them. Let us know and then we can work from there :-)
-Eric
It is happening for all mail accounts across all URL's.
thanks
root@vbg1:/root# cat /etc/webmin/virtual-server/lookup-domain.pl
#!/usr/bin/perl
delete($ENV{'IFS'});
delete($ENV{'CDPATH'});
delete($ENV{'ENV'});
delete($ENV{'BASH_ENV'});
$ENV{'PATH'} = '/bin:/usr/bin';
$< = $>;
$( = $);
open(CONF, "/etc/webmin/miniserv.conf");
while(<CONF>) {
$root = $1 if (/^root=(.*)/);
}
close(CONF);
$ENV{'PERLLIB'} = "$root";
$ENV{'WEBMIN_CONFIG'} = "/etc/webmin";
$ENV{'WEBMIN_VAR'} = "/var/webmin";
chdir("$root/virtual-server");
exec("$root/virtual-server/lookup-domain.pl", @ARGV) || die "Failed to run $root/virtual-server/lookup-domain.pl : $!";
root@vbg1:/root# cat /virtual-server/lookup-domain.pl
cat: /virtual-server/lookup-domain.pl: No such file or directory
Sorry to bump this...
Has anyone got any ideas on this. I still havent got to the bottom of it.
thanks
DP