HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] How to increase resolution of sent fax



looking into it a little more I have discovered that postfix is ignoring the /etc/aliases file since I am using virtual domains using mysql. I tried to add the alias to the sql database but it does not work.
these are the lines from main.cf that are causing the system to ignore the aliases file as far as I can tell:


virtual_alias_maps = hash:/etc/postfix/virtual, mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf



Daniel Pennington Pennington Firearms (951)-757-9791 33610 Hayfield Circle Wildomar, CA 92595 www.penningtonfirearms.com www.auctions.penningtonfirearms.com

----- Original Message ----- From: "David Forrest" <drf@xxxxxxxxxxxxx>
To: "Dan Pennington" <hylafax@xxxxxxxxxxxxxxxx>
Cc: <hylafax-users@xxxxxxxxxxx>
Sent: Tuesday, November 11, 2008 6:27 AM
Subject: Re: [hylafax-users] How to increase resolution of sent fax




How does just sending a regular e-mail to the address work? You could just change the alias to your user name for a test. That might confirm a good portion of the setup if it works. Or use the current pipe alias and see what kind of error results. I'm just looking for some additional clues as I'm currently clueless, as often happens.


Dave



On Mon, 10 Nov 2008, Dan Pennington wrote:

I have followed the how to and it still does not work. still says unknown user.

main.cf

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = bitchxracing.com
mydestination = mailserver.bitchxracing.com, localhost.bitchxracing.com, localhost
relayhost = outgoing.verizon.net
mynetworks = 127.0.0.0/8; 10.0.0.0/24
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.bitchxracing.com.pem
smtpd_tls_received_header = yes
mydomain = bitchxracing.com
virtual_minimum_uid = 6060
virtual_gid_maps = static:6060
virtual_uid_maps = static:6060
virtual_alias_maps = hash:/etc/postfix/virtual, mysql:/etc/postfix/mysql_virtual_alias_maps.cf
#virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf, hash:/etc/postfix/virtual
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_transport = maildrop
virtual_mailbox_base = /var/vmail/
maildrop_destination_concurrency_limit = 2
maildrop_destination_recipient_limit = 1
broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_unlisted_recipient, check_recipient_access hash:/etc/postfix/reject_over_quota, check_recipient_access hash:/etc/postfix/rbl_recipient_exceptions, reject_rbl_client sbl-xbl.spamhaus.org
smtpd_hard_error_limit = 10
smtpd_soft_error_limit = 8
smtpd_helo_required = yes
smtpd_sender_restrictions = reject_non_fqdn_sender, reject_unknown_sender_domain
smtpd_data_restrictions = reject_unauth_pipelining
transport_maps = hash:/etc/postfix/transport
vacation_destination_recipient_limit = 1


/etc/postfix/virtual

@sendfax mail2fax
@sendfax.bitchxracing.com mail2fax

/etc/aliases

# /etc/aliases
mailer-daemon: postmaster
postmaster: root
nobody: root
hostmaster: root
usenet: root
news: root
webmaster: root
www: root
ftp: root
abuse: root
noc: root
security: root
logcheck: root
amavis: root
clamav: root
mail2fax:|/usr/local/bin/mail2fax.sh



Daniel Pennington
Pennington Firearms
(951)-757-9791
33610 Hayfield Circle
Wildomar, CA 92595
www.penningtonfirearms.com
www.auctions.penningtonfirearms.com


<snipped>




David Forrest                     e-mail   drf@xxxxxxxxxxxxx
Maple Park Development Corporation  http://www.maplepark.com
St. Louis, Missouri


____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




____________________ HylaFAX(tm) Users Mailing List _______________________
 To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
 *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions