Page 1 of 1

Release: error code 75 returned from Sendmail

Posted: 19 Mar 2018 18:04
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?

Re: Release: error code 75 returned from Sendmail

Posted: 12 Apr 2018 15:09
by G3 Support
I have the exact same error currently, need a fix

Re: Release: error code 75 returned from Sendmail

Posted: 12 Apr 2018 15:59
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

Re: Release: error code 75 returned from Sendmail

Posted: 12 Apr 2018 21:57
by shawniverson
Is this happening from the GUI, or the release link in the email?

Re: Release: error code 75 returned from Sendmail

Posted: 20 Apr 2018 20:30
by dwagner
Hey, just wanted to chime in here and say that we are having the same issue!

Yes, it is from the WebUI.

Re: Release: error code 75 returned from Sendmail

Posted: 22 Apr 2018 19:05
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)?

Re: Release: error code 75 returned from Sendmail

Posted: 23 Apr 2018 13:38
by dwagner
Both users to which the email was directed have accounts on the EFA system configured as email addresses.

Re: Release: error code 75 returned from Sendmail

Posted: 26 Apr 2018 19:16
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.

Re: Release: error code 75 returned from Sendmail

Posted: 24 Jul 2018 09:43
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:

Re: Release: error code 75 returned from Sendmail

Posted: 24 Jul 2018 13:29
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');

Re: Release: error code 75 returned from Sendmail

Posted: 24 Jul 2018 14:39
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