Current time: 04-17-2024, 04:56 AM Hello There, Guest! (LoginRegister)


Post Reply 
[solved] Mail setup pop, smtp, blah blah blah
Author Message
djmega01 Offline
Junior Member
*

Posts: 19
Joined: Jul 2009
Reputation: 0
Post: #1
[solved] Mail setup pop, smtp, blah blah blah
Here I go, once again
Believe me... before writing you guys I tried to read a lot threads but didn't found something helpful, so if you have a link it will be greater

1. My server Status show AMaVis, POP3-SSL & SPAMASSASIN as down

2. I'm able to send/receive from the webmain but can't do it from an external app like Thunderbird (the one I use) or others.
I can write anywhere and receive from anywhere, but only from the webmail

I would like anyone to pint me to what I've done wrong here.

My system is running under Debian 5 Lenny and ispCP Omega is spectacular, but... this I need to solve it...

I'm a newbie so please understand me ... I know you all do, but is not bad to ask again...

Dansk Big Grin
(This post was last modified: 08-06-2009 07:10 AM by rbtux.)
08-02-2009 09:46 AM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #2
RE: Mail setup pop, smtp, blah blah blah
Spamassassin should always be down (in fact, you can remove it through the configuration settings and forget about it).

AMaVis has to be manually installed if you want it (there is a great thread about it from rbtux, use the forum search function).

Pop3-ssl is not enabled by default, because right now ispcp doesn't support SSL in any of it's services (it can be manually enabled tough, look at the documentation wiki).

Now, your problem sending/receiving from external mail clients concerns smtp (postfix) and pop3/imap (courier) respectively. Which error message do you get when trying to send? And when trying to receive? Please include the relevant lines from the /var/log/mail.log file too, showing the connection tries...
08-02-2009 10:48 AM
Visit this user's website Find all posts by this user Quote this message in a reply
djmega01 Offline
Junior Member
*

Posts: 19
Joined: Jul 2009
Reputation: 0
Post: #3
RE: Mail setup pop, smtp, blah blah blah
I think it might be something about the ports on iptables or something.

When I try to send from Thunderbird "http://spamhaus.org/query/bl?ip=my laptop'sIP Please check the message's recipient and try again", and then I see another message saying that my server isn't accepting smtp connections.

When I try to receive, this is what I get "mailserver pop.mydomain.com responded: authorization failed"

I can't see any connection attempt on this log but maybe is because I'm new to linux and don't know exactly how to read it.
This is a little bit of what I see in mail.log
There are a lot of this lines, so I just sent you a few for you to see.
Thanks in advance.


Code:
Aug  2 06:25:50 myhostname postfix/pickup[24627]: BD5701E97C: uid=0 from=<root>
Aug  2 06:25:50 myhostname postfix/cleanup[5416]: BD5701E97C: message-id=<20090802102550.BD5701E97C@myhostname.mydomain.com>
Aug  2 06:25:50 myhostname postfix/qmgr[6928]: BD5701E97C: from=<root@myhostname.mydomain.com>, size=1251, nrcpt=1 (queue active)
Aug  2 06:25:50 myhostname postfix/local[5450]: BD5701E97C: to=<admin1@myhostname.mydomain.com>, orig_to=<root>, relay=local, delay=0.1, delays=0.07/0$
Aug  2 06:25:50 myhostname postfix/cleanup[5416]: D037A1E97D: message-id=<20090802102550.D037A1E97D@myhostname.mydomain.com>
Aug  2 06:25:50 myhostname postfix/pickup[24627]: D27021E97E: uid=0 from=<root>
Aug  2 06:25:50 myhostname postfix/bounce[5451]: BD5701E97C: sender non-delivery notification: D037A1E97D
Aug  2 06:25:50 myhostname postfix/qmgr[6928]: D037A1E97D: from=<>, size=3181, nrcpt=1 (queue active)
Aug  2 06:25:50 myhostname postfix/qmgr[6928]: BD5701E97C: removed
Aug  2 06:25:50 myhostname postfix/cleanup[5416]: D27021E97E: message-id=<20090802102550.D27021E97E@myhostname.mydomain.com>
Aug  2 06:25:50 myhostname postfix/qmgr[6928]: D27021E97E: from=<root@myhostname.mydomain.com>, size=829, nrcpt=1 (queue active)
Aug  2 06:25:50 myhostname postfix/local[5450]: D037A1E97D: to=<admin1@myhostname.mydomain.com>, orig_to=<root@myhostname.mydomain.com>, relay=lo$
Aug  2 06:25:50 myhostname postfix/qmgr[6928]: D037A1E97D: removed
Aug  2 06:25:50 myhostname postfix/local[5450]: D27021E97E: to=<admin1@myhostname.mydomain.com>, orig_to=<root>, relay=local, delay=46, delays=46/0/0/$
Aug  2 06:25:50 myhostname postfix/cleanup[5478]: D6B7F1E97B: message-id=<20090802102550.D6B7F1E97B@myhostname.mydomain.com>
Aug  2 06:25:50 myhostname postfix/qmgr[6928]: D6B7F1E97B: from=<>, size=2759, nrcpt=1 (queue active)
Aug  2 06:25:50 myhostname postfix/bounce[5451]: D27021E97E: sender non-delivery notification: D6B7F1E97B
Aug  2 06:25:50 myhostname postfix/qmgr[6928]: D27021E97E: removed
Aug  2 06:25:50 myhostname postfix/local[5450]: D6B7F1E97B: to=<admin1@myhostname.mydomain.com>, orig_to=<root@myhostname.mydomain.com>, relay=lo$
Aug  2 06:25:50 myhostname postfix/qmgr[6928]: D6B7F1E97B: removed
Aug  2 21:52:59 myhostname postfix/pickup[25763]: D96D81E97B: uid=2000 from=<webmaster@admin.mydomain.com>
Aug  2 21:52:59 myhostname postfix/cleanup[25790]: D96D81E97B: message-id=<20090803015259.D96D81E97B@myhostname.mydomain.com>
Aug  2 21:52:59 myhostname postfix/qmgr[6928]: D96D81E97B: from=<webmaster@admin.mydomain.com>, size=862, nrcpt=1 (queue active)
Aug  2 21:53:01 myhostname postfix/smtp[25793]: D96D81E97B: to=<djmega01@hotmail.com>, relay=mx2.hotmail.com[65.55.37.88]:25, delay=1.5, delays=0.04/0/1.2/$
Aug  2 21:53:01 myhostname postfix/qmgr[6928]: D96D81E97B: removed
Aug  3 00:46:35 myhostname pop3d: Connection, ip=[::ffff:65.111.177.14]
Aug  3 00:46:35 myhostname pop3d: Disconnected, ip=[::ffff:65.111.177.14]
Aug  3 06:25:48 myhostname postfix/pickup[8341]: 270451E97D: uid=0 from=<root>
Aug  3 06:25:48 myhostname postfix/cleanup[21207]: 270451E97D: message-id=<20090803102548.270451E97D@myhostname.mydomain.com>
Aug  3 06:25:48 myhostname postfix/qmgr[6928]: 270451E97D: from=<root@myhostname.mydomain.com>, size=1251, nrcpt=1 (queue active)
Aug  3 06:25:48 myhostname postfix/local[21240]: 270451E97D: to=<admin1@myhostname.mydomain.com>, orig_to=<root>, relay=local, delay=0.06, delays=0.04$
Aug  3 06:25:48 myhostname postfix/cleanup[21207]: 336DD1E97E: message-id=<20090803102548.336DD1E97E@myhostname.mydomain.com>
Aug  3 06:25:48 myhostname postfix/bounce[21241]: 270451E97D: sender non-delivery notification: 336DD1E97E
Aug  3 06:25:48 myhostname postfix/qmgr[6928]: 270451E97D: removed
Aug  3 06:25:48 myhostname postfix/qmgr[6928]: 336DD1E97E: from=<>, size=3181, nrcpt=1 (queue active)
Aug  3 06:25:48 myhostname postfix/local[21240]: 336DD1E97E: to=<admin1@myhostname.mydomain.com>, orig_to=<root@myhostname.mydomain.com>, relay=l$
(This post was last modified: 08-03-2009 10:15 PM by BeNe.)
08-03-2009 10:14 PM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #4
RE: Mail setup pop, smtp, blah blah blah
(08-03-2009 10:14 PM)djmega01 Wrote:  When I try to send from Thunderbird "http://spamhaus.org/query/bl?ip=my laptop'sIP Please check the message's recipient and try again", and then I see another message saying that my server isn't accepting smtp connections.

thats because your not authenticated at the smtp relay...

(08-03-2009 10:14 PM)djmega01 Wrote:  When I try to receive, this is what I get "mailserver pop.mydomain.com responded: authorization failed"

thats because you entered the wrong username or password (Remember: user@domain.tld is the correct username...)
08-03-2009 11:12 PM
Visit this user's website Find all posts by this user Quote this message in a reply
djmega01 Offline
Junior Member
*

Posts: 19
Joined: Jul 2009
Reputation: 0
Post: #5
RE: Mail setup pop, smtp, blah blah blah
thats because your not authenticated at the smtp relay...

how do I authenticate threre?



thats because you entered the wrong username or password (Remember: user@domain.tld is the correct username...)

No, I'm using the right user/password combination.
(This post was last modified: 08-03-2009 11:23 PM by djmega01.)
08-03-2009 11:22 PM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #6
RE: Mail setup pop, smtp, blah blah blah
(08-03-2009 11:22 PM)djmega01 Wrote:  how do I authenticate threre?

enable authentication for outgoing server in mail client config... (Where to do that -> FAQ of Mailclient...)


(08-03-2009 11:22 PM)djmega01 Wrote:  No, I'm using the right user/password combination.

Either you're not or you authenticating against the wrong server or the authentication of the server is somehow messed up...

1. Try to login using the webmail to ensure server works properly
2. check that the domainname resolves to the correct server using host, nslookup or dig
08-03-2009 11:25 PM
Visit this user's website Find all posts by this user Quote this message in a reply
djmega01 Offline
Junior Member
*

Posts: 19
Joined: Jul 2009
Reputation: 0
Post: #7
RE: Mail setup pop, smtp, blah blah blah
I can send/receive from the webmail, but not from an external mail app (Thunderbird is the one I use)
This is the result I get from nslookup on any of the domains I host in my dedi:

DNS server handling your query: localhost
DNS server's address: 127.0.0.1#53

Non-authoritative answer:
Name: mydomain.com
Address: my server's IP
08-03-2009 11:42 PM
Find all posts by this user Quote this message in a reply
djmega01 Offline
Junior Member
*

Posts: 19
Joined: Jul 2009
Reputation: 0
Post: #8
RE: Mail setup pop, smtp, blah blah blah
OK
I got it almost working
I found this
http://isp-control.net/forum/thread-4625-page-2.html
And the issue with receiving from thunderbird was that I've been using mail or pop.mydomain.com and only needed to use the domain to login to the server.
I still having issues to send using port 25 or 587...

It says the following:
The message couldn't be sent because connecting to SMTP server mydomain.com failed. The server may be unavailable or is refusing SMTP Connections. Please verify that your SMTP serve setting is correct and try again, or else contact your network administrator.

I'm almost there.
Suggestions are welcome.

Thanks.
(This post was last modified: 08-04-2009 06:38 AM by djmega01.)
08-04-2009 06:38 AM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #9
RE: Mail setup pop, smtp, blah blah blah
logs from server would be nice...


An be sure to use the correct server. For testing purposes using a ipaddress instead of dns is always a good idea...
08-04-2009 07:40 AM
Visit this user's website Find all posts by this user Quote this message in a reply
djmega01 Offline
Junior Member
*

Posts: 19
Joined: Jul 2009
Reputation: 0
Post: #10
RE: Mail setup pop, smtp, blah blah blah
Sorry for the upcoming question, but
Which logs?
I'm a newbie..
Also, what else you need to know?

I've been here all day reading until I fix this
Right I'm trying to read german with no success Sad
08-04-2009 07:44 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)