Topic: Internal Mail relay
System: CentOS 5.8 64-bit
iRedmail 0.7.4 (LDAP)
iRedadmin Pro 1.6.4 LDAP
Could anybody please help me with the following:
I need to be able to send admin mails from several internal systems WITHOUT loggin in. Exemple:
I have a network 10.50.50.0-255
I have hosts with various OS such as Windows, Linux etc. Scripts written in Perl or windows powershell should send some administrative messages to an administrator mailbox. This should be done without beeing logged in. How can I set this up? Currently I get error messages as follows:
Mar 27 07:02:03 sedna postfix/smtpd: connect from unknown[10.50.50.10]
Mar 27 07:02:05 sedna postfix/smtpd: warning: unknown[10.50.50.10]: SASL login authentication failed: UGFzc3dvcmQ6
Mar 27 07:02:05 sedna postfix/smtpd: NOQUEUE: reject: RCPT from unknown[10.50.50.10]: 553 5.7.1 <firstname.lastname@example.org>: Sender address rejected: not logged in; from=<email@example.com> to=<firstname.lastname@example.org> proto=ESMTP helo=<GALAXY>
Mar 27 07:02:05 sedna postfix/smtpd: lost connection after RCPT from unknown[10.50.50.10]
Mar 27 07:02:05 sedna postfix/smtpd: disconnect from unknown[10.50.50.10]
(Names and hosts replaced with nonsense names)
In the above exemple email@example.com should be able send an email using iRedMail server to firstname.lastname@example.org WITHOUT being logged in. Using POWERSHELL this is a simple script as follows:
[string] $From = "email@example.com",
[string] $To = "firstname.lastname@example.org",
[string] $Title = "title",
[string] $Body = "body"
$SmtpClient = New-Object System.Net.Mail.SmtpClient("myhost.xyz.com", 25);
Relaying MUST ONLY WORK for INTERNAL mails, e.g. all mails sent from hosts with IP 10.50.50.*
How can I set this up in iRedMail ??
- Urgent issue? Pay iRedMail developer to solve it remotely at $39.