gnetcon *nix forums beginner
Joined: 03 Aug 2006
Posts: 1
|
Posted: Thu Aug 03, 2006 9:19 pm Post subject:
postfix dovecot mysql issues
Subject description: Linux newb needs some guidance
|
|
|
I'm relatively new to the linux administration world. It was recommended to me to use postfix as a mail server. So, I installed it, along with dovecot, spamassassin, and clamd. I followed a guide for debian sarge and got postfixadmin installed, and it uses a mysql db to store mailbox users. My goal is to have several domains hosted on this one box, using virtual users.
I have it so I can receive and view emails in my 1 account. But I'm having two issues:
1) I can't send email through this server. I always get:
| Code: |
Aug 3 16:14:17 server042 postfix/smtpd[20752]: NOQUEUE: reject: RCPT from c-71-200-120-33.hsd1.xx.xxxxxx.net[xx.xxx.xxx.xx]: 550 <xxx@outsidedomain.com>: Recipient address rejected: User unknown; from=<user@domain.com> to=<xxx@outsidedomain.com> proto=ESMTP helo=<acerbox>
|
2) If I try to send emails from this server, say to an email that shouldn't be on this box, I get:
| Code: |
Aug 3 16:18:10 server042 postfix/local[20813]: 7DA0F1B78046: to=<joel.firestone@outsidedomain.net>, relay=local, delay=0, status=bounced (unknown user: "joel.firestone")
|
Now, testing with hotmail.com, or another domain not in my network, it sends properly. Sending to @outsidedomain.net tries to send it locally, altho the MX records for that domain don't point to it.
I hope this makes sense.
Here's the output of postconf -n:
| Code: |
alias_database = hash:/etc/postfix/aliases
alias_maps = $alias_database
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
disable_vrfy_command = yes
home_mailbox = Mailbox
html_directory = /var/www/html/postfix
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname, localhost.$mydomain
mydomain = shpizank.com
myhostname = guitarists.net
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /etc/postfix/README
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
show_user_unknown_table_name = no
soft_bounce = no
unknown_local_recipient_reject_code = 550
virtual_create_maildirsize = yes
virtual_gid_maps = static:89
virtual_mailbox_base = /var/spool/postfix/virtual
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 51200000
virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql_virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_maildir_limit_message = Sorry, the user's maildir has overdrawn his diskspace quota, please try again later.
virtual_minimum_uid = 89
virtual_overquota_bounce = yes
virtual_transport = virtual
virtual_uid_maps = static:89
|
Running saslfinger -s produces:
| Code: |
# saslfinger -s
saslfinger - postfix Cyrus sasl configuration Thu Aug 3 16:21:05 CDT 2006
version: 1.0
mode: server-side SMTP AUTH
-- basics --
Postfix: 2.2.10
System: Fedora Core release 4 (Stentz)
-- smtpd is linked to --
-- active SMTP AUTH and TLS parameters for smtpd --
No active SMTP AUTH and TLS parameters for smtpd in main.cf!
SMTP AUTH can't work!
|
Any/all guidance would be greatly appreciated. |
|