PDA

View Full Version : E-mail send and recieve problem


thebigfing
22nd August 2005, 19:52
I have installed ISPConfig on my server and add a website to it. Also have I add a e-mail address to that website. Now I have try to send a e-mail from my e-mail address (of my internet provider) to my new e-mail address from the website. Then I get the following error:

Recipient address rejected: Relay access denied

I have read the ather posts about this topic but they don't answer my question.

I have open my the ports in my firewall and router that Postfix nead.

When I enter:

ehlo localhost

in telnet I get the following result:

250-server1.xxxxx.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250 8BITMIME

and I compleetly follow this tutorial:

http://www.howtoforge.com/perfect_setup_fedora_core_4

so I realy don't now what is wrong.

The Big Fing

m u r
22nd August 2005, 20:00
Is maildir checked in management>server>settings?

Did you send a test email first to create the mail box?

thebigfing
22nd August 2005, 20:21
The option mail dir in management>server>settings was not checked. I have now checked it. But I have probblems loging in to the web interface to send a test mail. How do I log in here, by that I mean which username and password must I use. Must I type in by e-mail the e-mail address of the user of the username?

m u r
22nd August 2005, 20:24
Have you installed webmail?

Can you send an email from a foreign server?

thebigfing
22nd August 2005, 20:31
I have install webmail and yes I can send e-mail from a foreign server but then I res receive a mail delivery error.

fnx for all your replys :)

falko
22nd August 2005, 21:12
Is the recipient address domain in /etc/postfix/local-host-names?
Does your mail actually arrive on your ISPConfig machine, or is it sent to another system because of some DNS misconfiguration? Have a look into your maillog (under /var/log) to see if the mail is at least arriving on your system.

You can run
tail -f /var/log/[your_maillog_file] to watch real-time what happens when you try to send a mail to your ISPConfig system.

thebigfing
22nd August 2005, 23:05
sorry but what do you mean whit this:

Is the recipient address domain in /etc/postfix/local-host-names?

I don't understand the sentence

falko
22nd August 2005, 23:52
sorry but what do you mean whit this:

Is the recipient address domain in /etc/postfix/local-host-names?

I don't understand the sentence

For example you send an email to thebigfing@example.com. Then example.com has to be in /etc/postfix/local-host-names.

thebigfing
23rd August 2005, 15:54
This what I get in my e-mail log:

Aug 23 15:50:08 server1 postfix/smtpd[24827]: NOQUEUE: reject: RCPT from xxx-xxx-xxx-xxx-mx.xdsl.tiscali.nl[xxx.xxx.xxx.xxx]: 554 <xxxx@xxxxx.xx>: Recipient address rejected: Relay access denied; from=<xxxxx@xxxxx.xxxx.xxx> to=<xxxxxx@xxxx.xx> proto=ESMTP helo=<[xxx.xxx.xxx.xxx]>

Aug 23 15:50:08 server1 postfix/smtpd[24827]: disconnect from xxx-xxx-xx-xxx-mx.xdsl.tiscali.nl[xxx.xxx.xxx.xxx]

till
23rd August 2005, 16:02
This what I get in my e-mail log:

Aug 23 15:50:08 server1 postfix/smtpd[24827]: NOQUEUE: reject: RCPT from xxx-xxx-xxx-xxx-mx.xdsl.tiscali.nl[xxx.xxx.xxx.xxx]: 554 <xxxx@xxxxx.xx>: Recipient address rejected: Relay access denied; from=<xxxxx@xxxxx.xxxx.xxx> to=<xxxxxx@xxxx.xx> proto=ESMTP helo=<[xxx.xxx.xxx.xxx]>

Aug 23 15:50:08 server1 postfix/smtpd[24827]: disconnect from xxx-xxx-xx-xxx-mx.xdsl.tiscali.nl[xxx.xxx.xxx.xxx]


Is the domain that should receive this email in the file:

/etc/postfix/local-host-names

?

thebigfing
23rd August 2005, 21:36
The domain that must receive the e-mail is thebigfing.no-ip.com

and this is what is in the fiel:

localhost
server1.thebigfing.no-ip.com
localhost.server1.thebigfing.no-ip.com
localhost.thebigfing.no-ip.com
www.thebigfing.no-ip.com
thebigfing.no-ip.com

thebigfing
25th August 2005, 14:08
can someone pleas help me I don't now where to go.

fnx,

The Big Fing

thebigfing
25th August 2005, 15:08
This is what I get from the log:

Aug 25 15:02:08 server1 postfix/smtpd[21271]: connect from smtp-out1.tiscali.nl[***.***.79.176]
Aug 25 15:02:09 server1 postfix/smtpd[21271]: setting up TLS connection from smtp-out1.tiscali.nl[***.***.79.176]
Aug 25 15:02:09 server1 postfix/smtpd[21271]: TLS connection established from smtp-out1.tiscali.nl[***.***.79.176]: TLSv1 with cipher AES256-SHA (256/256 bits)
Aug 25 15:02:09 server1 postfix/smtpd[21271]: 390D4EC851C: client=smtp-out1.tiscali.nl[***.***.79.176]
Aug 25 15:02:09 server1 postfix/cleanup[21276]: 390D4EC851C: message-id=<7EE1EAA0-8C6C-416C-9505-B05EB5E7387E@tiscali.nl>
Aug 25 15:02:09 server1 postfix/qmgr[21225]: 390D4EC851C: from=<************rotzooi@tiscali.nl>, size=933, nrcpt=1 (queue active)
Aug 25 15:02:09 server1 postfix/smtpd[21271]: disconnect from smtp-out1.tiscali.nl[***.***.79.176]
Aug 25 15:02:09 server1 sendmail[21283]: j7PD29Rv021283: from=web2_thebigfing, size=115, class=0, nrcpts=1, msgid=<200508251302.j7PD29Rv021283@server1.thebigfing.no-ip.com>, relay=web2_thebigfing@localhost
Aug 25 15:02:09 server1 postfix/smtpd[21271]: connect from server1.thebigfing.no-ip.com[127.0.0.1]
Aug 25 15:02:09 server1 postfix/smtpd[21271]: setting up TLS connection from server1.thebigfing.no-ip.com[127.0.0.1]
Aug 25 15:02:09 server1 postfix/smtpd[21271]: TLS connection established from server1.thebigfing.no-ip.com[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
Aug 25 15:02:09 server1 sendmail[21283]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
Aug 25 15:02:09 server1 postfix/smtpd[21271]: A43ABEC851D: client=server1.thebigfing.no-ip.com[127.0.0.1], sasl_sender=web2_thebigfing@server1.thebigfing.no-ip.com
Aug 25 15:02:09 server1 postfix/cleanup[21276]: A43ABEC851D: message-id=<200508251302.j7PD29Rv021283@server1.thebigfing.no-ip.com>
Aug 25 15:02:09 server1 postfix/qmgr[21225]: A43ABEC851D: from=<web2_thebigfing@server1.thebigfing.no-ip.com>, size=816, nrcpt=1 (queue active)
Aug 25 15:02:09 server1 sendmail[21283]: j7PD29Rv021283: to=admispconfig@localhost, ctladdr=web2_thebigfing (10004/10002), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30115, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as A43ABEC851D)
Aug 25 15:02:09 server1 postfix/smtpd[21271]: disconnect from server1.thebigfing.no-ip.com[127.0.0.1]
Aug 25 15:02:09 server1 postfix/local[21278]: 390D4EC851C: to=<web2_thebigfing@server1.thebigfing.no-ip.com>, orig_to=<thebigfing@thebigfing.no-ip.com>, relay=local, delay=0, status=sent (delivered to command: /usr/bin/procmail -f-)
Aug 25 15:02:09 server1 postfix/qmgr[21225]: 390D4EC851C: removed
Aug 25 15:02:09 server1 postfix/local[21298]: A43ABEC851D: to=<admispconfig@server1.thebigfing.no-ip.com>, relay=local, delay=0, status=sent (delivered to command: /usr/bin/procmail -f-)
Aug 25 15:02:09 server1 postfix/qmgr[21225]: A43ABEC851D: removed
Aug 25 15:04:32 server1 ipop3d[21382]: pop3 service init from ***.***.93.154
Aug 25 15:04:32 server1 ipop3d[21382]: Login user=web2_thebigfing host=195-241-93-154-mx.xdsl.tiscali.nl [***.***.93.154] nmsgs=0/0
Aug 25 15:04:32 server1 ipop3d[21382]: Logout user=web2_thebigfing host=195-241-93-154-mx.xdsl.tiscali.nl [***.***.93.154] nmsgs=0 ndele=0
Aug 25 15:04:35 server1 ipop3d[21387]: pop3 service init from ***.***.93.154
Aug 25 15:04:35 server1 ipop3d[21387]: Login user=web2_thebigfing host=195-241-93-154-mx.xdsl.tiscali.nl [***.***.93.154] nmsgs=0/0
Aug 25 15:04:35 server1 ipop3d[21387]: Logout user=web2_thebigfing host=195-241-93-154-mx.xdsl.tiscali.nl [***.***.93.154] nmsgs=0 ndele=0

falko
25th August 2005, 15:49
Looks ok. So I guess that emails are arriving but that you have a problem with Maildir vs. mbox. For example, if you have checked Maildir under Management -> Server -> Settings -> Email, but your POP3 daemon uses mbox then your POP3 daemon cannot access your mail because they're in Maildir (and vice versa).
So if you've checked Maildir in ISPConfig, uncheck it; if you haven't checked it, then check it now.

thebigfing
25th August 2005, 15:58
fnx that is it :D