Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
Virtualhost with virtualmin
View previous topic :: View next topic  
Author Message
jppiers
Junior Member


Joined: 01 May 2009
Posts: 6
Location: France

PostPosted: Fri May 01, 2009 10:26 pm    Post subject: Virtualhost with virtualmin Reply with quote

Hi there,
i do like it's write on the tip and tricks, but , the Apache module have problems with LDAP modules

and i have made mods but on mail it doesn't seems to work

i have not been tested other thinks

, i Just want virtual domains for mail i have read about POSTFIX doc and it says to add the new domain in the $mydomain, localhost.$mydomain, $myhostname, depanpc.mine.nu and it doesn't seems to work

i have a domain who is register to EURODNS and my other to DYNDNS

i do not receive mail for the depanpc.mine.nu

so if you have anny solution for me ...

thanks in advance

_________________
JP Piers
---------
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Fri May 01, 2009 10:47 pm    Post subject: Reply with quote

Have you download the latest virtualmin or you use the addon from SMS downloads.
If you use the addon it's old so it's recommended to download the latest virtualmin and apply it to SMS-1.4.2 as described here
SMS-1.4.2 don't use LDAP so you will have no problems.

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
jppiers
Junior Member


Joined: 01 May 2009
Posts: 6
Location: France

PostPosted: Mon May 04, 2009 6:28 pm    Post subject: no mail from outside my lan , impossible to connect to smtp Reply with quote

Hi,
have you an idea i do not receive any mail from outside for example if i send a mail from my gmail adress to my sms mail adress i never receive it !

when i'm in office i can't connect to smtp , etheir the port 25 is open and nat to the sms server, either port 465 i have not read a lot and check a lot but i need a mail server rapidely , my old SME server whas crashed and i prefer slackware so ...

if you have anny idea maybee in portfix conf but i have see nothing who as shocking me ...

_________________
JP Piers
---------
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Mon May 04, 2009 6:58 pm    Post subject: Reply with quote

I need more info to be able to help you.
What's you domain?
do a 'postconf -n' for start.

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
jppiers
Junior Member


Joined: 01 May 2009
Posts: 6
Location: France

PostPosted: Mon May 04, 2009 9:27 pm    Post subject: my postconf and error in syslog Reply with quote

here is my main.cf

command_directory = /usr/sbin/
daemon_directory = /usr/libexec/postfix
myhostname = www.depanpc.mine.nu
mydomain = depanpc.mine.nu
mydestination = $mydomain, localhost.$mydomain, $myhostname
local_recipient_maps = $alias_maps unix:passwd.byname $virtual_mailbox_maps
unknown_local_recipient_reject_code = 550
home_mailbox = Maildir/
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/sbin/newaliases
mailq_path = /usr/sbin/mailq
setgid_group = postdrop
manpage_directory = /usr/man
sample_directory = /etc/postfix/sample
smtp_use_tls = yes
sendmail_path = /usr/sbin/sendmail
virtual_alias_maps = hash:/etc/postfix/virtual, $alias_maps
mail_spool_directory = /var/spool/mail
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
broken_sasl_auth_clients = yes
smtpd_use_tls = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, defer
alias_maps = hash:/etc/mail/aliases, nis:mail.aliases
alias_database = hash:/etc/mail/aliases
smtpd_reject_unlisted_recipient = no
smtpd_tls_cert_file = /etc/ssl/certs/dovecot.pem
smtpd_tls_key_file = /etc/ssl/certs/dovecot.pem
smtpd_milters = unix:/var/run/clamav-milter/milter.sock
milter_default_action = accept
header_checks = regexp:/etc/postfix/header_checks
myorigin = $mydomain

I just put a fresh one from a boot of livecd

in syslog :

May 4 20:58:28 www postfix/smtpd[7974]: unable to dlopen /usr/lib/sasl2/libsql.so.2: libpq.so.5: cannot open shared object file: No such file or directory

so i install libpqxx who fix the problem but now i have an other problem


May 4 21:01:40 www postfix/smtpd[9579]: sql_select option missing
May 4 21:01:40 www postfix/smtpd[9579]: auxpropfunc error no mechanism available

the message is send from postfix to external adress now

then in /var/log/maillog

May 4 21:02:22 www postfix/local[9740]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
May 4 21:02:22 www postfix/local[9740]: 19FB330372: to=<jp@www.depanpc.mine.nu>, relay=local, delay=0.03, delays=0.02/0.01/0/0, dsn=2.0.0, status=sent (delivered to maildir)
May 4 21:02:22 www postfix/qmgr[9297]: 19FB330372: removed
May 4 21:08:57 www postfix/sendmail[10961]: fatal: usage: sendmail [options]

when i try to send mail to my server i get :

an error that 450 450 4.3.2 xx@depanpc.mine.nu : Recipient adress rejected try again later (state 14)

ps this user is valid , have a shell etc ....

_________________
JP Piers
---------
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Tue May 05, 2009 6:17 am    Post subject: Reply with quote

Replcace at main.cf
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
jppiers
Junior Member


Joined: 01 May 2009
Posts: 6
Location: France

PostPosted: Tue May 05, 2009 11:50 am    Post subject: Reply with quote

Ok thanks a lot i'm abble to receive mail from outside ,

but for now i'm in my office and i can't send mail from here to smtp it seems to refuse smtp from my thunderbird

have you an idea ?

thanks

_________________
JP Piers
---------
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Tue May 05, 2009 5:30 pm    Post subject: Reply with quote

What your settings are?
Did you setup incoming port 143 and smtp port 25?

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
jppiers
Junior Member


Joined: 01 May 2009
Posts: 6
Location: France

PostPosted: Tue May 05, 2009 6:57 pm    Post subject: Reply with quote

Hi again,

when i'm in office , i want send mail to my server who is at home

so i'm not on same IP adress , yes i want send by smtp via my server at
home on smtp from an other network

i receive my mail when i'm connected outside my lan on imaps it works

thanks in advance

_________________
JP Piers
---------
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional