1 (edited by dan 2012-08-30 19:01:15)

Topic: User without password

==== ==== Required information ====
- iRedMail version: 0.7.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Ubuntu 11.10
- Related log if you're reporting an issue:
====

Hi, how to create a user without a password with reference to IP for sending reports from the server machine like Tipping Point?
Thanks.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: User without password

How about set a long and complex password for it?

3 (edited by dan 2012-08-31 12:07:46)

Re: User without password

There are only fields for entering:

Default To Email Address:
From Email Address:
From Domain Name:
SMTP Server IP Address:
Email Threshold (per minute):

...and no place to enter the password.

4 (edited by maxie_ro 2012-08-31 16:24:09)

Re: User without password

Create in directory /etc/postfix a text file, for example "accept_unauth", with content like this:

my-unautheticated-user@mydomain.com     OK

First column is the email address, second is the word "OK".

Compile it using postmap, for example

postmap hash:accept_unauth

Add it to your main.cf and restart Postfix:

smtpd_sender_restrictions =
        permit_mynetworks,
        permit_sasl_authenticated,
        check_sender_access hash:/etc/postfix/accept_unauth,
        .....

smtpd_recipient_restrictions =
        check_sender_access hash:/etc/postfix/accept_unauth,
       .....

This should permit SMTP from "my-unautheticated-user@mydomain.com" without login. I'm using it myself, but it might depend on your config.

5

Re: User without password

Thanks. I'll try to do this over the weekend.