LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 01-09-2005, 06:47 AM   #1
EldinTux
LQ Newbie
 
Registered: Aug 2003
Posts: 10

Rep: Reputation: 0
Fetchmail/Postfix domain problem


Hi I've been using SuSE for about 3 years now and have always set up a mail server through my dial up dynamic connection. Until I bought 9.1 I used Sendmail but Postfix seems to be the default here. I use fetchmail to get my email then I presume postfix to send it to local users.

Unfortunately email is not getting through to the local domains as it is being delivered to <name>@localhost.Hal2000.Oxeye. I have only one machine (Hal2000.Oxeye) but serveral users. Why is it trying to send to localhost.Hal2000.Oxeye? I can send direct from one user to another!!

Below are some configuration files:

fetchmail.rc
# Edit carefully, see /usr/share/doc/packages/yast2-mail/fetchmailrc.txt
set no bouncemail
poll "mail.isp.co.uk" protocol POP3 : user "foo@isp.co.uk" there with password "*****" is * here ;

etc/hosts
#
# hosts This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server.
# Syntax:
#
# IP-Address Full-Qualified-Hostname Short-Hostname
#

127.0.0.1 localhost

# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback

fe00::0 ipv6-localnet

ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
192.168.0.2 Hal2000.Oxeye Hal2000
192.168.0.1 Hal2001.Oxeye Hal2001

etc/postfix/main.cf
#
# -----------------------------------------------------------------------
# NOTE: Many parameters have already been added to the end of this file
# by SuSEconfig.postfix. So take care that you don't uncomment
# and set a parameter without checking whether it has been added
# to the end of this file.
# -----------------------------------------------------------------------

queue_directory = /var/spool/postfix

command_directory = /usr/sbin

daemon_directory = /usr/lib/postfix
#unknown_local_recipient_reject_code = 550
unknown_local_recipient_reject_code = 450

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/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = maildrop
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/packages/postfix/samples
readme_directory = /usr/share/doc/packages/postfix/README_FILES
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
myhostname = Hal2000.Oxeye
program_directory = /usr/lib/postfix
inet_interfaces = 127.0.0.1 ::1
masquerade_domains = guyendor.co.uk
mydestination = Hal2000.Oxeye
defer_transports = smtp
disable_dns_lookups = yes
relayhost = smtpmail.freenetname.co.uk
content_filter =
mailbox_command =
mailbox_transport =
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtp_sasl_auth_enable = yes
smtpd_sasl_auth_enable = no
smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000
smtp_sasl_security_options =
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd

Thanks

Eldintux
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix - fetchmail error varun_saa Mandriva 4 09-25-2014 06:07 AM
POSTFIX+REPLY Domain PRoblem pin_bk Linux - General 3 09-15-2004 05:25 AM
Postfix Domain name problem fuzzy_trb Linux - Newbie 11 07-18-2004 04:44 AM
postfix sieve fetchmail mindcry Linux - Networking 1 10-22-2003 07:36 PM
postfix + cyrus + fetchmail jim_boy Linux - Software 2 02-19-2003 03:54 PM


All times are GMT -5. The time now is 07:37 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration