Release: error code 75 returned from Sendmail

Report bugs and workarounds
Post Reply
doggy101
Posts: 67
Joined: 21 May 2013 20:07
Location: Netherlands

Release: error code 75 returned from Sendmail

Post by doggy101 »

Dear fellow users,

today one of my customers tried to release a quarantine message and got a similar error:

Release: error code 75 returned from Sendmail: sendmail: fatal: xxxx@xxx.nl(48): Recipient addresses must be specified on the command line or via the -t option postdrop: warning: stdin: unexpected EOF in data, record type 78 length 76 postdrop: fatal: uid=48: malformed input
Error Messages: Y

what's wrong here?
G3 Support
Posts: 9
Joined: 13 Mar 2014 12:31

Re: Release: error code 75 returned from Sendmail

Post by G3 Support »

I have the exact same error currently, need a fix
Heimir
Posts: 14
Joined: 25 Mar 2015 14:48

Re: Release: error code 75 returned from Sendmail

Post by Heimir »

We have the same problem.

Release: error code 75 returned from Sendmail: sendmail: fatal: xxx@xxxxx.xxx(48): Recipient addresses must be specified on the command line or via the -t option postdrop: warning: stdin: unexpected EOF in data, record type 78 length 76 postdrop: fatal: uid=48: malformed input
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Release: error code 75 returned from Sendmail

Post by shawniverson »

Is this happening from the GUI, or the release link in the email?
dwagner
Posts: 3
Joined: 20 Apr 2018 20:26

Re: Release: error code 75 returned from Sendmail

Post by dwagner »

Hey, just wanted to chime in here and say that we are having the same issue!

Yes, it is from the WebUI.
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Release: error code 75 returned from Sendmail

Post by shawniverson »

Most likely cause of this issue is how the user account is setup. Is everybody using email addresses for usernames? If not, do you have a receipient address defined for the user(s)?
dwagner
Posts: 3
Joined: 20 Apr 2018 20:26

Re: Release: error code 75 returned from Sendmail

Post by dwagner »

Both users to which the email was directed have accounts on the EFA system configured as email addresses.
dwagner
Posts: 3
Joined: 20 Apr 2018 20:26

Re: Release: error code 75 returned from Sendmail

Post by dwagner »

Did some digging and solved the problem. After some update the sendmail command either changed or its format for use in MailScanner did:

functions.php:9796 $cmd = QUARANTINE_SENDMAIL_PATH . ' -i -f ' . MAILWATCH_FROM_ADDR . ' ' . escapeshellarg($to) . ' < ';

If MAILWATCH_FROM_ADDR is not specified, the mail is not delivered because the -f option will consume the to address. Updated my config.php in /var/www/html/mailscanner and the issue was resolved.
Justin
Posts: 111
Joined: 18 Sep 2014 13:00
Location: The Netherlands
Contact:

Re: Release: error code 75 returned from Sendmail

Post by Justin »

dwagner wrote: 26 Apr 2018 19:16 Did some digging and solved the problem. After some update the sendmail command either changed or its format for use in MailScanner did:

functions.php:9796 $cmd = QUARANTINE_SENDMAIL_PATH . ' -i -f ' . MAILWATCH_FROM_ADDR . ' ' . escapeshellarg($to) . ' < ';

If MAILWATCH_FROM_ADDR is not specified, the mail is not delivered because the -f option will consume the to address. Updated my config.php in /var/www/html/mailscanner and the issue was resolved.
How do i fix this exactly? I'm facing this issues right now and need to fix it a.s.a.p since a customer needs a email-release :shock:
henk
Posts: 517
Joined: 14 Dec 2015 22:16
Location: Netherlands
Contact:

Re: Release: error code 75 returned from Sendmail

Post by henk »

just as dwagner stated:

change to valid email adress. ( you know how to use vi editor?)

Code: Select all

vi /var/www/html/mailscanner/conf.php
and change MAILWATCH_FROM_ADDR as mentioned.

Code: Select all

// Change with a fully qualified email address
define('MAILWATCH_FROM_ADDR', 'valid_email@example.com');
“We are stuck with technology when what we really want is just stuff that works.” -Douglas Adams
Justin
Posts: 111
Joined: 18 Sep 2014 13:00
Location: The Netherlands
Contact:

Re: Release: error code 75 returned from Sendmail

Post by Justin »

henk wrote: 24 Jul 2018 13:29 just as dwagner stated:

change to valid email adress. ( you know how to use vi editor?)

Code: Select all

vi /var/www/html/mailscanner/conf.php
and change MAILWATCH_FROM_ADDR as mentioned.

Code: Select all

// Change with a fully qualified email address
define('MAILWATCH_FROM_ADDR', 'valid_email@example.com');
Aah, i missed the ' ' in the code above. Thanks for clearing that up!
Will edit and test it
Post Reply