Displaying 20 results from an estimated 66 matches for "postmap".
Did you mean:
portmap
2011 Oct 04
2
postmap: fatal: open database /etc/postfix/sasl_passwd.db: Permission denied
I'm trying to configure mail forwarding through Gmail
on CentOS 6 with postfix, following the blog
http://carlton.oriley.net/blog/?p=31
and I think the blog has missed the step:
# postmap /etc/postfix/sasl_passwd
- as I've seen in the /var/log/maillog:
postfix/smtp[1926]: fatal: open database /etc/postfix/sasl_passwd.db:
No such file or directory
postfix/master[1831]: warning: process /usr/libexec/postfix/smtp pid
1926 exit status 1
postfix/master[1831]: warning: /usr/libexec...
2013 Mar 12
1
Postmap command
Dear All
While setting up postfix, at one point I need to do
postmap /etc/postfix/transport
But I get the output as
*bash: postmap: command not found*
I was just wondering is it something I need to install separately.
Thanks
Austin
2016 Aug 22
3
Catch-all with LMTP and Postfix
...9;t exist: test at example.com (in reply to
RCPT TO command))
In the previous log example, test at example.com should have been forwarded
(aliased) to the virtual mail user.
Some config details:
[root at hostname postfix]# cat /etc/postfix/virtual
#########################################
#### Postmap this file after editing ####
#########################################
# Person who should get root's mail. Don't receive mail as root!
#root you
# Basic system aliases -- these MUST be present
MAILER-DAEMON postmaster
postmaster root
# General redirections for pseudo acco...
2010 Jul 02
1
do Dovecot userdb and passwd filles need to be postmap'd
Hi all
I am unsure if dovecot files like userdb and passwd
also need to be postmap'd
i.e.
postmap userdb
or
userdb passwd
when I use the typical data format for creating userdp
postmap outputs the error
> postmap
userdb...
2019 Apr 06
1
SMTPUTF8 support
On 5 Apr 2019, at 13:47, Andr? Rodier via dovecot <dovecot at dovecot.org> wrote:
>
>> root at portal:/etc/postfix# postmap -q andr?@homebox.space ldap:/etc/postfix/ldap-aliases.cf
>> andre at homebox.space
You have a solution that properly maps UTF to a non-UTF namespace. As I understand it, SMTPUTF8 uses a UTF8 namespace.
So, this would indicate SMTPUTF8
# postmap -q andr?@homebox.space ldap:/etc/postfix/lda...
2012 Jan 09
1
Postfix user map
http://hg.dovecot.org/dovecot-2.1/rev/f562bcaca215 implements "postmap"
type sockets, which follow Postfix's tcp_table(5) protocol. So you can ask:
get user at domain
and Dovecot answers one of:
- 200 1
- 500 User not found
- 400 Internal failure
So you can use this with Postfix:
virtual_mailbox_maps = tcp:127.0.0.1:1234
With Dovecot you can enab...
2006 Apr 30
1
Postfix /etc/aliases problem
...c/aliase s.db is older than source file /etc/aliases
Here's what I'm using
1. CentOS 4.3
2. Postfix as my MTA
3. Sendmail is still in the system
4. I used "system-switch-mail" to switch from sendmail to postfix.
Here's what I've done
1. newaliases
2. postalias aliases
3. postmap aliases
When I ran postmap I got errors. When I ran postalias it didn't give me
any errors. However, I'm not sure it's working because I still get the
database error in my logs.
What's going on here and how do I fix it?
- --
You can get my public PGP key at https://keyserver.pg...
2015 Dec 14
1
Postfix and LDAP
Hi Everyone,
I thought I'd try asking here before joining the postfix mail list
since I'm running postfix on a CentOS 7 box.
I want to look up accounts via LDAP (an IPA server also on CentOS 7). I
created an "ldap_aliases" file and successfully tested it with the
postmap command: I can get the email address for an arbitrary user.
But, when I add the very same file to main.cf, I don't see anything in
the normal or debug logs for postfix that would indicate postfix is
even trying to do a ldap lookup.
Here are the relevant configs:
# Virtual domains
virtual_mail...
2015 Feb 27
1
postfix ldap unknown user
Hi,
My config dovecot 2.2.13 Postfix 2.9.6 Debian wheezy
When I send a message to my user test (siroco) postfix said unknown user
But the user exist :
doveadm user siroco :
field value
uid 3002
gid 2000
home /var/spool/dovecot/mail/s/siroco
mail maildir:~/Maildir:LAYOUT=fs
postmap -vq siroco ldap:/etc/postfix/ldap_virtual_aliases.cf
return siroco
2 questions :
postfix search with siroco or with siroco at citoyens2015.marche.be ?
postmap must return siroco or siroco at citoyen2015.marche.be ?
And I don't know if I set for alias_maps, virtual_mailbox_maps,
virtual_ali...
2006 Jul 14
0
postfix conf for use external smtp
...elayhost = my.stmp.com
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_tls_security_options = $smtp_sasl_security_options
smtp_use_tls = yes
in
/etc/postfix/sasl_passwd
i have
my.smtp.com user:password
then i
postmap /etc/postfix/sasl_passwd
restart the postfix, but now i have this problem.
Jul 14 12:06:33 garron postfix/smtp[8510]: ECA31F3009D: to=<
ggarron at hotmail.com>, relay= my.smtp.com, delay=2, status=deferred
(Authentication failed: cannot SASL authenticate to server scz.alketech.com[
200.87.6...
2013 Jan 15
2
Using postfix in CentOS 6 to relay mails to First.Last@gmail.com
...69
balkan-preferans.de mail is handled by 100
static.103.78.9.176.clients.your-server.de.
balkan-preferans.de mail is handled by 10 preferans.de.
And at the both servers I have added:
# head /etc/postfix/virtual
@balkan-preferans.de First.Last at gmail.com
@videoskat.de First.Last at gmail.com
# postmap /etc/postfix/virtual
# postmap -q "@videoskat.de" /etc/postfix/virtual
First.Last at gmail.com
And have opened port 25 in the firewall:
# grep -w 25 /etc/sysconfig/iptables
-A INPUT -p tcp -m state --state NEW -m tcp -m multiport --dports
25,22 -j ACCEPT
But now when I send a mail to...
2018 Apr 26
1
Postfix config problem w/ tls
I have followed the guides on setting up postfix relay to my account at
network solutions.
I added these to main.cf:
inet_interfaces = localhost
relayhost = [mail.mydomain.com]:587
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/sasl_password
smtp_use_tls = yes
smtp_tls_CAfile = /etc/pki/tls/certs/sendmail.pem
The username and
2007 Jun 02
6
exec subscribe refresh not working
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I''m trying to figure out why exec{} which subscribes to a file, doesn''t
get triggered when the file is touched by puppet. I''ve got the following:
exec {
"/usr/sbin/postmap /etc/postfix/checks/access":
refreshonly => true,
subscribe => File["/etc/postfix/checks/access"];
"/usr/sbin/postmap /etc/postfix/checks/access_client":
refreshonly => true,
subscribe => File["/etc/postfix/checks/access_client&...
2012 Jun 08
1
dovecot ignores entries in virtual_alias_maps when using dovecot lda
...,
i need help. dovecot dont look into my virtual_alias_maps .
i set via postzfixadmin an alias postmaster at domain.tld to
newmail at domainother.tld.
when i send mails to postmaster at domain.tld mails are rejected. dovecot
authworker tells
me in log: user unknown.
but i can request the data via postmap -v -q postmaster at domain.tld
mysql:/etc/postfix/mysql_virtual_alias.cf
and get result "newmail at domainother.tld".
any ideas, hwo to get dovecot to look into my alias maps?
marko
2006 May 05
2
dovecot LDA w/virtual domains and postfix
...ten {
master {
path = /var/run/dovecot-auth-master
mode = 0600
user = vmail
group = mail
}
}
}
plugin {
}
However, I must be missing something. I get the following when trying to send
the user a message:
setuid(1015) failed: Operation not permitted
Doing 'postmap -q leah at frauerpower.com ldap:/etc/postfix/ldap-mailbox.cf'
returns 'frauerpower.com/leah/mail/' which, in the non LDA mode worked okay,
plonking the mail under /var/vmail/domains/frauerpower.com/leah/mail
How is this sort of thing normally set up? Apologies in advance for my
ign...
2017 Jul 20
1
Cron sending to root after changing MAILTO
Am 20.07.2017 um 16:57 schrieb Valeri Galtsev:
> ( and don't forget to: newaliases && postfix reload )
There is no need to reload Postfix after aliases_db changes and a
newaliases. Same applies for other hashed maps refreshed by postmap.
Alexander
2015 May 19
0
Can't achieve alias working with SQL
...vecot, I see that the user_query SQL , just
>> query for the "users" table and not the "forward" table so the final
>> alias user is not known.
>>
>> But when I check postfix for alias, it seems ok :
>>
>> root at cluster-dovecot:/etc/dovecot# postmap -q contact2 at XXXXXXXX.com
>> mysql:alias_maps contact at XXXXXXXXXX.com
>>
>> So what do I missed for alias working with dovecot ?
>>
> I had similar question on how to make it working, and it ended up being:
>
> virtual_alias_maps = mysql:/etc/postfix/mysql-virtu...
2009 Aug 18
0
alias does not work
...,
Thank you to everyone who helped me get near the goal. Remains a problem
is that aliases don't work.
The problem is that in the configuration of alternc, the mails are seen
as aliases in the form user_domain.tld. In a second time, a match is
made to see if an "real" alias exists.
postmap -q test at lists.test.net mysql:/etc/postfix/mydomain.cf
test-owner_lists.collectifs.net
postmap -q test-owner_lists.test.net mysql:/etc/postfix/myalias.cf
"| /var/lib/mailman/mail/mailman owner test"
With my configuration, this second part doesn't work. Perhaps the
simplest is to a...
2015 Feb 27
0
postfix ldap unknown user
Hi,
My config dovecot 2.2.13 Postfix 2.9.6 Debian wheezy
When I send a message to my user test (siroco) postfix said unknown user
But the user exist :
doveadm user siroco :
field value
uid 3002
gid 2000
home /var/spool/dovecot/mail/s/siroco
mail maildir:~/Maildir:LAYOUT=fs
postmap -vq siroco ldap:/etc/postfix/ldap_virtual_aliases.cf
return siroco
2 questions :
postfix search with siroco or with siroco at citoyens2015.marche.be ?
postmap must return siroco or siroco at citoyen2015.marche.be ?
And I don't know if I set for alias_maps, virtual_mailbox_maps,
virtual_ali...
2009 Apr 06
2
Sending a postfix email to my domain.
Hi,
I have setup postfix on my server (for my blog to send out emails) however I
host my email on google apps. I want my server to be able to send emails
towards my GoogleApps account but it's sending it to the user within the
system (I know this is normal but I need it to be a bit different).
Any Help
Thanks
James
--
http://www.astorandblack.com
-------------- next part --------------
An