HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Virtual Users And Domains With Postfix,.....Ubuntu 8.04 LTS) Again (http://www.howtoforge.com/forums/showthread.php?t=25864)

Morons 8th August 2008 11:14

Virtual Users And Domains With Postfix,.....Ubuntu 8.04 LTS) Again
 
Setup used - > Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.04 LTS)

Sorry I messed up or it seem some setting is missing around the /home/vmail maildrop. I prolly broken stuff trying to fix it!

I am getting some errors, as you can see initially getting an deferred then as the queue get to it again it mentioned "such file or directory"
Code:

Aug  8 10:52:34 geekscraft postfix/error[12320]: 8678BD4554: to=<jpb@amo1.co.za>, relay=none, delay=0.04, delays=0.01/0.01/0/0.02, dsn=4.3.0, status=deferred (mail transport unavailable)
Aug  8 10:55:03 geekscraft postfix/qmgr[12195]: 44D25D454F: from=<jpb@zonemail.co.za>, size=1159, nrcpt=1 (queue active)
Aug  8 10:55:03 geekscraft postfix/qmgr[12195]: warning: connect to transport 10485760: No such file or directory
Aug  8 10:55:03 geekscraft postfix/error[12329]: 44D25D454F: to=<jpb@amo1.co.za>, relay=none, delay=1082, delays=1082/0/0/0.02, dsn=4.3.0, status=deferred (mail transport unavailable)
Aug  8 11:00:03 geekscraft postfix/qmgr[12195]: 8678BD4554: from=<jpb@zonemail.co.za>, size=1036, nrcpt=1 (queue active)
transport unavailable)

Code:

root@hera:~# telnet ame.....za 25
Trying 41......45...
Connected to ame.....za.
Escape character is '^]'.
220 geekscraft.amo1.co.za ESMTP Postfix (Ubuntu)
ehlo zonemail.co.za
250-geekscraft.amo1.co.za
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
mail from:<jpb@zonemail.co.za>
250 2.1.0 Ok
rcpt to:<jpb@amo1.co.za>
250 2.1.5 Ok
data
354 End data with <CR><LF>.<CR><LF>
Hello jonge
.
250 2.0.0 Ok: queued as C7BFED4373

Another thing to note is the /etc/postfix/main.cf setting mailbox_command or the lack of it! How does postfix deliver to the maildir?
Code:

mynetworks = 127.0.0.0/8; 192.168.0.0/24
mailbox_command =
mailbox_size_limit = 10485760

my vmail
Code:

root@geekscraft:~# ll /home/vmail/
total 24
drwxrwxr-x  3 vmail vmail 4096 2008-08-08 10:34 .
drwxrwx--- 17 root  root  4096 2008-08-07 11:35 ..
drwxrw-r-x  3 vmail vmail 4096 2008-08-08 10:34 amo1.co.za
-rwxrwx---  1 vmail vmail  220 2008-06-16 17:02 .bash_logout
-rwxrwx---  1 vmail vmail 2928 2008-06-16 17:02 .bashrc
-rwxrwx---  1 vmail vmail  586 2008-06-16 17:02 .profile


Thanx

ralic 8th August 2008 20:53

Quote:

Originally Posted by Morons (Post 139960)
Another thing to note is the /etc/postfix/main.cf setting mailbox_command or the lack of it! How does postfix deliver to the maildir?

Through the virtual_mailbox_base and virtual_mailbox_maps options.
Quote:

Originally Posted by Morons (Post 139960)
Code:

mynetworks = 127.0.0.0/8; 192.168.0.0/24
mailbox_command =
mailbox_size_limit = 10485760


I'd suggest you replace that semi-colon on the mynetworks line with a comma and remove the mailbox_command. Don't recall seeing that one in the tutorial anywhere.

See how things go after that.


All times are GMT +2. The time now is 09:59.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.