mdavid8421 wrote:
Looks like the postfix installation is messed up. My suggestion would be to remove both postfix,courier and saslauthd and start again.
Thanks for your help.
First installed a backup system to my home, because I have 2 years of emails on that account.
Removed posftfix, .. and installed them again. Then I found my ISP is blocking port 25, so I configured a port-forwarding in my firewall.
smtp is working now, great! But solved one problem, created another: imap is broke

Code:
tufus:/home/pixel/log# authtest pixel pass
Authentication succeeded.
Authenticated: pixel (system username: pixel)
Home Directory: /home/pixel
Maildir: (none)
Quota: (none)
Encrypted Password: pass
Cleartext Password: pass
Options: (none)
Code:
LauBook:~ Laurens$ telnet tufus.info 143
Trying 70.85.129.231...
Connected to tufus.info.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc. See COPYING for distribution information.
login pixel pass
login NO Error in IMAP command received by server.
abc login pixel pas
* BYE [ALERT] Fatal error: Account's mailbox directory is not owned by the correct uid or gid: No such file or directory
Connection closed by foreign host.
Code:
tufus:/home/pixel/log# cd /home/pixel
tufus:/home/pixel# ls -l
total 4
drwx------ 15 pixel gebruikers 1024 Dec 1 14:25 Maildir
Configs of imapd and imapd-ssl are all default.
I think when I run authtest I should see my Maildir? I don't know why he doesn't does that?
It used to work, but after making that smtp server, I did an apt upgrade, a new version of imap was out, installed that and it broke. So I think by installing that, a service got restarted and a new config got loaded? Any hints?
sweh wrote:
Where where you trying to smtp _from_ ? Some home DSL/cable/whatever providers block outgoing port 25 connections (to stop spam). So in your testing make sure you're not testing from a blocked network

Now I'm reading that message!

That was the case indeed.