OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
(no subject)

isidaggersden.net
Date: Fri Jul 29 2005 - 08:34:28 CDT


Hi everyone,

I found many entries about this in the web archive and on google but none
seemed to fix the problem.

I have a working mail server that has been up for about a year with littl=
e
or no trouble. Very stable with little change in any configuration.=20
Recently i upgraded to postfix 2.2.5 and setup my configs to allow for
virutal delivery.

From that point on I am unable to send from a remote imap or pop client.=20
On the server I also have squirrelmail running. I can use sqmail in all
ways (login, send, receive, etc.). It is when I try to send mail from my
mail client (thunderbird) that i get an error message in the logs. (note
that i can receive mail in my mail client just fine via courier-imap).

Error-msg: /var/log/maillog
----------
Jul 28 21:49:52 abaddon imapd: Connection, ip=3D[::ffff:67.33.138.122]
Jul 28 21:49:55 abaddon imapd: LOGIN, user=3Disidaggersden.net,
ip=3D[::ffff:67.33.138.122], protocol=3DIMAP
Jul 28 21:50:41 abaddon postfix/smtpd[28831]: connect from
adsl-33-138-122.asm.bellsouth.net[67.33.138.122]
Jul 28 21:50:42 abaddon postfix/smtpd[28831]: NOQUEUE: reject: RCPT from
adsl-33-138-122.asm.bellsouth.net[67.33.138.122]: 554
<lunitiusyahoo.com>: Relay access denied; from=3D<isidaggersden.net>
to=3D<lunitiusyahoo.com> proto=3DESMTP helo=3D<[192.168.2.245]>
Jul 28 21:50:48 abaddon postfix/smtpd[28831]: lost connection after RCPT
from adsl-33-138-122.asm.bellsouth.net[67.33.138.122]
Jul 28 21:50:48 abaddon postfix/smtpd[28831]: disconnect from
adsl-33-138-122.asm.bellsouth.net[67.33.138.122]

Config Data: /etc/postfix/main.cf
-------
myhostname =3D smtp01.purecomputing.net
mydomain =3D purecomputing.net
inet_interfaces =3D $myhostname, localhost
mydestination =3D localhost
relay_domains =3D $mydestination

# receipt rules
smtpd_helo_required =3D yes
disable_vrfy_command =3D yes

# smtpd recipient restrictions
smtpd_recipient_restrictions =3D
    reject_invalid_hostname,
    reject_non_fqdn_hostname,
    reject_non_fqdn_sender,
    reject_non_fqdn_recipient,
    reject_unknown_sender_domain,
    check_sender_mx_access hash:/etc/postfix/mx_access,
    reject_unknown_recipient_domain,
    check_recipient_mx_access hash:/etc/postfix/mx_access,
    permit_mynetworks,
    reject_unauth_destination,
    check_policy_service inet:127.0.0.1:2501
    check_recipient_access pcre:/etc/postfix/recipient_checks.pcre,
    check_helo_access hash:/etc/postfix/helo_checks,
    reject_rbl_client relays.ordb.org,
    reject_rbl_client opm.blitzed.org,
    reject_rbl_client list.dsbl.org,
    reject_rbl_client sbl.spamhaus.org,
    reject_rbl_client cbl.abuseat.org,
    permit

# smtpd data restrictions
smtpd_data_restrictions =3D
    reject_unauth_pipelining,
    permit

# Transport Maps
transport_maps =3D hash:/etc/postfix/transport

# Virtual Accounts
virtual_alias_maps =3D hash:/etc/postfix/virtual,
hash:/etc/postfix/virtual_alias,
mysql:/etc/postfix/mysql_virtual_forwards.cf
virtual_mailbox_domains =3D mysql:/etc/postfix/mysql_virtual_domains.cf
virtual_mailbox_maps =3D mysql:/etc/postfix/mysql_virtual_mailboxes.cf
virtual_mailbox_base =3D /home/users/vmail
virtual_uid_maps =3D static:5003
virtual_gid_maps =3D static:5003
virtual_minimum_uid =3D 5003
virtual_mailbox_limit =3D 51200000

Config Data: /etc/postfix/virtual (also ran postmap virtual after editin=
g)
# daggersden.net catchall
daggersden.net isidaggersden.net

Config Data: /etc/postfix/virtual_alias

Config Data: /etc/postfix/mysql_virtual_domains.cf
user =3D postfix
password =3D #######
hosts =3D localhost
dbname =3D postfix
table =3D domains
select_field =3D 'virtual'
where_field =3D domain

mysql> select * from domains;
+-------------------+
| domain |
+-------------------+
| daggersden.net |
| purecomputing.net |
+-------------------+
2 rows in set (0.00 sec)

I am uncertain what other config data might be helpful and will post as
needed to keep the initial email as brief as possible.

Thanks,

-- Isi