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 send mail outside domain
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
anne_kleyheeg
*nix forums beginner


Joined: 23 Jul 2009
Posts: 1

PostPosted: Thu Jul 23, 2009 1:12 am    Post subject: Postfix send mail outside domain Reply with quote

I have a Debian - Postfix - Courier server.

When I use Outlook on my computer (same network as my server) it will send the email. When I'me outside my domain I cannot connect the smtp.

I use my domainname in Outlook to connect my mailserver.

When i send a email inside my domain it will be logged. But when i send emails outside mine domain it will not so I cannot see what the error is.


My ports redirect is OK.

Sorry for my bad english.

Here are mine configuration files

Main.cf (postfix)

myhostname = Server.localdomain
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = Server.localdomain, localhost.localdomain, , localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
html_directory = /usr/share/doc/postfix/html

virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:1001
virtual_mailbox_base = /usr/local/virtual
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 51200000
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 1001
virtual_transport = virtual
virtual_uid_maps = static:1001
# Additional for quota support
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql_virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = Sorry, the user's maildir has overdrawn his diskspace quota, please try again later.
virtual_overquota_bounce = yes

smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated

/pam.d/smtp

auth required pam_mysql.so user=???? passwd=???? host=localhost db=postfix table=mailbox usercolumn=username passwdcolumn=password crypt=1
account sufficient pam_mysql.so user=???? passwd=???? host=localhost db=postfix table=mailbox usercolumn=username passwdcolumn=password crypt=1

smtp.conf (postfix/sasl/)

pwcheck_method: saslauthd
mech_list: plain login
allow_plaintext: true
auxprop_plugin: mysql
sql_hostnames: 127.0.0.1
sql_user: ????
sql_passwd: ????
sql_database: postfix
sql_select: select password from mailbox where username = '%u@%r'


saslauthd (only data i change)

START=yes
OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd -r"
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 Fri Jul 30, 2010 2:51 am | All times are GMT
navigation Forum index » Apps » Postfix
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts unable to send emails from clients like thunderbird. hhamilton Postfix 0 Mon Jul 26, 2010 11:37 pm
No new posts Unable to send emails, postfix config issue. hhamilton networking 0 Mon Jul 26, 2010 8:20 pm
No new posts Postfix mail time out vanjre Postfix 0 Mon Jul 26, 2010 12:51 pm
No new posts domain alias email and acutal forwards nici0306 Postfix 0 Wed Jul 07, 2010 1:57 am
No new posts how to read the mail structure from command line ? naspar Postfix 0 Thu Jun 17, 2010 8:38 am

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.0914s ][ Queries: 14 (0.0444s) ][ GZIP on - Debug on ]