LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Setting up Postfix mailbox server on SLES11 SP2 (https://www.linuxquestions.org/questions/linux-server-73/setting-up-postfix-mailbox-server-on-sles11-sp2-4175427271/)

dimitarsl 09-14-2012 11:45 AM

Setting up Postfix mailbox server on SLES11 SP2
 
Hi all,
You can find the configuration that i`m using below. I`m not able to connect to the mailbox user1 via outlook over imap or pop3. Both packages imap and pop3 are installed and are working. Telnet on 110 and 143 respond properly. The reason given by the server is no mailbox found. Please advise any adjustments to the current configuration. Basically what i`m trying to setup a few mailboxes and connect to them via outlook. Thanks a lot.

in Main.cf
myhostname = server1
mydomain = domain1.co.uk
mydestination = $mydomain, $myhostname
myorigin = $mydomain
home_mailbox = var/spool/postfix
mail_spool_directory = var/mail
in /etc/postfix/aliases
user1: user1
postalias hash:/etc/postfix/aliases
postfix start
testmail:
echo foo | /usr/sbin/sendmail -f root root && tail -f /var/log/mail

acid_kewpie 09-18-2012 02:43 AM

if you're having imap / pop3 trouble why are you posting the smtp server configs? what is your imap / pop3 server? Is mail being put into a spool file or not?

One thing that does look weird is that the paths to the ail location don't start with a /. you shouldn't need to specify an explicit hostname either. home_mailbox is being used incorrectly too, it's not a path. read the docs. In general... why have you apparently replaced the much more correct default config at all??

dimitarsl 09-18-2012 07:27 AM

Quote:

Originally Posted by acid_kewpie (Post 4783018)
if you're having imap / pop3 trouble why are you posting the smtp server configs? what is your imap / pop3 server? Is mail being put into a spool file or not?

One thing that does look weird is that the paths to the ail location don't start with a /. you shouldn't need to specify an explicit hostname either. home_mailbox is being used incorrectly too, it's not a path. read the docs. In general... why have you apparently replaced the much more correct default config at all??

I wanted to test with configuration without using cyrus just plain Postfix mailbox config.
Got it to work with cyrus installed, without using home_mailbox.


All times are GMT -5. The time now is 01:05 AM.