Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Debian Postfix Courier Problem
hallm
post Sep 8 2004, 02:07 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 8-September 04
Member No.: 3,731



I'm having trouble setting up postfix on a Debian Linux system.

I'm following a tutorial on http://www.projektfarm.com/en/support/debian_setup...

I'm not getting any emails on the server itself and I'm not able to log into the pop3 server with my standard usernames and passwords.

Here's the mail.info log
Sep 8 13:12:45 debianserver postfix/smtpd[894]: connect from unknown[192.168.1.4]
Sep 8 13:12:45 debianserver postfix/smtpd[894]: D05D7442ED: client=unknown[192.168.1.4]
Sep 8 13:12:45 debianserver postfix/smtpd[894]: reject: RCPT from unknown[192.168.1.4]: 554 <hallm@perfectwiring.com>: Recipient address rejected: Relay access denied; from=<hallm@perfectwiring.com> to=<hallm@perfectwiring.com>
Sep 8 13:12:50 debianserver postfix/smtpd[894]: disconnect from unknown[192.168.1.4]
Sep 8 13:12:50 debianserver courierpop3login: Connection, ip=[::ffff:192.168.1.4]
Sep 8 13:12:55 debianserver courierpop3login: LOGIN FAILED, ip=[::ffff:192.168.1.4]
Sep 8 13:12:57 debianserver postfix/smtpd[894]: connect from unknown[192.168.1.4]
Sep 8 13:12:57 debianserver postfix/smtpd[894]: 691E0442ED: client=unknown[192.168.1.4]
Sep 8 13:12:57 debianserver postfix/smtpd[894]: reject: RCPT from unknown[192.168.1.4]: 554 <hallm@perfectwiring.com>: Recipient address rejected: Relay access denied; from=<hallm@perfectwiring.com> to=<hallm@perfectwiring.com>
Sep 8 13:13:02 debianserver postfix/smtpd[894]: disconnect from unknown[192.168.1.4]
Sep 8 13:13:17 debianserver postfix/smtpd[894]: connect from unknown[192.168.1.4]
Sep 8 13:13:17 debianserver postfix/smtpd[894]: 43E20442ED: client=unknown[192.168.1.4]
Sep 8 13:13:17 debianserver postfix/smtpd[894]: reject: RCPT from unknown[192.168.1.4]: 554 <hallm@192.168.1.3>: Recipient address rejected: Relay access denied; from=<hallm@192.168.1.3> to=<hallm@192.168.1.3>
Sep 8 13:13:22 debianserver postfix/smtpd[894]: disconnect from unknown[192.168.1.4]
Sep 8 13:13:22 debianserver courierpop3login: Connection, ip=[::ffff:192.168.1.4]
Sep 8 13:13:27 debianserver courierpop3login: LOGIN FAILED, ip=[::ffff:192.168.1.4]
Sep 8 13:13:28 debianserver postfix/smtpd[894]: connect from unknown[192.168.1.4]
Sep 8 13:13:28 debianserver postfix/smtpd[894]: 7BCD5442ED: client=unknown[192.168.1.4]
Sep 8 13:13:28 debianserver postfix/smtpd[894]: reject: RCPT from unknown[192.168.1.4]: 554 <hallm@192.168.1.3>: Recipient address rejected: Relay access denied; from=<hallm@192.168.1.3> to=<hallm@192.168.1.3>
Sep 8 13:13:33 debianserver postfix/smtpd[894]: disconnect from unknown[192.168.1.4]
Sep 8 13:13:52 debianserver postfix/smtpd[894]: connect from web42006.mail.yahoo.com[66.218.93.174]
Sep 8 13:13:52 debianserver postfix/smtpd[894]: 83E06442ED: client=web42006.mail.yahoo.com[66.218.93.174]
Sep 8 13:13:52 debianserver postfix/smtpd[894]: reject: RCPT from web42006.mail.yahoo.com[66.218.93.174]: 554 <hallm@68.153.234.2>: Recipient address rejected: Relay access denied; from=<hallm74@yahoo.com> to=<hallm@68.153.234.2>
Sep 8 13:13:57 debianserver postfix/smtpd[894]: disconnect from web42006.mail.yahoo.com[66.218.93.174]


Here's the mail.err log
Sep 8 12:36:28 debianserver courierpop3login: LOGIN FAILED, ip=[::ffff:192.168.1.4]
Sep 8 12:36:36 debianserver courierpop3login: LOGIN FAILED, ip=[::ffff:192.168.1.4]
Sep 8 13:04:58 debianserver postfix/smtpd[767]: fatal: bad net/mask pattern: 192.168.1.0/254
Sep 8 13:05:43 debianserver courierpop3login: LOGIN FAILED, ip=[::ffff:192.168.1.4]
Sep 8 13:07:12 debianserver postfix/smtpd[775]: fatal: bad net/mask pattern: 192.168.1.0/254
Sep 8 13:09:02 debianserver postfix/smtpd[781]: fatal: bad net/mask pattern: 192.168.1.0/254
Sep 8 13:12:55 debianserver courierpop3login: LOGIN FAILED, ip=[::ffff:192.168.1.4]
Sep 8 13:13:27 debianserver courierpop3login: LOGIN FAILED, ip=[::ffff:192.168.1.4]

This is my 1st attempt at setting this up. What we have is a static IP address and through our ISP, I have the DNS setup to take the domain name and point to our IP address. (I couldn't configure BIND either). Our webserver works fine and works fine with virtual hosting. I'm just wanting a simple mailserver setup so that all of the employees can have email and be able to check it from their own isp's. I know that I probably have something wrong in my main.cf file. So it's below:

# see /usr/share/postfix/main.cf.dist for a commented, fuller
# version of this file.

# Do not change these directory settings - they are critical to Postfix
# operation.
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
program_directory = /usr/lib/postfix

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
setgid_group = postdrop
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no
myhostname = debianserver
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = server1.example.com, localhost.example.com, localhost
relayhost =
mynetworks = subnet
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_relay_domains
inet_interfaces = all
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
home_mailbox = Maildir/
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th October 2017 - 01:25 PM