niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Apps » Postfix
postfix dovecot mysql issues
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
gnetcon
*nix forums beginner


Joined: 03 Aug 2006
Posts: 1

PostPosted: Thu Aug 03, 2006 9:19 pm    Post subject: postfix dovecot mysql issues
Subject description: Linux newb needs some guidance
Reply with quote

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.
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Thu Dec 04, 2008 7:32 am | All times are GMT
navigation Forum index » Apps » Postfix
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Postfix - Do not generate bounce messages in some cases. LaGatorVII Postfix 0 Wed Nov 26, 2008 2:56 pm
No new posts Postfix fatal authentication errors! JamesMaxwell Postfix 0 Tue Oct 28, 2008 3:37 pm
No new posts Postfix relay to specific domain and to everybody else golgotha Postfix 0 Thu Oct 23, 2008 11:11 pm
No new posts Postfix + Altermime on FC6 Not working simjith Setup 0 Sat Oct 11, 2008 3:06 pm
No new posts postfix smtp authentication using mysql stored user/pass rtresidd Postfix 0 Fri Oct 03, 2008 5:58 am

Debt Consolidation | Nora Roberts | Record Internet Radio with Tags | Arizona Flags | Loans
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1668s ][ Queries: 16 (0.0630s) ][ GZIP on - Debug on ]