1

Topic: Sender address rejected: not logged in

==== Provide required information ====
- iRedMail version and backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Any related log? Log is helpful for troubleshooting.
====

Hi I am Anand

i Recently configured IRedmail but i am not able to authenticate LDAP From SMTP (25)

I am getting below error

Jun 24 00:51:13 example.com postfix/smtpd[23319]: NOQUEUE: reject: RCPT from example.com[10.10.19.19]: 553 5.7.1 <anand@example>: Sender address rejected: not logged in; from=<anand@example.com> to=<www@example.com> proto=ESMTP helo=<example.com>

can anyone help to colve this problem

Thankyou

----

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

2

Re: Sender address rejected: not logged in

hi

error while starting amavisd


/etc/init.d/amavisd start
/etc/init.d/amavisd: line 105: syntax error near unexpected token `fi'
/etc/init.d/amavisd: line 105: `    fi'

how to fix this issue

thanks

3

Re: Sender address rejected: not logged in

97   condrestart)
     98     [ -e /var/lock/subsys/$prog ] && restart
     99     RETVAL=$?
    100     ;;
    101   status)
    102     status $prog
    103     if [ "$MILTER_SOCKET" -a -x "/usr/sbin/$prog2" ]; then
    104         #status $prog2
    105     fi
    106     RETVAL=$?
    107     ;;
    108   *)
    109     echo $"Usage: $0 {start|stop|restart|reload|condrestart|status}"
    110     RETVAL=1
    111 esac
    112

4

Re: Sender address rejected: not logged in

    103     if [ "$MILTER_SOCKET" -a -x "/usr/sbin/$prog2" ]; then
    104         #status $prog2
    105     fi

You comment out line 104, which is the only statement nested in a if-fi block. Was it modified by you or iRedMail?
If you don't want to do anything in this if-fi block, please place a ':' in them. For example:

     if [ "$MILTER_SOCKET" -a -x "/usr/sbin/$prog2" ]; then
         #status $prog2
         :
     fi

5

Re: Sender address rejected: not logged in

ZhangHuangbin wrote:
    103     if [ "$MILTER_SOCKET" -a -x "/usr/sbin/$prog2" ]; then
    104         #status $prog2
    105     fi

You comment out line 104, which is the only statement nested in a if-fi block. Was it modified by you or iRedMail?
If you don't want to do anything in this if-fi block, please place a ':' in them. For example:

     if [ "$MILTER_SOCKET" -a -x "/usr/sbin/$prog2" ]; then
         #status $prog2
         :
     fi



Thank you So much

after modified the script i am getting below error starting

/etc/init.d/amavisd restart
Shutting down Mail Virus Scanner (amavisd):                [FAILED]
Starting Mail Virus Scanner (amavisd): Error in config file "/etc/amavisd.conf": Can't open PEM file /var/lib/dkim/example.com.pem: No such file or directory at /usr/sbin/amavisd line 561.
                                                           [FAILED]

kindly suggest me

6

Re: Sender address rejected: not logged in

Hi I Solved this amavisd server start error

after i configured all settings i am not able to send mail i am getting below error

Jun 26 11:55:41 example postfix/smtp[27235]: A8EE41C8072: to=<anand@example.com>, relay=none, delay=4797, delays=4797/0.01/0/0, dsn=4.4.1, status=deferred (connect to example[10.10.x.x]:10024: Connection refused)


Kindly help me to solve this problem

Thank you