icon Learn how to get the most out of Surmunity - read our forum tips here! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » Private Hosting » Postfix Help?

Private Hosting Questions about VPS, dedicated servers and colocation.

Reply
 
LinkBack Thread Tools Search this Thread
Old March 13th, 2008, 10:22 AM   #1 (permalink)
DemonicAngel
Super #1
 
twirp's Avatar
 
Joined in Aug 2004
Lives in Wherever The World Takes Me
Hosted on Pass76
1,775 posts
Gave thanks: 24
Thanked 32 times
Postfix Help?

So I can login and send e-mails, but I don't receive e-mails.
I haven't gotten a mail delivery notice yet, but it's not in my inbox.
So I'm looking through the mail logs in hopes of finding something, but any help or advice is appreciated.

I've setup the virtual e-mail thing where postfix uses MySQL and runs under one user...
I'll try to post more as I dive into looking at stuff.

Just to make sure it's configured correctly, my BIND record should look something like:
Quote:
mail.domain.net. IN A IPADDR
domain.net. IN MX 0 mail.domain.net
__________________
You wear Vans so high school kids will think that you can skate. He wears Vans because he can skate. TwiRp wears Vans because they were on sale. Pass76 wants Vans.
twirp is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 16th, 2008, 12:03 PM   #2 (permalink)
DemonicAngel
Super #1
 
twirp's Avatar
 
Joined in Aug 2004
Lives in Wherever The World Takes Me
Hosted on Pass76
1,775 posts
Gave thanks: 24
Thanked 32 times
I think it's getting e-mails, but not putting them in the Inbox?...

This is what the mail log had when I tried sending an e-mail from gmail to my domain:
Quote:
Mar 16 11:50:55 tails postfix/smtpd[29734]: connect from wx-out-0506.google.com[66.249.82.238]
Mar 16 11:50:55 tails postfix/smtpd[29734]: 1A4DE708A4C: client=wx-out-0506.google.com[66.249.82.238]
Mar 16 11:50:55 tails postfix/cleanup[29738]: 1A4DE708A4C: message-id=<9859bcce0803160851k71583366o26403485ef7c88dma il.gmail.com>
Mar 16 11:50:55 tails postfix/qmgr[19766]: 1A4DE708A4C: from=<mwalliogmail.com>, size=1765, nrcpt=1 (queue active)
Mar 16 11:50:55 tails clamsmtpd: 100003: accepted connection from: 127.0.0.1
Mar 16 11:50:55 tails postfix/smtpd[29741]: connect from localhost[127.0.0.1]
Mar 16 11:50:55 tails postfix/smtpd[29741]: 346E7708A50: client=wx-out-0506.google.com[66.249.82.238]
Mar 16 11:50:55 tails postfix/cleanup[29738]: 346E7708A50: message-id=<9859bcce0803160851k71583366o26403485ef7c88dma il.gmail.com>
Mar 16 11:50:55 tails postfix/qmgr[19766]: 346E7708A50: from=<mwalliogmail.com>, size=1990, nrcpt=1 (queue active)
Mar 16 11:50:55 tails postfix/smtp[29739]: 1A4DE708A4C: to=<mileslost-whisper.com>, relay=127.0.0.1[127.0.0.1]:10026, delay=0.19, delays=0.06/0.01/0.06/0.06, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 346E7708A50)
Mar 16 11:50:55 tails postfix/qmgr[19766]: 1A4DE708A4C: removed
Mar 16 11:50:55 tails clamsmtpd: 100003: from=mwalliogmail.com, to=mileslost-whisper.com, status=CLEAN
Mar 16 11:50:55 tails postfix/smtpd[29741]: disconnect from localhost[127.0.0.1]
Mar 16 11:50:55 tails postfix/local[29743]: 346E7708A50: to=<mileslost-whisper.com>, relay=local, delay=0.08, delays=0.05/0.01/0/0.02, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
Mar 16 11:50:55 tails postfix/qmgr[19766]: 346E7708A50: removed
My main.cf for Postfix is:
Code:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

content_filter = scan:127.0.0.1:10026
receive_override_options = no_address_mappings

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = tails.hikayo.net, localhost, localhost.localdomain
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
myhostname = tails.hikayo.net
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = "The user you are trying to reach is over quota."
virtual_overquota_bounce = yes
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
inet_interfaces = all
inet_protocols = all
The problem was fixed...
I needed to add:
Code:
home_mailbox = Maildir/
To the main.cf file >.<
__________________
You wear Vans so high school kids will think that you can skate. He wears Vans because he can skate. TwiRp wears Vans because they were on sale. Pass76 wants Vans.
twirp is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On