November 22, 2024, 02:56:06 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Mail Sending Problem from remote client  (Read 6207 times)

Offline rajesh.bahl

  • Linux Learner
  • ***
  • Posts: 86
Mail Sending Problem from remote client
« on: June 16, 2007, 05:50:50 PM »


Dear all,

I need your help in resolving an issue:-

I have a linux server running with two ethernet cards. The server is acting as proxy and mail server as well. Applications being used for the purpose are squid and postfix respectively.
All the LAN clients are able to use these services properly. We have another office in other city and they need to upload mail to this server but are not able to do so. When ever this remote client wants to send mail to us , our postmaster gets following error (through mail):-

Out: 451  Server configuration error


Strange thing is if we send mail to them it gets downloaded properly in the mail client .
The issue pops up when they send mail as the same never reaches its destination. I have scanned ports on both ethernet cards in the server and have found both port 110 and 25 open on both interfaces.


Any suggestions ??





Thanks in advance
rajesh.bahl


Offline swaamiji

  • New Member
  • Posts: 2
Re: Mail Sending Problem from remote client
« Reply #1 on: June 25, 2007, 01:05:24 PM »
can u post ur postfix configuration entries ....

Offline rajesh.bahl

  • Linux Learner
  • ***
  • Posts: 86
Re: Mail Sending Problem from remote client
« Reply #2 on: July 09, 2007, 12:54:34 PM »

Please find the information in my main.cf file:-

queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
default_privs = nobody
myhostname = xx.xxxxx.net
mydomain = xxxxx.net
myorigin = $mydomain
inet_interfaces = all
smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_recipient_restrictions =
   check_client_access hash:/etc/postfix/access
   permit_mynetworks
   reject_unauth_destination
   reject_non_fqdn_sender
   reject_unknown_sender_domain
   reject_unknown_recipient_domain
   check_helo_access pcre:/etc/postfix/helo_checks
   reject_unauth_pipelining
smtpd_soft_error_limit = 3
smtpd_hard_errors_limit = 6
smtpd_helo_restrictions = permit_mynetworks,
   reject_rbl_client  =   relays.ordb.org
   reject_rbl_client  =   sbl.spamhaus.org
   reject_rbl_client  =   proxies.relays.monkeys.com
   reject_rbl_client  =   opm.blitzed.org
   reject_rbl_client  =   dnsbl.njabl.org
   reject_rbl_client  =   blackholes.wirehub.net
   reject_rbl_client  =   list.dsbl.org
append_at_myorigin = yes
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains = $mydomain
alias_maps = hash:/etc/postfix/aliases
alias_database = hash:/etc/postfix/aliases
mail_spool_directory = /var/spool/mail
mailbox_command = /usr/bin/procmail
header_checks = regexp:/etc/postfix/header_checks
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.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.0.18/samples
readme_directory = /usr/share/doc/postfix-2.0.18/README_FILES
alias_database = hash:/etc/postfix/aliases
mailbox_size_limit = 600000000
content_filter = smtp-amavis:[127.0.0.1]:10024


regards
rajesh.bahl


Offline rajesh.bahl

  • Linux Learner
  • ***
  • Posts: 86
Re: Mail Sending Problem from remote client
« Reply #3 on: August 12, 2007, 06:36:21 PM »

Hi Linux Experts !


Please help.



regards
rajesh.bahl

Offline rajesh.bahl

  • Linux Learner
  • ***
  • Posts: 86
Re: Mail Sending Problem from remote client
« Reply #4 on: September 03, 2007, 07:21:53 PM »

After doing a lot of "googling" i have come to know that this can be done by enabling SMTP-AUTH in Postfix.

Again some people say it needs SASL , some say that it can be done with Dovecot .

Can some one throw some light on which approach is better and step by step configuration of the same ?




regards
rajesh.bahl