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
Problems with SquirrelMail
View previous topic :: View next topic  
Author Message
vadim
Member


Joined: 16 Oct 2008
Posts: 40

PostPosted: Wed Feb 18, 2009 2:48 pm    Post subject: Problems with SquirrelMail Reply with quote

Hi,

1.Recently we have used netconfig -lcd with the following parametres host - mail; domen - syringe.ru

2.we opened 25 port on our router to sms server

3.then added A-record to DNS server to router IP Address afterall added MX-record for mail.syringe.ru.

4.After we sent from the administrator@mail.syringe.ru to external e-mail address. It was received without any problems.

5.However when we sent our responce from external address to administrator@mail.syringe.ru we have not received any reply.

We tried to add the sentence below with a configuration file Postfix
proxy_interfaces = 195.210.159.37
But unfortunatelly it failed and did not brought any possitive results.

According to our opinion this is a problem in Postfix - NAT, because the local net works well and there are no problems with this connection.

We suppose that all our steps were correct, but the result was puresome.

We are looking forward your helping hand.


BR
Vadim
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1753
Location: Greece

PostPosted: Wed Feb 18, 2009 7:16 pm    Post subject: Reply with quote

add to /etc/hosts
195.210.159.37 mail.syringe.ru

What /var/log/maillog says about the rejecting? All answers are in there.
Can you post your main.cf here or by private message? do a'postconf -n'?

You should forward 143 port on your router too for squirrelmail.

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
vadim
Member


Joined: 16 Oct 2008
Posts: 40

PostPosted: Wed Feb 18, 2009 7:46 pm    Post subject: Reply with quote

1. I add:

to /etc/hosts
195.210.159.37 mail.syringe.ru

and open 143 port on router

2. Maillog:

Feb 18 17:36:41 mail postfix/smtpd[4470]: NOQUEUE: reject: RCPT from mail-bw0-f177.google.com[209.85.218.177]: 450 4.3.2 <administrator@mail.syringe.ru>: Recipient address rejected: Try again later; from=<vinokurov@medpharma.ru> to=<administrator@mail.syringe.ru> proto=ESMTP helo=<mail-bw0-f177.google.com>
Feb 18 17:36:41 mail postfix/smtpd[4470]: disconnect from mail-bw0-f177.google.com[209.85.218.177]
Feb 18 17:37:51 mail postfix/smtpd[4470]: connect from fk-out-0910.google.com[209.85.128.189]
Feb 18 17:37:51 mail postfix/smtpd[4470]: NOQUEUE: reject: RCPT from fk-out-0910.google.com[209.85.128.189]: 450 4.3.2 <administrator@mail.syringe.ru>: Recipient address rejected: Try again later; from=<vinokurov@medpharma.ru> to=<administrator@mail.syringe.ru> proto=ESMTP helo=<fk-out-0910.google.com>
Feb 18 17:37:51 mail postfix/smtpd[4470]: disconnect from fk-out-0910.google.com[209.85.128.189]


Last edited by vadim on Wed Feb 18, 2009 7:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
vadim
Member


Joined: 16 Oct 2008
Posts: 40

PostPosted: Wed Feb 18, 2009 7:50 pm    Post subject: Reply with quote

main.cf

queue_directory = /var/spool/postfix
command_directory = /usr/sbin/
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
myhostname = mail.syringe.ru
mydomain = syringe.ru
proxy_interfaces = 195.210.159.37
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
Back to top
View user's profile Send private message
vadim
Member


Joined: 16 Oct 2008
Posts: 40

PostPosted: Wed Feb 18, 2009 7:54 pm    Post subject: Reply with quote

postconf -n

----------------------------------------------------------------------

root@mail:~# postconf -n
alias_database = hash:/etc/mail/aliases
alias_maps = hash:/etc/mail/aliases, nis:mail.aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin/
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
header_checks = regexp:/etc/postfix/header_checks
home_mailbox = Maildir/
local_recipient_maps = $alias_maps unix:passwd.byname $virtual_mailbox_maps
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailq_path = /usr/sbin/mailq
manpage_directory = /usr/man
milter_default_action = accept
mydestination = $mydomain, localhost.$mydomain, $myhostname
mydomain = syringe.ru
myhostname = mail.syringe.ru
newaliases_path = /usr/sbin/newaliases
proxy_interfaces = 195.210.159.37
queue_directory = /var/spool/postfix
sample_directory = /etc/postfix/sample
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtp_use_tls = yes
smtpd_milters = unix:/var/run/clamav-milter/milter.sock
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, defer
smtpd_reject_unlisted_recipient = no
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_cert_file = /etc/ssl/certs/dovecot.pem
smtpd_tls_key_file = /etc/ssl/certs/dovecot.pem
smtpd_use_tls = yes
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual, $alias_maps
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1753
Location: Greece

PostPosted: Wed Feb 18, 2009 8:42 pm    Post subject: Reply with quote

OK. Try removing
proxy_interface
virtual_alias_maps
$virtual_mailbox_maps from local_recipient_maps
and add
myorigin = $mydomain

do a postfix reload, and always monitor /var/log/maillog for errors.

You can try
local_recipient_maps =
alternative.
Also check administrator user with
'testsaslauthd -u administrator -p password'

Try creating a new user and test with the new user. Any changes to /etc/mail/aliases requires
'newaliases' command.

You can try increasing form 3s to maybe 10s just to check
address_verify_poll_delay = 3s
and
smtpd_delay_reject = no

let me know if anything changes.
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
vadim
Member


Joined: 16 Oct 2008
Posts: 40

PostPosted: Fri Feb 20, 2009 5:17 pm    Post subject: Reply with quote

in main.cf

local_recipient_maps = $alias_maps unix:passwd.byname $virtual_mailbox_maps

I can't find the value of virtual_mailbox_maps in main.cf
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1753
Location: Greece

PostPosted: Fri Feb 20, 2009 6:26 pm    Post subject: Reply with quote

$virtual_mailbox_maps exists in main.cf.ldap config file (virtual_mailbox_maps = ldap:/etc/postfix/ldap-users.cf), you don't need it with this configuration, just delete it.

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
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